Re: [WiX-users] unable to start a service through MSI

2012-02-02 Thread Rob Hamflett
On 02/02/2012 01:15, Rajesh Khetan wrote: > Thanks Phil. Is there a way to ensure in WXS file, such that the service gets > started after all the dependent dlls are installed? You could add a commit custom action to start the service. This will run once the install has been finalised, so the ev

Re: [WiX-users] unable to start a service through MSI

2012-02-01 Thread Rajesh Khetan
Installer XML toolset. Subject: Re: [WiX-users] unable to start a service through MSI Service can't start can be a dependency issue. A service that's dependent on Dlls being installed to the GAC or to SxS (C++ runtimes) will fail when MSI starts because StartServices is before these are co

Re: [WiX-users] unable to start a service through MSI

2012-02-01 Thread Wilson, Phil
there's no rollback) because now the dependencies are installed. Phil W -Original Message- From: Michael Osmond [mailto:mosm...@baytech.com.au] Sent: Wednesday, February 01, 2012 4:46 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] unable to

Re: [WiX-users] unable to start a service through MSI

2012-02-01 Thread Michael Osmond
The error message is pretty generic, the service can't start for almost any reason. We have MSIs that run in full dialog mode so there is a dialog popped when the service fails to start with the error you are seeing in the eventlog, with a retry and cancel options. When you get this dialog go