[wix-users] Custom Action Scheduled for Feature Upgrade

Fyodor Koryazhkin fyodorkor at gmail.com
Wed Feb 1 06:35:04 PST 2017


Hi,
You did not specify at what place you put your custom action, but just be
aware that you cannot condition your custom action with component or
feature state/action if your custom action placed before CostFinalize
standard action. This is the place where all components and features
action/states are calculated.

For the second part of the question: The Action property from the Upgrade
table is populated only during upgrade - this is done during
FindRelatedProducts standard action. It is populated with the product code
of the Product that is to be removed.

On Wed, Feb 1, 2017 at 4:26 PM, Griesshammer, Christoph (GE Healthcare) <
christoph.griesshammer at ge.com> wrote:

> I've been struggling to get a custom action condition correct. I need to
> run the custom action during an upgrade, but ONLY if a specific feature is
> being upgraded.
>
> (!Feature = 3 AND &Feature = 3)
>
> I have tried the above, but it doesn't work. What I've seen is that
> essentially the uninstall of the old package during the install says the
> feature is local and will be absent after, but the install of the new
> package says the feature is absent and will be local after.
>
> How do I get the condition to realize I'm talking about the OVERALL
> upgrade and not just the install portion of the upgrade?
>
> Christoph Griesshammer
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



-- 
Regards,
Fyodor Koryazhkin..


More information about the wix-users mailing list