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).