Re: [WiX-users] stop service before installvalidate

2007-03-31 Thread Bob Arnson
Wilson, Phil wrote: > Also, I'm pretty sure that InstallValidate takes account of the > ServiceControl table when it's deciding whether to show a FilesInUse > dialog, if that's the issue. > That's right. The downside is that if your service takes longer than 30 seconds to stop, it might not a

Re: [WiX-users] stop service before installvalidate

2007-03-29 Thread Wilson, Phil
Bob Arnson Sent: Wednesday, March 28, 2007 9:01 PM To: Bei Liu (Volt) Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] stop service before installvalidate Bei Liu (Volt) wrote: I'm trying to stop the services before installvalidate when uninstall. However, I got the following

Re: [WiX-users] stop service before installvalidate

2007-03-28 Thread Bob Arnson
Bei Liu (Volt) wrote: I'm trying to stop the services before installvalidate when uninstall. However, I got the following error. Per the doc, the services actions must come during the transaction because they modify system state. Actions that modify the system can't be immediate. -- sig

[WiX-users] stop service before installvalidate

2007-03-28 Thread Bei Liu (Volt)
I'm trying to stop the services before installvalidate when uninstall. However, I got the following error. 2762 Cannot write script record. Transaction not started. Is there a way to stop a service before installvalidate? Thanks, ---