Can the custom action run at first use instead of install?

-Dustin

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Feng
Sent: Saturday, May 12, 2007 10:42 AM
To: Rob Mensching
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Ignore Custom Action on Repair

I would also like to avoid any trickery.  Do you have any suggestions for 
alternatives?

Thanx,

Aaron
On 5/12/07, Rob Mensching < [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
Note, this sort of design is generally very fragile and I always encourage 
people to rethink their need for this sort of trickiery during setup.

-----Original Message-----
From: Aaron Feng [mailto:[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>]
Sent: Friday, May 11, 2007 4:49 PM
To: Rob Mensching; 
wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge.net>
Subject: Re: [WiX-users] Ignore Custom Action on Repair

I have a custom action that runs a tool during install.  I do not want
this tool to run during repair, in fact I only want this custom action
to run only during the inital install.  Currently it will attempt to
run the custom action during repair which causes an error from the
tool.

Aaron

On 5/11/07, Rob Mensching < [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
>
>
>
>
> After InstallFinalize?  That isn't part of the transaction.  What are you
> trying to accomplish?
>
>
>
>
> From: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
> [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] On Behalf
> Of Aaron Feng
>  Sent: Friday, May 11, 2007 2:31 PM
>  To: wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge.net>
>  Subject: [WiX-users] Ignore Custom Action on Repair
>
>
>
>
> I run a custom action during install which works fine, but I don't want to
> run it during repair.  I tried every possible way, but no luck.  Here is an
> example what I'm doing:
>
>  <InstallExecuteSequence>
>
>    <Custom Action="MyAction1" After="InstallFinalize">
>                  <![CDATA[(&MyFeature1=3) AND (NOT Installed)]]>
>    </Custom>
>
>    <Custom Action="MyAction2" After="InstallFinalize">
>                  <![CDATA[(&MyFeature2=3)) AND (NOT Installed)]]>
>    </Custom>
>
>  </InstallExecuteSequence>
>
>  Thanx,
>
>  Aaron

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to