The last item you would also use the ServiceInstall element, not ServiceControl.
<ServiceInstall Start="auto" ... /> Along with any other desired attributes. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja Sent: Monday, November 19, 2007 6:09 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Service Control and Service Install Hi, Can any review the wix code for the following and give example for last one Install Service: Stops and Removes the Service on Un install My wix code: <ServiceInstall Id="NXConfigurationControl" Name="NXConfiguration" Stop="uninstall" Remove="uninstall" / Install Service: Only install on xp or later My wix code: <ServiceInstall Id="SV" DisplayName=" Guard Service" Description="This will install only on Windows XP or later" ErrorControl="normal" Interactive="no" Name="guardsvc" Start="install" Type="ownProcess" Vital='yes'> <Condition>NOT VersionNT = 500</Condition> </ServiceInstall> Control Service: automatic start, but not started during install, will be started on reboot -- View this message in context: http://www.nabble.com/Service-Control-and-Service-Install-tf4836525.html #a13836611 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users