Tuesday, October 2, 2007

iTunes 7.3 on Linux with Wine

This Page Has Been Moved: Please Note the New Location Below

We restructured the whole site and this page no longer exists on this location. The page that your looking for has been moved to a different Web address on the new and improved Wine-Reviews.net Site:

http://www.wine-reviews.net/ or the original post


Click on the link above to go to the new location. (To maintain accessibility, we have not set up automatic redirection to the new page.) If you have a bookmark to the old page, please change it to the new address above. If you followed a link from another Web site to this page, please let the people responsible for that Web site know the new location above. If you are having trouble finding the information you want, do a search on this article at our new site.

Thanks for your understanding and Sorry for the inconvenience.

The Editors at Wine-Reviews

63 comments:

jimbo said...

I happened to install iTunes on my laptop running kubuntu 7.04 over the weekend, really just on a hope and a prayer that it would work. I had partial sucess, and I'm wondering if you ran into the same problem.

When I try to connect to the iTunes music store, I get the following error:
"itunes could not connect to the itunes store. An unknown error occured (11333). crossover"

I have no connectivity problems at all, and I'm not sure why this should be coming up.

One thing I didn't do that you did do was go into quicktime and do any configurations there. I'll take a look at that when I get home, but I don't remember seeing anything network-related in the iTunes configurations that seemed relevant.

Did you run into anything like this, or do you have any thoughts on it?

On the one hand I'm stoked because I managed to more or less do the same thing you did on my own. Maybe I'm not such a noob after all.

jimbo

Lorenzo said...

Very nice. Thanks for blogging this. Now I just need to figure out how to get my iPod detected and I'm in business...

Anonymous said...

Great! Thanks for the post. I always wanted to get iTunes running under Wine.

Can you please comment on the following:

How stable is iTunes under wine?
Can you burn CD's with iTunes under Wine?

And you mention you need the richedit30 update. Where do you get that?

Rob

twickline said...

Jimbo,

"itunes could not connect to the itunes store. An unknown error occured (11333). crossover"


This looks suspicious are you using Wine or CrossOver?

twickline said...

Rob,

(Q) How stable is iTunes under wine?

(A) It hasn't never crashed, it uses a fair amount of the processor, but this can be mitigated with turning off debugging.

(Q) Can you burn CD's with iTunes under Wine?

(A) I've not tried to burn a CD yet, so I'm not really sure.

(Q) And you mention you need the richedit30 update. Where do you get that?

(A) richedit 3.0 update link

Brent said...

Hi

I'm having problems during the install, the installer sticks at "Publishing product information" and the console is repeatedly saying

fixme:msi:ACTION_CustomAction msidbCustomActionTypeNoImpersonate not handled
fixme:msi:ACTION_CustomAction Rollback only action... rollbacks not supported yet
fixme:msi:ACTION_CustomAction msidbCustomActionTypeNoImpersonate not handled
fixme:msi:ACTION_CustomAction msidbCustomActionTypeNoImpersonate not handled
fixme:msi:MsiGetMode 1 5

Any idea?

I am running

Ubuntu 7.04
iTunes 7.3.0.54
wine 0.9.41

Can you tell me if you had this error or exactly what versions you are running so I can investigate please.

Many thanks for your post.

twickline said...

Brent,

You will need Wine 0.9.45 or newer to install iTunes.

Subflux said...

Does this work with iPods?

Brent said...

Thanks, it installed but things aren't perfect, but it seems it's getting close to a useful iTunes setup.

:-)

I'll have a play around to see if I get any better joy with other versions of iTunes.

Many thanks

Brent

Adrian said...

I was able to install and run iTunes successfully ... thanks! However I can't sync my iPod. I'm using Wine 0.9.46, Ubuntu 7.04 and iTunes 7.4.3

Has anyone gotten their iPod successfully recognized by iTunes?

Mentalimages said...

I've followed this walkthrough and got iTunes 7.3 installed. The only problem is that my iPhone is not being recognized by iTunes. Am I missing something here? Anybody get their iPhone/iPod to show up?

halowars said...

You mention that you can turn off debugging and get increased performance. How do you do this?


Thanks for the post, iTunes works it is just really slow.

twickline said...

Hello halowars,

To turn off debugging do this.

$ WINEDEBUG=-all wine iTunes.exe

Johhny said...

Can anyone help with this? I think it might be something basic and non-wine related.. When I execute the itunes installer I get this
'fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls"'

Then I'm told 'This iTunes installer requires that your computer is running Windows XP or Windows Vista'
I hit ok, the installer window pops up saying it failed.

Thanks in advance.

twickline said...

Hello Johhny,

run winecfg and then set Wine to emulate Windows XP.

What version of iTunes are you trying to install? version 7.3 is the last version that runs on windows 2000 and Wine defaults to W2K that's one reason why the Tutorial covers 7.3 and not a higher version.

Cheers,

Tom

Johhny said...

GAR!! Can't believe I missed that 2000 was default setting...Thanks for pointing it out.

Now I'm stuck trying to get a network connection, I ran the diagnostics and it has net and store connections but crucially no network. No tunes!

I have the most recent versions of everything. For extra luck :)

Thanks for your help and a good site in general.

jimbo said...

turns out I was using an old version of wine, and didn't even think about it. I pulled my head out and followed all steps again, and iTunes installed without an issue. I'm able to connect to the store and almost all is well.

The only thing i'm missing is connecting to my iPod Nano using iTunes.

Thoughts?

Anonymous said...

re: iTunes: Error 11333 when connecting to iTunes Store or activating iPhone.

see:
http://docs.info.apple.com/article.html?artnum=306628

Anonymous said...

Works very well - until I try to connect to the iTMS.

Get some message about not being able to connect and to check my SSL3.0/TLS1.0.

Assuming that had something to do with the relates error message I downloaded the latest Entrust certificates from the Apple site - but have no idea how and where they should go now.

Can anybody enlighten me?

Thanks!
Mike

twickline said...

Hello,

I tested iTunes with Wine 0.9.45 and if Wine is its normal self there will be regressions from time to time...... If you cant figure out whats going on move back to 0.9.46 or 0.9.45 and try it.

Tom

Jimbob14813 said...

I see that you have to have wine 0.9.45 or higher for this, I have 0.9.33, how can I find an upgrade?

twickline said...

Hello Jimbob14813,

You can find source and binary downloads at the WineHQ Download page.

Anonymous said...

I am running wine 0.9.47 (Windows version set to XP) and using iTunessetup.exe 7.3. I cannot get past the initial install - I keep getting the 'itunes requires quicktime' error and the install exits.

Does this indicate I've missed a step somewhere? I've run the installer several times to see if it will get past this, but it never does.

Any suggestions?

twickline said...

am running wine 0.9.47 (Windows version set to XP) and using iTunessetup.exe 7.3. I cannot get past the initial install - I keep getting the 'itunes requires quicktime' error and the install exits.

----

7.3 is for Windows 2000 any version higher then 7.3 is for XP.

My suggestion is to change the windows version back to 2000 and try it again.

Anonymous said...

twickline;

No go - still get the same error.

Can Quicktime be installed outside of iTunes? Would it make any difference?

twickline said...

Yes QT can be installed as a stand alone app.. I have a post about it here. As for the difference it would make, im not sure I dint try it that way around. It may be worth a try tho... I would try QuickTime 7.1.6 myself.

Dan said...

Thanks so much for this guide. I have iTunes installed no problem, I just have two questions:

1) I need to turn off debugging, but I'm no sure where to use this code:

$ WINEDEBUG=-all wine iTunes.exe

I tried putting it in terminal with the $ (no such command) and with out the $ (doesn't work)

What am I doing wrong?

2) The font for everything in iTunes is bold for some reason, even though nothing else run under wine is rendered like that. Any ideas?

Anonymous said...

Hi,

thanks for the How-to. I managed to install iTunes (7.4 BTW) and it seems to run fine including accessing and purchasing from the music store. However, whenever I start iTunes, it complains that registry settings used by the drivers for importing and burning CD are missing.

Sure enough, I don't seem to be able to read any audio CD or burn tracks to a CD. Any hints? I configured the cdrom using winecfg on drive e:

Thanks in advance,

Riko

twickline said...

Hello Dan,

1)

$ WINEDEBUG=-all wine iTunes.exe

should be correct

2) in wine 0.9.47 A Tahoma replacement font was added to Wine. maybe you can use a native windows Tahoma font. there is a download for this font on the blog.. just use the search at the top to find it.

twickline said...

Hello Riko,

I havent tried burning to CD's with iTunes , is your CD mounted when you try to read from it? I would think reading from a CD would work in iTunes.

Anonymous said...

Yes, it is mounted! This is on Ubuntu 6.06 LTS with wine 0.9.46. The cd is automounted when inserted.

Cheers,
Riko

Dan said...

Hello twickline,

I put used the command listed in the terminal and this is what I get:

dan@dan-laptop:~$ sudo WINEDEBUG=-all wine iTunes.exe
sudo: WINEDEBUG=-all: command not found
dan@dan-laptop:~$

I just switched to Ubuntu a week ago so please bear with me here... What am I doing wrong?

Thanks again.

twickline said...

Hello Dan,

You need to leave sudo out!

example:

tom@tom:~/xbill/xbillbin$ WINEDEBUG=-all wine xbill.exe
tom@tom:~/xbill/xbillbin$

The greatest game of all time xbill :D

You will also need to be in the install directory when you run wine.

Anonymous said...

Hi everyone,

I got 1 step closer, after
creating the following drives:

d:: -> /dev/hdc
e: -> /dev/cdrw
f: -> /media/cdrom0/

changing the ownership of all of them to my username and in the Advanced Settings of the drives tap in winecfg set them to "CD-ROM".

I still get an error message from winecfg when accessing the drives tap:

> winecfg
err:winecfg:load_drives GetVolumeInformation() for 'E:\' failed, setting serial to 0
err:winecfg:load_drives GetVolumeInformation() for 'F:\' failed, setting serial to 0
>

Now, iTunes recognizes the drive, because it tells me that a blank disc is in the drive and how I can create an audio cd. However, when trying that, it tell me that "No disc recording found ...".

This is in a clean .wine dir with only itunes installed. Do I need some standard XP burning engine or something?

Thanks,

Riko

PS: I don't care about importing CD, I just want to burn my purchases an a CD!

Rob said...

I was able to get iTunes 7.5 to install on Ubuntu Gutsy 7.10 and it was relatively painless. At least, the installation went well. But it won't run iTunes.

When I start it from the wine applications menu, I get a "Starting iTunes" tab in the gnome panel, so I know it's trying to do something, but then it just vanishes.

When I start it from command line using "wine ~/.wine/drive_c/Program\ Files/iTunes/iTunes.exe" it just drops right back to the command line and doesn't do anything, not even an error message.

Any ideas?

twickline said...

Hello Rob,

Sorry no idea.. when I find some free time I will try 7.5

UnrulyGrrl said...

I tried v7.5 as well, also with Ubuntu (Gutsy Gibbon - 7.10) and had the same problem. When I run it manually, i get:

me@taz04 ~ $ wine .wine/drive_c/Program\ Files/iTunes/iTunes.exe

fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsof t.Windows.Common-Controls"
fixme:htmlhelp:HtmlHelpW HH case HH_INITIALIZE not handled.
fixme:heap:HeapSetInformation 0x1ac0000 0 0x34f514 4
fixme:win:EnumDisplayDevicesW ((null),0,0x34e9b0,0x00000000), stub!
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x135a00)->((nil),00000008)
fixme:font:CreateScalableFontResourceA (0,"c:\\windows\\QTFont.for","c:\\windows\\QTFont.qfn",(null)): stub
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x10028 0x00000000

and then it just sits there until I kill it. i never see the itunes logo or anything.

if anyone has any suggestions, that would be great. thanks

Anonymous said...

Hooray! Everything worked, it crashed once on install like you said, but ran it again and had no problems. Thanks.

twickline said...

Version 7.5 Will NOT work.... that is why this is a 7.3 guide and not a 7.5 guide.

Rob said...

twickline said "Version 7.5 Will NOT work.... that is why this is a 7.3 guide and not a 7.5 guide."

If the guide was in fact written for 7.3 in the presence of 7.5, it should have stated where do download 7.3 and not linked to the download page for 7.5. So, it seems pretty clear, that's not the case. The guide appears to be written for the latest version at that time, and linked the download page for latest version.

Version 7.3 is no longer available, and if it is the last known version to work on Linux, pointing to where it can be obtained would be appreciated.

twickline said...

Rob,

I pointed to the top most page on file hippo for ITunes.... I'm sorry some people are so stupid they cant find the 7.3 download on that page.. But for these people I have changed the link to point to 7.3 and not the top most directory.

"iTunes 7.3 on Linux with Wine"

Where does it say 7.5?

Once again 7.5 wont work!

Paul said...

twikline:

Great blog on how to get 7.3 iTunes working with Wine on Linux! I'll have to try this when I get home. Currently, I'm trying to get all of my computers to run Linux as it has FREE open source software. (That and my mom almost broke down crying when I told her that the boxes containing $300 to $500 of software were no longer able to be run on today's computers... O.o)

Anyways, I wanted to ask you if you had used Banshee yet. It's a media player program that runs natively in Linux and is able to support many different audio codecs as well as iPod integration. This seems to be the closest to a Linux native iTunes I've seen so far, but still lacks the iTunes Music Store. When I get home, I'm going to try out iTunes and Banshee and see if I can pull over iTunes music from the store to sync with my iPod via Banshee. Your thoughts?

Paul

twickline said...

Hello Paul,

Ive never tried Banshee so im not sure how well it works.If you run into trouble there is a banner ad for CodeWeavers at the bottom of each page, plugging there gaming support. They also support ITunes and syncing with iPods as well.. and have a nice support system.

You can get there via the Ad or via a google search ;) clicking the Ad is just a small way of supporting this blog.

Tom

Phill said...

I am having the same problem in that Wine tries to start iTunes, but then it crashes before even loading.

- I can confirm that I downloaded iTunes 7.3. I confirmed this by opening the "About iTunes" file, which talks all about iTunes 7.3

- I have run the richedit30.exe update

- I have set riched20.dll and riched30.dll to Native only.

- I have Wine set to Windows 2000, although have also tried in WinXP for the same result.

- I have Wine set to run in its own virtualised desktop.

The output from the command line that I see is:

phillc@phillc-laptop:~/.wine/drive_c/Program Files/iTunes$ wine iTunes.exe
fixme:htmlhelp:HtmlHelpW HH case HH_INITIALIZE not handled.
fixme:dsound:mmErr Unknown MMSYS error 2
fixme:font:CreateScalableFontResourceA (0,"c:\\windows\\QTFont.for","c:\\windows\\QTFont.qfn",(null)): stub
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x20030 0x00000000

I am running Ubuntu Gutsy 7.10

XStylus said...

Hi, Phill

I ran into this problem when I updated my version of Wine to 0.9.51. The newest version has a bug that prevents most iTunes versions (including 7.3) from running. Downgrade to 0.9.50 in the meantime if you need to use iTunes.

SteveS said...

I'm not getting past the loading of Quicktime. I get the error shown in jimbo's screenshots where he says to try again, but 10 tries and no luck. Setup:
--Mandriva 2008
--iTunes 7.3 from FileHippo (verified)
--Wine 0.9.47 (don't have 45 available for my distro)
--Wine configured for virtual desktop and the OSS driver.
--riched20 and riched32 set for native
--original riched20/riched32.dll changed to *.bak
--richedit30 update downloaded from codeweavers and ran. Verified that new riched20.dll and riched32.dll showed up under ..system32.

I am getting something different that I haven't seen others show in this blog:
err:msi:call_script Could not find CLSID for Windows Script

Help! Any ideas?? My wife got a ipod for xmas and if I don't get this working, she will force me off of Linux and back to !!!dows

Development Projects said...

As per some previous posts... You can get iTunes 7.4.3 (and purchase music on the store) running in wine, but you need version 0.9.51. You can go to www.winehq.org and get the debs for Ubuntu or other distro's...

Installing riched20.dll and riched32.dll doesn't work on the new wine on my kubuntu Gutsy install -- so I copied them over from my windows machine.... installed -- and everything worked fine. YMMV.

Daniel said...

I have got this all installed and running nicely however when trying to create a new i tunes account it will only allow a US account. Trying to switch to UK account dumps you out of the new user forms and back to the US i-tunes store!

Anyone know what might be causing this? regional settings in wine perhaps?

Anonymous said...

Having same problem as Daniel above. iTunes refuses to switch to the UK store. Keeps dumping me in US. Anyone make any progress with that?

Otherwise works great. Thanks!

Ubuntu Gutsy on AMD64 with Wine 0.9.54.

Adam said...

thank you for a useful tutorial!

pnoymyke said...

i need help plz.. everything runs properly and everything. but my itunes wont recognize my ipod. can anyone help me. i went threw all the comments and i see some people are having the same problem but still no answer. help

Anonymous said...

I have wine-0.9.56 and installed and am running itunes 7.6. Plays just fine.. but itunes store won't work.. or any network access for that matter.. login or the like.. not sure if it's a wine config issue or otherwise.. it also doesn't recognize my iphone.. but at least we're getting there with itunes on linux.

Damion said...

I had a similar issues as the anoymous above me. I installed iTunes 7.6 with wine .9.56. I was able to install fine. I was even able to run iTunes, but it would not connect to the store. I installed Firefox in wine to make sure the internet worked. I was able to visit websites in Firefox under wine. Another weridness was Quicktime didn't run it just died.

I decided to downgrade to 7.3 like the tutorial and have the same issues. However, Quicktime does run.

In summary, I can't connnect to the iTunes store in any version even though the internet under wine does work. I would like to use 7.6 if possible to keep iTune in linux in sync with my Windows partition.

Anonymous said...

I installed iTunes 7.6.1 with wine .9.57. I am able to run iTunes and connect to the US store. But I am unable to change the store.

Ollie said...

I can't seem to keep my iTunes window minimized... Every time I minimize the window, it opens itself again a few seconds later...
Does anybody know how to fix this? Or is it just a flaw with iTunes & Wine?

James said...

I'm currently trying to install the newest iTunes (iTunes 7.6.2.9) on Fedora Core 8. I have a virtual box running XP which runs iTunes perfectly. I would like to be able to access and stream music from my network but the virtual box's IP is very different then the standard network IPs. (I believe this is because it uses a virtual IP address but I could be wrong - I am fairly new to Linux).

Right now my installation appears to be stuck...

I'll post an update with any progress I make.

Anonymous said...

I recently installed iTunes 7.6.2 on my Ubuntu 7.10 system. I did get the black screen, so I tried to open Quicktime to change the GDI settings as suggested but Quicktime crashed when opened.

To fix this issue I had to put the gdiplus.dll file in ~/.wine/drive_c/windows/system32 and then I was able to open Quicktime without crashing, open the preferences, and set it to use the lesser graphics. After this, iTunes and Quicktime would open just fine and there was no black screen. I pulled the dll from my Windows XP machine, but you can just google for the dll and download it.

Unfortunately, now whenever I opened iTunes I received this error about a registry key being bad:

"Warning! The registry settings used by the iTunes drivers for importing and burning CDs & DVDs are missing. This can happen as a result of installing other CD burning software. Please reinstall iTunes."

I did some google searches and eventually ran across this article in the Apple knowledge DB:

http://docs.info.apple.com/article.html?artnum=302976

So I went to my Windows box, found the registry key, and exported it (MAKE SURE TO EXPORT IN NT COMPATIBLE MODE...Wine cannot read Unicode registry keys!). Then I copied this to my Ubuntu system, opened regedit in Wine, and imported the key. No more warning messages now. :)

I haven't tried burning a CD yet but I was able to sign in to the store without issues. I didn't try downloading music yet, but the store itself seems to work. I didn't plug in my ipod either. I decided not to bother with iTunes under wine because...

As for the performance, well itunes seems to be stable under Wine now, but it is HORRIBLY slow. Running in mini mode tends to be slightly better, but if I open a browser or even a terminal window, the audio starts skipping/lagging. So basically you can use it as long as you're not using the system for ANYTHING else at the time. Also, when it changes tracks it may lag a little. It was able to successfully locate music on my Mac, authenticate (when I typed in my password), and play the music in my Mac's library though.

Bottom line, performance just isn't up to par yet. Keep a Windows box (or Mac!) around, install a Windows VM, or do something if you really want iTunes. As of right now it's too slow in Wine to be considered reasonable for my tastes.

Anonymous said...

Anybody, any luck with connecting iPod Touch through iTunes via Wine or something else in Linux?
I am looking for a way to put/delete (or sync) files on my iPod Touch using Asus EeePC (usb or wifi adhoc). Are there any success stories out there, since all I have read so far is just failures? Any help will be appreciated.

Hammerwalk said...

I am running Mandriva 2008, wine 0.9.61 installed and iTunes 7.3 as your suggested on the site at the beginning of the blog. I ran the riched30 update and started the iTunes setup with no problems at first, then everything came to a grinding halt with an error stating that QucikTime could not be installed and that QuickTime is required for iTunes. So I went out to find the version of quick time that you had suggested, and it failed doing a plain QT install. Any ideas?

twickline said...

You could chance the version Wine emulates from XP to win2k, Wine is set to XP by default now.

Anonymous said...

Hi great blog and examples.
I have Wine and iTunes working well but cannot get iTunes to find my iPod.
Does anyone have the same problem or is it just me. Any suggestions?

Thank's Mark

Anonymous said...

Excellent.

But.. Very very slow, unusable.

BTW, on a top command, while itunes is being used, is Xorg the one using 99% of processor.

Thanks, CH!

intrepid said...

Hi
I just moved from WinXP to Ubuntu 8.04, 'cause Xp suddenly would not boot.
I had some problems with installing this at first, having to reinstall Ubuntu all over again, but now the second time.. It works!!!
I am using Wine that you can add through Add/Remove.
I use the iTunesSetup that you linked to.

Everythings works properly, just i little slow on the respone when I am trying to change playlist and track played.

But I can't make my iPod connect to iTunes :-(