Well, it wouldn't because the REINSTALL property is set during repair and
you're conditioning on NOT REINSTALL.


On 29 August 2013 14:19, nkshirsagar <nkshirsa...@gmail.com> wrote:

> Hi John,
>
> I'm doing it this way as of now ..
>
>     <InstallExecuteSequence>
>       <Custom Action="RunInstallScript" After="InstallFiles" >NOT
> Installed</Custom>
>     </InstallExecuteSequence>
>     <InstallExecuteSequence>
>       <Custom Action='BeforeUninstall' Before='InstallValidate'>Installed
> AND (NOT REINSTALL)</Custom>
>     </InstallExecuteSequence>
>     <CustomAction Id="RunInstallScript" ExeCommand="cmd /c
> install-solidfireprovider.cmd" Directory="INSTALLFOLDER" Execute="deferred"
> Return="check"/>
>     <CustomAction Id="BeforeUninstall" ExeCommand="cmd /c
> uninstall-solidfireprovider.cmd" Directory="INSTALLFOLDER"
> Execute="immediate" Return="check"/>
>
> The only problem is repair doesnt execute the uninstall script, so the
> filesinUse pops up during repair. Otherwise, I dont see it during uninstall
> because I guess my uninstall CA gets called before Install Validate, which
> is what I want.
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/stop-a-service-before-uninstall-tp7588564p7588570.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to