Hi Rob,

I've just been focusing on the basic install/uninstall right now, but I would 
like to use a few of these actions in a repair situation.  What condition 
should I use in that case?

Thanks!

Brad


-----Original Message-----
From: Rob Hamflett [mailto:r...@snsys.com] 
Sent: Tuesday, May 24, 2011 3:21 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How To Run Custom Action During Install But Not During 
Uninstall

Just to let you know if you didn't, but that condition will mean your Custom 
Action won't run during a repair, in case it's important.

Rob

On 23/05/2011 20:44, Bradley Ward wrote:
> OK, I figured my particular case out.
>
> The condition you want to use is simply "NOT Installed".
>
> Example:
>
> <Custom Action="MyCustomAction" Before="ProcessComponents">NOT 
> Installed</Custom>
>
> In this example, the MyCustomAction action will be run during the 
> installation sequence, but will not be run during the uinstall sequence.
>
> Brad
>
>
> -----Original Message-----
> From: Bradley Ward [mailto:bradley.w...@turnpoint-solutions.com]
> Sent: Monday, May 23, 2011 3:32 PM
> To: Wix-Users List (wix-users@lists.sourceforge.net)
> Subject: [WiX-users] How To Run Custom Action During Install But Not 
> During Uninstall
>
> Is there a good FAQ anywhere? It is so frustrating trying to figure out how 
> to do things that zillions of others must be doing all the time...
>
> In my case, I just want to run a custom action at install time. I have the 
> custom action running just fine at install time now, but it also gets run 
> when I uninstall the application.
>
> How can I stop it from running during the uninstall?
>
> Thanks in advance!
>
> Brad
>
> ----------------------------------------------------------------------
> -------- What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its 
> next-generation tools to help Windows* and Linux* C/C++ and Fortran 
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ----------------------------------------------------------------------
> -------- What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its 
> next-generation tools to help Windows* and Linux* C/C++ and Fortran 
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, you get 
blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to