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="&quot;/c net
stop msiserver&quot;" />
        <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-msiserver-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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to