Thanks for your response.
Incase, if my earlier installation fails and MSISERVER runs for next few
minutes
(this what i learnt msiserver runs even after installation completion). Which
may create a problems if the user re-installs the same MSI. If i'm wrong please
correct my understanding
________________________________
From: Rob Mensching <r...@robmensching.com>
To: Windows Installer XML toolset developer mailing list
<wix-devs@lists.sourceforge.net>
Sent: Thu, September 9, 2010 10:53:37 PM
Subject: Re: [WiX-devs] how to stop msiserver "net stop msiserver"
Why do you want to stop the Windows Installer when it is installing your
package?
On Thu, Sep 9, 2010 at 6:28 PM, softcoder <arajesh.pe...@yahoo.com> wrote:
>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-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
>WiX-devs@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-devs
>
>
--
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
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-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs