From: Blair <os...@li...> - 2010-09-10 06:04:09
|
1. This is a question more suited for wix-users than wix-devs. Or, better yet, it is a Windows Installer question more than a WiX one. 2. The MSISERVER service is used by the entire InstallExecuteSequence sequence and Windows Installer already takes care to deal with two scenarios: a. It ensures that transactions using it are system-wide singletons. b. It automatically accepts the next transaction when the last one ends, so it does NOT have to be stopped for a new transaction to start. In fact, it disables STOP while transactions are running, and reenables STOP when it idles waiting for new transactions. It has a timeout on the idle to stop automatically if no new transactions are requested while it is idle (this is done for performance reasons, to avoid the time spent stopping/restarting the service). -----Original Message----- From: softcoder [mailto:ara...@ya...] Sent: Thursday, September 09, 2010 6:29 PM To: wix...@li... Subject: [WiX-devs] how to stop msiserver "net stop msiserver" I tried using 1. <ServiceControl Id='STOPMSISERVER' Name='msiserver' Stop='install' Wait='yes'/> ----THis takes a while and reports cant be done while installing. 2. I tried customaction like the one below. <CustomAction Id="CA1" Property="CA1_PROP" Value="[SystemFolder]cmd.exe" /> <CustomAction Id="CA2" Property="CA1_PROP" ExeCommand=""/c net stop msiserver"" /> <InstallExecuteSequence> <Custom Action="CA1" After="InstallExecute" /> <Custom Action="CA2" After="CA1" /> </InstallExecuteSequence> For this i get error, Error 1722. Any help how do i stop the service before i start my installation? I ran out.. Thanks -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/how-to-stop-ms iserver-net-stop-msiserver-tp5516817p5516817.html Sent from the wix-devs mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ WiX-devs mailing list WiX...@li... https://lists.sourceforge.net/lists/listinfo/wix-devs |