Hello Dandre
I know, I have the same problem, the MSI log doesn't state much useful
information either. It is always a bit of a guess to find out what
happened and some experience. The Windows event log is a good source of
information and to try to start the service manually via services.msc
and see what happens.
I am not a big expert in Wix, but I explain it the following way: The
Windows Installer standard actions "StartServices" and "StopServices"
read from the "ServiceControl" table from the MSI database and execute
what is specified there. Wix just compiles the information from the Wix
file into this table. The Windows Installer standard actions are
probably just wrappers around the Win32 functions which access the SCM
(Service Control Manager) such as StartService() or ControlService().
The return value of these functions (and GetLastError()) indicate what
went wrong.
An alternative could be not to use the Windows Installer standard
actions, i.e. write a Custom Action or use an extension.
Links:
ServiceControl Table
http://msdn.microsoft.com/en-us/library/aa371634(VS.85).aspx
StartServices Action
http://msdn.microsoft.com/en-us/library/aa372026(v=VS.85).aspx
ControlService Function
http://msdn.microsoft.com/en-us/library/ms682108(v=VS.85).aspx
StartService Function
http://msdn.microsoft.com/en-us/library/ms686321(VS.85).aspx
Regards
Simon
On 01.12.2010 08:11, Dandre Jansen van Vuuren wrote:
Hi there guys
I would like to find out if anyone knows whether one can produce more
descriptive error messages for the windows installer via Wix.
We had a case when we installed and started an NT service (and the
credentials were wrong) it just says that the service couldn't be
started but after further investigation found that the credentials
specified were wrong. Is there a way to let the error that gets
displayed be more specific to what went wrong? Like for example:
Service couldn't be started ... credentials specified were invalid.
Much appreciated.
Thanks
-Dandre
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App& Earn a Chance To Win $500!
Tap into the largest installed PC base& get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs