A procmon log would be interesting but huge...

Just a guess, but it may be possible that the SCM is locked by another process. 
On the failing machine, if you uninstall, restart, and then reinstall, does it 
succeed?


-----Original Message-----
From: Gábor Zoltán Tamás [mailto:tamas.gabor.zol...@gmail.com] 
Sent: Tuesday, August 05, 2014 4:11 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Debugging installer

Hi all,

We have a solution with a WIX installer project that should install a Windows 
service and start it right away. Now the issue is that the WIX project outputs 
MSIs that sometimes fail on some, but not all of our environments. After 
enabling verbose logging and looking at the log files msiexec.exe, we can see, 
that each time the installation fails after aquiring the 32 bit elevated custom 
action server, right when the installer tries the following:

Executing op:
ServiceInstall(Name=___,DisplayName=_____,ImagePath=_____,ServiceType=16,StartType=2,ErrorControl=32768,,Dependencies=[~],,StartName=NT
AUTHORITY\SYSTEM,Password=**********,Description=_____,,)

The following log entry is:
Error 1923. Service '_____' (___) could not be installed.  Verify that you have 
sufficient privileges to install system services.

The privileges - of course - are not the issue.

Comparing logs of failed and successful installs reveal no relevant difference 
up until the point when the ServiceInstall custom action fails.
All differences are timestamps, random character sequences (GUIDS, temporary 
file names, etc) or PIDs.

We are completely puzzled why one MSI fails and the next one does not (no code 
changes at all, the files seem to be of the same size).

Can someone here give us advice what the best course of action would be that 
would let us closer to the underlying issue? Is there any way to debug the 
ServiceInstall action?

Thank you,
Gabor
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to