https://bugs.winehq.org/show_bug.cgi?id=40743
Bug ID: 40743 Summary: iTunes: Doesn't run. Product: Wine Version: 1.9.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: orenjuice@yahoo.com Distribution: ---
Error: iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 126)
https://bugs.winehq.org/show_bug.cgi?id=40743
orenjuice@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu Severity|critical |normal Keywords| |download, win64 URL| |https://appdb.winehq.org/ob | |jectManager.php?sClass=vers | |ion&iId=31322&iTestingId=93 | |965
--- Comment #1 from orenjuice@yahoo.com --- I receive this error when opening iTunes 12.1.3 64 bit.
https://secure-appldnld.apple.com/itunes12/031-34005-20150916-98D38F1E-5C11-...
https://bugs.winehq.org/show_bug.cgi?id=40743
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #2 from super_man@post.com --- Doesnt work with wine-staging 1.9.12 either.
https://bugs.winehq.org/show_bug.cgi?id=40743
orenjuice@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |orenjuice@yahoo.com
https://bugs.winehq.org/show_bug.cgi?id=40743
--- Comment #3 from orenjuice@yahoo.com --- The exact version is 12.1.3.6.
https://bugs.winehq.org/show_bug.cgi?id=40743
jimjo somewise@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |somewise@gmx.de
--- Comment #4 from jimjo somewise@gmx.de --- Same here running wine 1.9.24 and iTunes 12.5.3.16 x64 Do you need any debug trace?
https://bugs.winehq.org/show_bug.cgi?id=40743
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24@gmail.com
--- Comment #5 from Alex Henrie alexhenrie24@gmail.com --- Created attachment 56522 --> https://bugs.winehq.org/attachment.cgi?id=56522 WINEDEBUG=+module,+loaddll
I'm having the same problem with iTunes 12.5.4.42 x64. The 64-bit executable is trying to load some 32-bit libraries, which fails. A trace is attached.
https://bugs.winehq.org/show_bug.cgi?id=40743
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords| |Installer
--- Comment #6 from Alex Henrie alexhenrie24@gmail.com --- It looks like the iTunes installer is mistakenly installing the 32-bit version of Apple Application Support instead of the 64-bit version. I was able to work around the bug by going into `wine control appwiz.cpl`, uninstalling "Apple Application Support (32-bit)", and repairing "Apple Application Support (64-bit)". After that iTunes starts, although the interface is unusable (bug 40748).
https://bugs.winehq.org/show_bug.cgi?id=40743
--- Comment #7 from somewise@gmx.de --- Works for me. Before I have noticed that the Apple Application Support dlls are put in '/Program Files (x86)/Common Files' instead of 'Program Files/Common Files/' on my 64 bit Windows 10. So I extracted AppleApplicationSupport64.msi from iTunes6464Setup.exe. It is a 32 bit version in there, too, but I used the 64 bit one.
msiexec -i AppleApplicationSupport64.msi fixme:ntdll:NtLockFile I/O completion on lock not implemented yet...
---and the setup even propose 'Program Files (x86)/Common Files'. Do you need a trace?
The unusable interface looks the same like the 32 bit one. Native gdiplus fixes this. But using winetricks gdiplus for 64 bit I get the same 'Error 7 (Windows error 126)':
err:module:import_dll Library gdiplus.dll...
https://bugs.winehq.org/show_bug.cgi?id=40743
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #8 from winetest@luukku.com --- I just tested this bug and there is definitely something wrong.
Some file are installed under "Program files" and some under "Program Files (x86)".
The main excutable is under Program Files and it gives the error message as at comment 1.
wine-staging 2.0.rc3.
https://bugs.winehq.org/show_bug.cgi?id=40743
--- Comment #9 from winetaste@gmx.net --- I have investigated, before fixing there are almost only 32bit DLLs in "Program Files (x86)/Common Files/Apple/Apple Application Support", but CoreAudioToolbox.dll is 64 bit.
Running extracted AppleApplicationSupport64.msi with clean prefix there are only 64 bit DLLs and running AppleApplicationSupport.msi only 32 bit DLLs.
Maybe first 64 bit MSI is executed and then the 32 bit one that overrides the DLLs, because 'Program Files (x86)/Common Files' is proposed for 64 bit version, too? Though on Windows just the 64 bit version seems to be executed...
https://bugs.winehq.org/show_bug.cgi?id=40743
--- Comment #10 from winetaste@gmx.net --- Created attachment 57131 --> https://bugs.winehq.org/attachment.cgi?id=57131 WINEDEBUG=+shell excerpt .exe and .msi
Compared again. All msi from exe want to install in Program Files (x86): AppleApplicationSupport32.msi AppleApplicationSupport64.msi AppleMobileDeviceSupport6464.msi Bonjour64.msi iTunes6464.msi Shows /Program Files/: iTunes6464Setup.exe
After wine iTunes6464Setup.exe setup: AppleApplicationSupport in 'Program Files (x86)/Common Files/' with mostly 32bit dlls (Win10: 'Program Files/Common Files' 64bit an '..(x86)/Common Files' 32 bit) AppleMobileDeviceSupport6464 fails to install. Bonjour in Program Files (x86)/Bonjour with 64bit files(Win10:'Program Files/Bonjour' 64bit and 'Program Files (x86)/Bonjour' with 32 bit) iTunes itself fine in 'Program Files/iTunes/' like in Win10.
I don't know if this helps, but I started every setup with WINEDEBUG=+shell and got this: trace:shell:_SHGetCurrentVersionPath 0x00000000,0x26,0x23e560 trace:shell:_SHGetCurrentVersionPath returning 0x00000000 (output path is L"C:\Program Files") [...] trace:shell:_SHGetCurrentVersionPath returning 0x00000000 (output path is L"C:\Program Files (x86)") [...] trace:shell:_SHGetCurrentVersionPath returning 0x00000000 (output path is L"C:\Program Files\Common Files") [...] trace:shell:_SHGetCurrentVersionPath returning 0x00000000 (output path is L"C:\Program Files (x86)\Common Files") (see attachment)
This is from iTunes6464Setup.exe. All the *.msi setups have always '/Program Files (x86)/' and no '/Program Files/'(see attachment).
https://bugs.winehq.org/show_bug.cgi?id=40743
--- Comment #11 from winetaste@gmx.net --- Created attachment 58854 --> https://bugs.winehq.org/attachment.cgi?id=58854 WINEDEBUG=+shell for AppleApplicationSupport64.msi
Same with wine 2.13. iTunes doesn't start. Again libs installed only to Program Files (x86)/Common Files.
Running extracted AppleApplicationSupport64.msi:
_SHGetCurrentVersionPath returns the wrong(=32bit) path for CSIDL_PROGRAM_FILES = 0x0026 and CSIDL_PROGRAM_FILES_COMMON = 0x002B
Attachment: complete shell output from start to folder selection menu.
https://bugs.winehq.org/show_bug.cgi?id=40743
--- Comment #12 from winetaste@gmx.net --- Still the same.
Wine version: 2.22 OS: Ubuntu 17.10 (Gnome / Xorg)
WINEARCH=win32 winetricks msxml3 vcrun2013
iTunes 12.7.2.58
https://bugs.winehq.org/show_bug.cgi?id=40743
--- Comment #13 from winetaste@gmx.net --- I'm sorry.
(In reply to winetaste from comment #12)
WINEARCH=win32
64 bit of course.
https://bugs.winehq.org/show_bug.cgi?id=40743
--- Comment #14 from winetaste@gmx.net --- Maybe the same problem as Bug 30713 .
Different directory, but also 64 bit-files put in the system directories for 32-bit files by msi installer.
https://bugs.winehq.org/show_bug.cgi?id=40743
--- Comment #15 from Ken Sharp imwellcushtymelike@gmail.com --- Please re-test in Wine 3.8 or later.
https://bugs.winehq.org/show_bug.cgi?id=40743
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=40743
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #16 from Alex Henrie alexhenrie24@gmail.com --- Yes, it's fixed now. Thanks!
https://bugs.winehq.org/show_bug.cgi?id=40743
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net URL|https://appdb.winehq.org/ob |https://support.apple.com/k |jectManager.php?sClass=vers |b/dl1615?locale=en_US |ion&iId=31322&iTestingId=93 | |965 | Summary|iTunes: Doesn't run. |64-bit Tunes 12.x installer | |mixes up 32-bit and 64-bit | |packages, creating broken | |installation
--- Comment #17 from Anastasius Focht focht@gmx.net --- Hello folks,
very likely dupe of existing (fixed) MSI custom action server bugs (32-bit vs. 64-bit custom actions/package processing).
Also please DONT link to appdb in the URL field! Link the download. The appdb link is auto-magic if you link the bug in the appdb entry (see "AppDB: Show Apps affected by this bug" field).
Regards
https://bugs.winehq.org/show_bug.cgi?id=40743
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.9.