http://bugs.winehq.org/show_bug.cgi?id=21846
Summary: TREPCAD 4.4.1 Demo: install aborts Product: Wine Version: 1.1.39 Platform: x86 URL: http://www.trepcad.de/index.php?lang=en&id=6&ad=%5Bad] OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: andreas@braml.org
Created an attachment (id=26449) --> (http://bugs.winehq.org/attachment.cgi?id=26449) tail -n 1000 of +relay,+msgbox
When trying to install the demo for TREPCAD 4, the installer aborts after step "Publishing product information". A message then pops up stating "Installation ended prematurely because of an error". (It's using a Wise installer.)
Steps to reproduce:
1) request the download link via the form at http://www.trepcad.de/index.php?lang=en&id=6&ad=%5Bad] 2) download the demo from the link they e-mail you and run the installer .exe
(Before anyone asks: When you run vcrun6 from winetricks to satisfy the dependency on mfc42, the installer still aborts with the same error.)
I attached tail -n 1000 of +relay,+msgbox for a start, ping me if you need more
http://bugs.winehq.org/show_bug.cgi?id=21846
Andreas Hermann Braml andreas@braml.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=21846
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer Status|UNCONFIRMED |NEW CC| |xerox_xerox2000@yahoo.co.uk Ever Confirmed|0 |1
--- Comment #1 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-03-02 15:55:14 --- confirming. Below is a hack that let's the installer complete.
The problem seems to be a program called vsda.exe (installed in TREPCAD directory) that returns an exitcode 1 when run from the msi installer.So GetExitCodeProcess( process, &rc ) returns for rc 1.
I don;t know what the bug really is; maybe msi on windows ignores this, and returns succes anyway, or the program vsda.exe returns successfull exitcode 0 on windows. As i haven't got a clue what this program is or does (when run directly from the console it just returns to the console quietly), this remains a mystery for now
diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c index 2b2a3e1..8b6dcf3 100644 --- a/dlls/msi/custom.c +++ b/dlls/msi/custom.c @@ -436,8 +436,9 @@ static UINT custom_get_process_return( HANDLE process ) DWORD rc = 0;
GetExitCodeProcess( process, &rc );
if (rc != 0) - return ERROR_FUNCTION_FAILED; + return 0; return ERROR_SUCCESS; }
http://bugs.winehq.org/show_bug.cgi?id=21846
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |msi
--- Comment #2 from Andrew Nguyen arethusa26@gmail.com 2010-03-03 02:57:14 --- I've submitted a patch:
http://source.winehq.org/patches/data/58946
http://bugs.winehq.org/show_bug.cgi?id=21846
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Austin English austinenglish@gmail.com 2010-03-03 11:40:07 --- (In reply to comment #2)
I've submitted a patch:
Patch committed: http://source.winehq.org/git/wine.git/?a=commitdiff;h=0270f18e110128b2646ac0...
http://bugs.winehq.org/show_bug.cgi?id=21846
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2010-03-05 12:43:33 --- Closing bugs fixed in 1.1.40.
http://bugs.winehq.org/show_bug.cgi?id=21846
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |0270f18e110128b2646ac050c8b | |fb316a0515e43