InstallSite Forum


  Reply to this topicStart new topicStart Poll

> error code 0 but message box Installation failed
MarkoK
Posted: 2010-07-01 09:21
Quote Post





Group: Full Members
Posts: 48
Member No.: 42
Joined: 2001-02-12



Hi there!

I'm currently developing an installer for some of our device driver for Windows XP.
It's based on WiX v3.5.

When I install the stuff I get a message box indicating me "Installation failed" even when I use /qn option for msiexec. In the log file no errors a displayed and return code is 0.

So perhaps someone among us here can shed a light on this?
Log is attached.

Attached File ( Number of downloads: 16 )
Attached File  foo.log
PMEmail PosterUsers WebsiteICQ
Top
VBScab
Posted: 2010-07-01 11:23
Quote Post





Group: Full Members
Posts: 375
Member No.: 11292
Joined: 2005-10-13



I almost never use return value from EXEs for testing installed state. I use the WindowsInstaller.Installer object's ProductState property or, at a push, retrieve a value from the relevant 'Uninstall' registry key.


--------------------
- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.
PM
Top
Zweitze
Posted: 2010-07-02 11:24
Quote Post





Group: Full Members
Posts: 515
Member No.: 6829
Joined: 2003-05-16



Well that text 'installation failed' is not in the log, so it's not a text generated by Windows Installer.

I guess you (or WiX) included a Custom Action that shows that text. You may want to look at the log file while the message is shown - at that moment the install is not yet completed, and the last entries in the log may reveal the action that shows the message (this only works when the action is not an asynchronous action, but that's usually the case).
PMEmail Poster
Top

InstallShield & AdminStudio Training

Kurse in deutscher Sprache hier.

Courses in English, French and Italian language here.


« Next Oldest | Runtime Errors | Next Newest »

Topic Options Reply to this topicStart new topicStart Poll