https://bugs.winehq.org/show_bug.cgi?id=46833
Bug ID: 46833 Summary: Install of iTunes 12.9.3.3 fails Product: Wine Version: 4.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: k8auf1947@cometchaser.de Distribution: ---
Created attachment 63866 --> https://bugs.winehq.org/attachment.cgi?id=63866 First screenstho
Wine is configured as Windows 7. Autorun is set to "No" during installation.
I will provide more screenshots.
https://bugs.winehq.org/show_bug.cgi?id=46833
--- Comment #1 from stefan k8auf1947@cometchaser.de --- Created attachment 63867 --> https://bugs.winehq.org/attachment.cgi?id=63867 Selections during install
https://bugs.winehq.org/show_bug.cgi?id=46833
--- Comment #2 from stefan k8auf1947@cometchaser.de --- Created attachment 63868 --> https://bugs.winehq.org/attachment.cgi?id=63868 Autorun set to off
https://bugs.winehq.org/show_bug.cgi?id=46833
--- Comment #3 from stefan k8auf1947@cometchaser.de --- Created attachment 63869 --> https://bugs.winehq.org/attachment.cgi?id=63869 Messages when the installation runs
https://bugs.winehq.org/show_bug.cgi?id=46833
--- Comment #4 from stefan k8auf1947@cometchaser.de --- Created attachment 63870 --> https://bugs.winehq.org/attachment.cgi?id=63870 Messagebox Installation fails
https://bugs.winehq.org/show_bug.cgi?id=46833
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Install of iTunes 12.9.3.3 |Install of iTunes 12.9.3.3 |fails |fails:err:msi:ITERATE_Actio | |ns Execution halted, action | |L"SxsInstallCA" returned | |1603 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |xerox.xerox2000x@gmail.com Keywords| |download, regression
--- Comment #5 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi confirming.
Stefan: could you add the downloadlink you got the installer from
(I got it from https://files01.tchspt.com/temp/iTunesSetup12933.exe, 32 bit version)
I have an old wine-version 3,0 lying here on my disk and with that the installer, so this looks like a regression really
I tested sha1sum iTunesSetup12933.exe 34cbc593dc32bbe26f23d2e27b4d31f305d131d0 iTunesSetup12933.exe
in current git.
https://bugs.winehq.org/show_bug.cgi?id=46833
--- Comment #6 from stefan k8auf1947@cometchaser.de --- I tried https://www.apple.com/itunes/download/win64 (64 bit version).
Should I try the 32bit version ?
I will provide sha1sum later.
https://bugs.winehq.org/show_bug.cgi?id=46833
--- Comment #7 from stefan k8auf1947@cometchaser.de --- Hi,
sha1sum is 20dc0306f6aa168a1e142465567d368670d3fdf5 iTunes64Setup.exe
https://bugs.winehq.org/show_bug.cgi?id=46833
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.apple.com/itune | |s/download/win64
--- Comment #8 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi,
Thanks for adding link. I just checked this version of app installs fine in old wine-version 3.0, so definitely a regression. I guess this needs a regressiontest but my hardware is from 2009 i believe so takes more then 1 h to compile a single wine. Any volunteers....
https://bugs.winehq.org/show_bug.cgi?id=46833
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #9 from Fabian Maurer dark.shadow4@web.de --- Strange, I get another error - for me an unhandled exception is thrown and it fails with
0060:err:msi:ITERATE_Actions Execution halted, action L"InstallPackages" returned 1603
When I compile from source I get the mentioned error though...
Tried a regression test but I somehow messed up, will retry tomorrow. AFAIK the error is introduced between 4.1 and 4.2.
Is there a difference between 32bit and 64bit version? Do both fail the same way?
https://bugs.winehq.org/show_bug.cgi?id=46833
--- Comment #10 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Fabian Maurer from comment #9)
Is there a difference between 32bit and 64bit version? Do both fail the same way?
Hi Fabian, they fail the same way. Thanks for taking this up!
https://bugs.winehq.org/show_bug.cgi?id=46833
--- Comment #11 from Fabian Maurer dark.shadow4@web.de --- @Louis Lenders Your 32bit link is broken for me, and the version from https://www.apple.com/itunes/download/win32 installs just fine. Does this version fails for you too?
https://bugs.winehq.org/show_bug.cgi?id=46833
--- Comment #12 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Fabian Maurer from comment #11)
@Louis Lenders Your 32bit link is broken for me, and the version from https://www.apple.com/itunes/download/win32 installs just fine. Does this version fails for you too?
When I click on the link it doesnt`work indeed, when I copy it in a browser it works, or wget https://files01.tchspt.com/temp/iTunesSetup12933.exe
Anyway, the 32-bit installer from https://www.apple.com/itunes/download/win32 fails in the same way as the 64-bit installer.
32-bit installer from apple link:
sha1sum iTunesSetup.exe 34cbc593dc32bbe26f23d2e27b4d31f305d131d0 iTunesSetup.exe
From the link https://files01.tchspt.com/temp/iTunesSetup12933.exe
sha1sum iTunesSetup12933.exe 34cbc593dc32bbe26f23d2e27b4d31f305d131d0 iTunesSetup12933.exe
So they are really the exact same. Both fail for me....
https://bugs.winehq.org/show_bug.cgi?id=46833
--- Comment #13 from Fabian Maurer dark.shadow4@web.de --- Okay, so after some confusion and some red herrings, I bisected this to
commit e4ca5dbec056c977bffce31bd7901aaec884f199 Author: Huw Davies huw@codeweavers.com Date: Tue Feb 26 11:06:25 2019 +0000
server: Add new pipe servers to the end of the servers list.
Can you confirm that reverting this commit helps? Because for me, that makes both installers work fine again.
https://bugs.winehq.org/show_bug.cgi?id=46833
--- Comment #14 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Fabian Maurer from comment #13)
Okay, so after some confusion and some red herrings, I bisected this to
commit e4ca5dbec056c977bffce31bd7901aaec884f199 Author: Huw Davies huw@codeweavers.com Date: Tue Feb 26 11:06:25 2019 +0000
server: Add new pipe servers to the end of the servers list.
Can you confirm that reverting this commit helps? Because for me, that makes both installers work fine again.
Hi Fabian, that commit doesn`t revert cleanly for me in current git. So I reverted it manually (see below). Anyway, the installer finishes fine for me with reverted patch. Thanks for the effort of regressiontest.
diff --git a/server/named_pipe.c b/server/named_pipe.c index a6ec8ae06a..1e7667348e 100644 --- a/server/named_pipe.c +++ b/server/named_pipe.c @@ -1165,7 +1165,7 @@ static struct pipe_server *create_pipe_server( struct named_pipe *pipe, unsigned server->pipe_end.server_pid = get_process_id( current->process ); init_async_queue( &server->listen_q );
- list_add_tail( &pipe->listeners, &server->entry ); + list_add_head( &pipe->listeners, &server->entry ); if (!(server->pipe_end.fd = alloc_pseudo_fd( &pipe_server_fd_ops, &server->pipe_end.obj, options ))) { release_object( server );
https://bugs.winehq.org/show_bug.cgi?id=46833
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |e4ca5dbec056c977bffce31bd79 | |01aaec884f199 CC| |huw@codeweavers.com Component|-unknown |wineserver
--- Comment #15 from Fabian Maurer dark.shadow4@web.de --- Yeah, forgot to say that I forced git to use the "Remote" version during the merge conflict...
But thanks for testing, CC'ing the author.
https://bugs.winehq.org/show_bug.cgi?id=46833
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Install of iTunes 12.9.3.3 |Multiple application |fails:err:msi:ITERATE_Actio |installers fail with |ns Execution halted, action |err:msi:ITERATE_Actions |L"SxsInstallCA" returned |Execution halted, action |1603 |L"<custom action>" returned | |1603 (iTunes 12.9.3.3, | |Dameware Mini Remote | |Control 10.x) Keywords| |Installer CC| |focht@gmx.net
--- Comment #16 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming too.
While revisiting bug 36327 ("Dameware Mini Remote Control 10.x licensing tool fails during post-install step") I found the installer now fails earlier due to the regression reported here.
I suspect there are a lot more installers affected by this, not yet reported though. Refining summary to reflect this.
Download:
https://web.archive.org/web/20190317110303/https://downloads.solarwinds.com/...
--- snip --- $ pwd /home/focht/.wine/drive_c/ProgramData/SolarWinds/DameWare Development/MrcEXEs
$ WINEDEBUG=+seh,+relay,+msi wine ./DWMRC10x_32.exe >>log.txt 2>&1 ... 0064:trace:msi:ACTION_CustomAction Handling custom action L"AI_ResolveKnownFolders" (1 L"aicustact.dll" L"AI_ResolveKnownFolders") ... 0064:trace:msi:HANDLE_CustomType1 Calling function L"AI_ResolveKnownFolders" from L"C:\users\focht\Temp\msi48d6.tmp" ... 0064:Call KERNEL32.CreateNamedPipeA(008a4f10 "\\.\pipe\lrpc\msi",40000003,00000006,000000ff,000016d0,000016d0,00001388,00000000) ret=7da2c6d6 0064:Ret KERNEL32.CreateNamedPipeA() retval=000000d0 ret=7da2c6d6 ... 0064:Call KERNEL32.GetBinaryTypeW(008a2498 L"C:\users\focht\Temp\msi48d6.tmp",001a2418) ret=7badd865 0064:Ret KERNEL32.GetBinaryTypeW() retval=00000001 ret=7badd865 0064:Call KERNEL32.CreateNamedPipeW(0032e774 L"\\.\pipe\msica_63_32",00000003,00000000,00000001,00000008,00000010,00000000,00000000) ret=7badd1b7 0064:Ret KERNEL32.CreateNamedPipeW() retval=000000e4 ret=7badd1b7 ... 0064:Call KERNEL32.CreateThread(00000000,00000000,7da294b9,008a2630,00000000,00000000) ret=7da298cc 0064:Ret KERNEL32.CreateThread() retval=000000dc ret=7da298cc ... 0064:Call KERNEL32.CreateProcessW(0032ea30 L"C:\windows\system32\msiexec.exe",0032e7fa L"C:\windows\system32\msiexec.exe -Embedding 99",00000000,00000000,00000000,00000000,00000000,00000000,0032e7a4,0032e7e8) ret=7badd342 ... 0067:Call KERNEL32.__wine_kernel_init() ret=7bc6e3ad 0067:Ret KERNEL32.__wine_kernel_init() retval=7b46ec24 ret=7bc6e3ad 0064:Ret KERNEL32.CreateProcessW() retval=00000001 ret=7badd342 0064:Call KERNEL32.CloseHandle(000000f4) ret=7badd354 0064:Ret KERNEL32.CloseHandle() retval=00000001 ret=7badd354 0064:Call KERNEL32.ConnectNamedPipe(000000e4,00000000) ret=7badd3a2 ... 0067:Starting process L"C:\windows\system32\msiexec.exe" (entryproc=0x7efef97f) ... 0067:Call KERNEL32.CreateFileW(0032fbe8 L"\\.\pipe\msica_63_32",c0000000,00000000,00000000,00000003,00000000,00000000) ret=7efed728 0067:Ret KERNEL32.CreateFileW() retval=00000060 ret=7efed728 ... 0064:Ret KERNEL32.ConnectNamedPipe() retval=00000001 ret=7badd3a2 0064:Call KERNEL32.CreateThread(00000000,00000000,7badd459,001a23e8,00000000,00000000) ret=7badd8a8 0064:Ret KERNEL32.CreateThread() retval=000000e8 ret=7badd8a8 ... 0064:trace:msi:wait_thread_handle waiting for L"AI_ResolveKnownFolders" 0064:Call user32.MsgWaitForMultipleObjectsEx(00000001,0032ec80,ffffffff,000004ff,00000000) ret=7baed59f ... 0068:Starting thread proc 0x7badd459 (arg=0x1a23e8) .. 0069:Starting thread proc 0x7efed5e1 (arg=0x161ff8) ... 0069:Call msi.__wine_msi_call_dll_function(0055fec0) ret=7efed626 0069:trace:msi:__wine_msi_call_dll_function {f2491ff0-abf1-4788-8a76-87df63de406f} 0069:Call rpcrt4.RpcStringBindingComposeW(00000000,7ea2f028 L"ncalrpc",00000000,7ea2f038 L"msi",00000000,0055fdf0) ret=7e90cd15 ... 0069:Ret rpcrt4.RpcStringBindingComposeW() retval=00000000 ret=7e90cd15 0069:Call rpcrt4.RpcBindingFromStringBindingW(00161ff8 L"ncalrpc:[msi]",7ea2f458) ret=7e90cd78 ... 0069:Call KERNEL32.CreateFileA(00162048 "\\.\pipe\lrpc\msi",c0000000,00000000,00000000,00000003,40000000,00000000) ret=7e24682e 0069:Ret KERNEL32.CreateFileA() retval=00000064 ret=7e24682e 0069:Call KERNEL32.SetNamedPipeHandleState(00000064,0055f8a4,00000000,00000000) ret=7e246987 0069:Ret KERNEL32.SetNamedPipeHandleState() retval=00000001 ret=7e246987 ... 004e:Call KERNEL32.CreateNamedPipeA(001a14f0 "\\.\pipe\lrpc\msi",40000003,00000006,000000ff,000016d0,000016d0,00001388,00000000) ret=7da2c6d6 004e:Ret KERNEL32.CreateNamedPipeA() retval=0000011c ret=7da2c6d6 ... 0069:Ret msi.__wine_msi_call_dll_function() retval=0000000d ret=7efed626 ... 0064:Call KERNEL32.GetExitCodeThread(000000e8,0032ec64) ret=7badc7cf 0064:Ret KERNEL32.GetExitCodeThread() retval=00000001 ret=7badc7cf 0064:err:msi:custom_get_thread_return Invalid Return Code 13 ... 0064:trace:msi:MSI_DatabaseOpenViewW L"SELECT `Message` FROM `Error` WHERE `Error` = 15" 0x32ece8 ... 0064:trace:msi:MSI_ProcessMessageVerbatim Calling UI handler 0x4769f3(pvContext=0x32f40c, iMessageType=04000000, hRecord=3) ... 0064:err:msi:ITERATE_Actions Execution halted, action L"AI_ResolveKnownFolders" returned 1603 --- snip ---
$ sha1sum DameWare-MRC32-Eval-v10.0.0.exe 5181070b3c13720a14072dc50c1aa1f4b82b7e3a DameWare-MRC32-Eval-v10.0.0.exe
$ du -sh DameWare-MRC32-Eval-v10.0.0.exe 58M DameWare-MRC32-Eval-v10.0.0.exe
$ wine --version wine-4.4
Regards
https://bugs.winehq.org/show_bug.cgi?id=46833
Huw Davies huw.davies@physics.ox.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net, | |huw.davies@physics.ox.ac.uk
--- Comment #17 from Huw Davies huw.davies@physics.ox.ac.uk --- Cc'ing Hans.
It looks like there are two processes each of which call into do_msidbCustomActionTypeDll(), which in turn calls RpcServerUseProtseqEpW() with the same endpoint name "msi". The msiexec launched by each process both try to connect to the same named pipe. I suspect we want to append a thread id onto the endpoint name. The tricky thing will be passing that from msiexec to __wine_msi_call_dll_function().
https://bugs.winehq.org/show_bug.cgi?id=46833
Huw Davies huw.davies@physics.ox.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|wineserver |msi
https://bugs.winehq.org/show_bug.cgi?id=46833
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #18 from Hans Leidekker hans@meelstraat.net --- Thanks Huw. Zeb, since you wrote this code, would you mind taking a look?
https://bugs.winehq.org/show_bug.cgi?id=46833
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |z.figura12@gmail.com
--- Comment #19 from Zebediah Figura z.figura12@gmail.com --- (In reply to Hans Leidekker from comment #18)
Thanks Huw. Zeb, since you wrote this code, would you mind taking a look?
Yes, I'll get on that.
https://bugs.winehq.org/show_bug.cgi?id=46833
--- Comment #20 from Anastasius Focht focht@gmx.net --- Hello folks,
another installer suffering from this:
SIMATIC WinCC V15.1 Runtime
The patch:
https://www.winehq.org/pipermail/wine-devel/2019-March/142444.html
https://source.winehq.org/patches/data/161487
fixes the problem.
https://support.industry.siemens.com/cs/document/109761576/simatic-wincc-v15...
$ sha1sum SIMATIC_WinCC_Runtime_Advanced_V15_1.exe db1f97bb648b62fa1c5d974d7f2bcb6b4a9fd786 SIMATIC_WinCC_Runtime_Advanced_V15_1.exe
$ du -sh SIMATIC_WinCC_Runtime_Advanced_V15_1.exe 1.3G SIMATIC_WinCC_Runtime_Advanced_V15_1.exe
$ wine --version wine-4.4-188-gc988910cae
Regards
https://bugs.winehq.org/show_bug.cgi?id=46833
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |27a7952a84d157caed21a663dd8 | |27728a02c443e Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #21 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/27a7952a84d157caed21a663dd... ("msi: Append the custom action client PID to the endpoint name.")
I've tested two installers mentioned here.
Thanks Zebediah
Regards
https://bugs.winehq.org/show_bug.cgi?id=46833
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.5.
https://bugs.winehq.org/show_bug.cgi?id=46833
Andreas Zuber a.zuber@gmx.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |a.zuber@gmx.ch
--- Comment #23 from Andreas Zuber a.zuber@gmx.ch --- *** Bug 47033 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=46833
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://www.apple.com/itune |https://web.archive.org/web |s/download/win64 |/20190223101740/https://sec | |ure-appldnld.apple.com/itun | |es12/041-31291-20190124-BBE | |902D6-D788-11E8-B555-8E91F3 | |4A5CAA/iTunes64Setup.exe
--- Comment #24 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download links for iTunes 12.9.3.3 installers via Internet Archive for documentation.
32-bit:
https://web.archive.org/web/20190223101739/https://secure-appldnld.apple.com...
$ sha1sum iTunesSetup.exe 34cbc593dc32bbe26f23d2e27b4d31f305d131d0 iTunesSetup.exe
$ du -sh iTunesSetup.exe 195M iTunesSetup.exe
64-bit:
https://web.archive.org/web/20190223101740/https://secure-appldnld.apple.com...
$ sha1sum iTunes64Setup.exe 20dc0306f6aa168a1e142465567d368670d3fdf5 iTunes64Setup.exe
$ du -sh iTunes64Setup.exe 257M iTunes64Setup.exe
Regards