It is the ServiceInstall element in native WiX that sets the Start type of the service. Since your installer is not installing this service (Windows did that for us all) then I don't think you get to control that aspect through your installer using native WiX. You'd almost certainly be looking at a Custom Action if it is possible. Or a registry write might get it.
The ServiceControl element could probably be used to start the service once is isn't Disabled using the name THEMES <ServiceControl Id='StartThemes' Name='THEMES' Start='install' Wait='yes'/> Hope that helps some Chad -----Original Message----- From: Sajo Jacob [mailto:spja...@gmail.com] Sent: Wednesday, May 12, 2010 1:15 PM To: wix-users Subject: [WiX-users] Start an existing disabled service? I have to start the "Themes" windows service from my MSI. If the service is disabled on the target machine, I want to change the service config to "Auto" and start the service. How can I do this in WiX? Thanks, Jacob ------------------------------------------------------------------------ ------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users