http://bugs.winehq.org/show_bug.cgi?id=9444
Summary: Crystal Enterprise 8 (a flavor of Crystal Reports?) install fails Product: Wine Version: CVS/GIT Platform: Other URL: http://www.crystaldecisions.net OS/Version: other Status: NEW Keywords: Installer Severity: enhancement Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Created an attachment (id=7776) --> (http://bugs.winehq.org/attachment.cgi?id=7776) +file,+msi,+setupapi,+seh log of setup.exe
crystalenterprise 8 doesn't install on Wine; the installer aborts after a minute. The first indication of failure in a +msi,+setupapi log is the following line: err:msi:ITERATE_Actions Execution halted, action L"InstallExecute" returned 2 My untrained eye can't see the cause of the error.
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #1 from James Hawkins truiken@gmail.com 2007-10-22 22:55:37 --- Created an attachment (id=8725) --> (http://bugs.winehq.org/attachment.cgi?id=8725) debug patch
Can you apply this patch, make, run the installer and attach the terminal output to this report?
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #2 from Dan Kegel dank@kegel.com 2007-10-24 13:40:10 --- Created an attachment (id=8745) --> (http://bugs.winehq.org/attachment.cgi?id=8745) Output with debug patch applied
Here's the output. It still fails in the same way (though fonts seem more screwed up than before, so I had to type the license key in blind).
http://bugs.winehq.org/show_bug.cgi?id=9444
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|wine-misc |wine-msi
--- Comment #3 from James Hawkins truiken@gmail.com 2007-11-04 20:30:35 --- Thanks for debugging this. I'll send in a patch tonight.
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #4 from James Hawkins truiken@gmail.com 2007-11-05 12:48:05 --- Can you retry with today's git?
http://bugs.winehq.org/show_bug.cgi?id=9444
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #7776 is|0 |1 obsolete| | Attachment #8745 is|0 |1 obsolete| |
--- Comment #5 from Dan Kegel dank@kegel.com 2007-11-05 19:19:23 --- Created an attachment (id=8980) --> (http://bugs.winehq.org/attachment.cgi?id=8980) +file,+msi,+setupapi,+seh,+process,+text log of install failing
Nope. Here's a log.
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #6 from James Hawkins truiken@gmail.com 2007-11-06 02:02:04 --- I don't think this is the right log...this is a log from an Adobe Captivate 3 install.
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #7 from Dan Kegel dank@kegel.com 2007-11-07 19:06:49 --- Sorry 'bout that. Here's a new run with today's git: http://kegel.com/wine/cr8.log.rz
And here are a couple highlights: ... trace:msi:ACTION_CustomAction Handling custom action L"AddSamples.6281B734_38BE_11D3_93F3_00902741EDC6" (462 L"crazerpt.6281B734_38BE_11D3_93F3_00902741EDC6" L"wscript addsamples.vbs /name "[SAMPLEFOLDERNAME]" /description "[SAMPLEFOLDERDESCRIPTION]"") ... trace:msi:ACTION_ForceReboot Reboot command L"c:\windows\system32\MsiExec.exe /@ "0BF6FDCFA57A3D11F9E9000972175E37"" err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned 1604
I don't have vbscript installed, for what it's worth... this was on a totally empty .wine directory.
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #8 from James Hawkins truiken@gmail.com 2007-11-19 21:42:21 --- Well, my patch fixed the original problem, so now we're running into a problem with the reboot not happening.
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #9 from Dan Kegel dank@kegel.com 2008-05-20 14:50:42 --- Still failing. Last four lines of log: err:msi:msi_dialog_handle_event Unknown progress message 3 fixme:msi:msi_unimplemented_action_stub RemoveExistingProducts -> 1 ignored L"Upgrade" table values err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned 1604 err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1604
On the bright side, Crystal Reports 8.5 (the next version?) seems to install fine.
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #10 from Austin English austinenglish@gmail.com 2008-11-17 13:07:43 --- Is this still an issue in current (1.1.8 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=9444
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #11 from Austin English austinenglish@gmail.com 2009-01-15 10:53:36 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If still present, update version field to earliest known version of wine that had this bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=9444
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #12 from Jerome Leclanche adys.wh@gmail.com 2011-10-27 12:09:03 CDT --- Dan, ping. Is it still an issue?
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #13 from Dan Kegel dank@kegel.com 2011-10-27 13:12:39 CDT --- Same as before. Log at failure:
trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"Action start 10:56:57: ForceReboot." trace:msi:msiobj_release object 0xee9370 destroyed trace:msi:ACTION_ForceReboot Reboot command L"C:\windows\system32\MsiExec.exe /@ "0BF6FDCFA57A3D11F9E9000972175E37"" trace:msi:MSI_ProcessMessage 4000000 trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"Action ended 10:56:57: ForceReboot. Return value 1604." err:msi:ITERATE_Actions Execution halted, action L"ForceReboot" returned 1604
And, um, this seems completely expected. ACTION_ForceReboot *always* returns #define ERROR_INSTALL_SUSPEND 1604
MSI_InstallPackage even expects ERROR_INSTALL_SUSPEND and handles it.
So maybe the line in ITERATE_Actions is crying wolf? if (rc != ERROR_SUCCESS) ERR("Execution halted, action %s returned %i\n", debugstr_w(action), rc); and somebody who knows MSI well needs to take a look at the full log, attached.
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #14 from Dan Kegel dank@kegel.com 2011-10-27 13:20:42 CDT --- Whoops, +msi log was too big to attach, here it is: http://kegel.com/wine/log-9448.txt.rz
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #15 from Hans Leidekker hans@meelstraat.net 2011-10-28 02:11:49 CDT --- Does this installer prompt for a reboot on Windows?
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #16 from Dan Kegel dank@kegel.com 2011-10-28 08:29:07 CDT --- The progress bar finishes, then it goes back to the left for a pass of registering components, then it tries to start services... and on my windows 7, it put up an error dialog saying it could not start services. (There are a smattering of complaints about that on the web.) All this without a reboot prompt; maybe there would be one after it finished starting services, maybe not.
I don't know how much effort this app is worth, since the next version installs and works in wine, so I'm happy to abandon if you're not curious about it yourself.
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #17 from Hans Leidekker hans@meelstraat.net 2011-10-28 08:44:37 CDT --- (In reply to comment #16)
The progress bar finishes, then it goes back to the left for a pass of registering components, then it tries to start services... and on my windows 7, it put up an error dialog saying it could not start services. (There are a smattering of complaints about that on the web.) All this without a reboot prompt; maybe there would be one after it finished starting services, maybe not.
I don't know how much effort this app is worth, since the next version installs and works in wine, so I'm happy to abandon if you're not curious about it yourself.
It's interesting because I rarely see an installer that wants to suspend. Can you send me the file Z:\media\ENTERPRISE\win32\cer.msi by email?
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #18 from Hans Leidekker hans@meelstraat.net 2011-10-31 05:46:33 CDT --- Created attachment 37220 --> http://bugs.winehq.org/attachment.cgi?id=37220 msi: Reboot on suspend.
Does this patch help?
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #19 from Dan Kegel dank@kegel.com 2011-10-31 06:05:02 CDT --- Not visibly, but the +msi log seems to show some progress. The installer still disappears abruptly, with log
err:msi:ITERATE_Actions Execution halted, action L"ForceReboot" returned 1604 err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1604
but with +msi turned on, the log continues, and ends with
trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 8 L"1: You must simulate a Windows reboot to complete the installation. Click Yes to do this now or No if you want to do this later 2: " trace:msi:msiobj_release object 0x16cf18 destroyed trace:msi:MSIHiddenWindowProc 2 (nil) trace:msi:MSIHiddenWindowProc 130 (nil)
so now it's a UI problem?
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #20 from Dan Kegel dank@kegel.com 2011-10-31 06:06:17 CDT --- Created attachment 37221 --> http://bugs.winehq.org/attachment.cgi?id=37221 rzipped +msi log with latest patch on wine-1.3.31-147-gfe1f692
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #21 from Hans Leidekker hans@meelstraat.net 2011-10-31 06:20:02 CDT --- (In reply to comment #19) ...
but with +msi turned on, the log continues, and ends with
trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 8 L"1: You must simulate a Windows reboot to complete the installation. Click Yes to do this now or No if you want to do this later 2: " trace:msi:msiobj_release object 0x16cf18 destroyed trace:msi:MSIHiddenWindowProc 2 (nil) trace:msi:MSIHiddenWindowProc 130 (nil)
so now it's a UI problem?
Looks like it, the MSI_ProcessMessage trace reveals that this installer has not installed a UI handler, so it's probably msi's responsibility to show a dialog here.
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #22 from Hans Leidekker hans@meelstraat.net 2011-10-31 07:23:14 CDT --- Created attachment 37223 --> http://bugs.winehq.org/attachment.cgi?id=37223 vbscript: Add a version resource.
I may have found the cause of the suspend. Can you give this patch a try?
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #23 from Dan Kegel dank@kegel.com 2011-11-01 02:13:13 CDT --- That seems to help a lot. It now gets as far as trying to start a service. Like on Windows, this fails, but unlike on Windows, the error causes a fatal dialog right away (instead of a retry / cancel dialog, followed by a more fatal second service problem). I've uploaded a +msi,+seh,warn+heap log to http://kegel.com/wine/bug9444-log.txt.rz It seems there is a heap corruption, too, possibly from a custom action dll.
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #24 from Hans Leidekker hans@meelstraat.net 2011-11-01 05:37:54 CDT --- (In reply to comment #23)
That seems to help a lot. It now gets as far as trying to start a service. Like on Windows, this fails, but unlike on Windows, the error causes a fatal dialog right away (instead of a retry / cancel dialog, followed by a more fatal second service problem). I've uploaded a +msi,+seh,warn+heap log to http://kegel.com/wine/bug9444-log.txt.rz It seems there is a heap corruption, too, possibly from a custom action dll.
There's a custom action called SetNameServerName which is supposed to set a command line parameter for a service called "Crystal Job Report Server":
trace:msi:ACTION_CustomAction Handling custom action L"SetNameServerName" (33 L"NAMESERVER" L"[ComputerName]")
It fails because we don't set the ComputerName property. So the server fails to initialize:
TheJobServer::initialize() TheJobServer::Initialize: you either have to specify a nameserver or a port number! warn:heap:validate_block_pointer Heap 0x110000: pointer 0x7ea98c60 is not inside heap
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #25 from Hans Leidekker hans@meelstraat.net 2011-11-01 05:44:42 CDT --- Created attachment 37234 --> http://bugs.winehq.org/attachment.cgi?id=37234 msi: Set the ComputerName property.
Fix.
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #26 from Dan Kegel dank@kegel.com 2011-11-01 09:04:55 CDT --- No change to user experience. I've uploaded new logs, http://kegel.com/wine/bug9444/log-namefixed.txt.rz http://kegel.com/wine/bug9444/log-namefixed-relay.txt.rz
http://bugs.winehq.org/show_bug.cgi?id=9444
--- Comment #27 from Austin English austinenglish@gmail.com 2011-11-01 13:27:54 CDT --- http://source.winehq.org/git/wine.git/commitdiff/3b9df46e0373d18ca8c4ccbea2b... http://source.winehq.org/git/wine.git/commitdiff/5266f34c3c36518459e4dfe380f...
http://bugs.winehq.org/show_bug.cgi?id=9444
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #28 from Dan Kegel dank@kegel.com 2011-11-02 01:28:50 CDT --- The originally reported problem is fixed.
The app still doesn't install, but the failure is different, see bug 28972.
http://bugs.winehq.org/show_bug.cgi?id=9444
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #29 from Alexandre Julliard julliard@winehq.org 2011-11-04 14:15:38 CDT --- Closing bugs fixed in 1.3.32.
http://bugs.winehq.org/show_bug.cgi?id=9444
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Fixed by SHA1| |3b9df46e0373d18ca8c4ccbea2b | |852735c7bd6e7 CC| |focht@gmx.net Version|unspecified |0.9.44. Severity|enhancement |normal
--- Comment #30 from Anastasius Focht focht@gmx.net 2011-12-16 15:25:49 CST --- Hello,
filling fields ...
Regards
http://bugs.winehq.org/show_bug.cgi?id=9444
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|Other |x86 OS|other |Linux