Thanks.

-----Original Message-----
From: Alexander Shevchuk [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 02, 2008 20:15
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Execute a Custom action only when a specific
component is removed

Hi Yuval,

If you schedule your custom action after CostFinalize, you can use
$MyComponent=2 condition.  This means that component is about to be
uninstalled.  You also need to add condition if you don't want your
custom action to run on complete uninstall.
More on feature and component states:
http://msdn.microsoft.com/en-us/library/aa368012(VS.85).aspx

You can't use REMOVE because component can be shared by more than one
feature.

Alex



-----Original Message-----
From: Yuval David [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2008 6:28 AM
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] Execute a Custom action only when a specific
component is removed

Hi,

I'm trying to execute a custom action only after I remove a specific
component (using "Change").

Is there an option to do that? Can I write "Remove="the name of the
component" as a condition for execution of the CA?

Does someone know if it's possible?



Thanks,

Yuval

------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to