Re: [WiX-users] ServiceInstall and ServiceControl question

2010-07-01 Thread Elfe Xu
Hi Blair, Would you please help me to understand why I need to make the CA as deferred without impersonation? Since I want the install to success no matter whether the service started successfully or failed, I just run StartMyService CA after InstallFinalize. Do you see any problem of doing so?

Re: [WiX-users] ServiceInstall and ServiceControl question

2010-07-01 Thread Blair
@lists.sourceforge.net Subject: Re: [WiX-users] ServiceInstall and ServiceControl question Hi Blair, Would you please help me to understand why I need to make the CA as deferred without impersonation? Since I want the install to success no matter whether the service started successfully or failed, I just run

[WiX-users] ServiceInstall and ServiceControl question

2009-10-13 Thread Dave Kolb
I use ServiceInstall and ServiceControl and noticed that if my service failed to start [a bug in my code], then the install failed. Is there a means to try to start the service and have it install even if it fails to start? P.S. Also, fwiw, I noticed that if I used two ServiceControl

Re: [WiX-users] ServiceInstall and ServiceControl question

2009-10-13 Thread Blair
what you are asking). -Original Message- From: Dave Kolb [mailto:d...@dotnetcodeslingers.com] 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

Re: [WiX-users] ServiceInstall and ServiceControl question

2009-10-13 Thread Dave Kolb
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

Re: [WiX-users] ServiceInstall and ServiceControl question

2009-10-13 Thread Blair
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