From: Blair <os...@li...> - 2009-10-13 19:52:19
|
Unless you depend on something that happens after StartService, then I would do it next to that action. Make sure it is a deferred action without impersonation. -----Original Message----- From: Dave Kolb [mailto:da...@do...] Sent: Tuesday, October 13, 2009 8:47 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] <ServiceInstall> and <ServiceControl> question Thanks Blair. In that case, I think I will start the service with a CA. What would be the proper sequence point to do this? Thanks, Dave -----Original Message----- From: Blair [mailto:os...@li...] Sent: Tuesday, October 13, 2009 9:27 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] <ServiceInstall> and <ServiceControl> question To reduce reboot prompts many of us set @Stop to "both". Windows Installer assumes that if you want the service started during the installation, it is a failure if it doesn't. It uses the built-in action StartServices, which can't be redefined to ignore (all you can do is condition it, which isn't what you are asking). -----Original Message----- From: Dave Kolb [mailto:da...@do...] Sent: Monday, October 12, 2009 11:32 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] <ServiceInstall> and <ServiceControl> question I use <ServiceInstall> and <ServiceControl> and noticed that if my service failed to start [a bug in my code], then the install failed. ---------------------------------------------------------------------------- -- 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...@li... https://lists.sourceforge.net/lists/listinfo/wix-users |