This worked quite well to start my service instead of using <ServiceControl> and in my case, and lets my service install even if it does not start after trying only once which is what I wanted. I do use <ServiceControl> for uninstall though! Thanks for all the help that is given in this list! - Dave
<CustomAction Id="QtExecStartService_Cmd" Property="QtExecStartService" Value='"sc" start [APPLICATIONNAME]' Execute="immediate"/> <CustomAction Id="QtExecStartService" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute="deferred" Return="check" Impersonate="no"/> <InstallExecuteSequence> <Custom Action="QtExecStartService_Cmd" After="CostFinalize" Overridable="yes">NOT Installed</Custom> <Custom Action="QtExecStartService" After="StartServices" Overridable="yes">NOT Installed</Custom> </InstallExecuteSequence> -----Original Message----- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Saturday, October 17, 2009 2:11 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Any way to control the # of service start attempts on <ServiceControl>? Dave Kolb wrote: > Is there any way to control the # of service start attempts on > <ServiceControl> or elsewhere in the .msi file? No, MSI doesn't offer that configurability. -- sig://boB http://joyofsetup.com/ ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users