/build/static/layout/Breadcrumb_cap_w.png

Custom action conditions to run on upgrade only?

I'd like to run a custom action in my msi (packaged in Wise) that will only run if it is upgrading a previous version. It doesn't need to run if being installed, repaired or uninstalled....just when upgrading.

Can anyone suggest the conditions that I need to set for this custom action or another way to do this?

Thanks in advance.

Mike

0 Comments   [ + ] Show comments

Answers (2)

Posted by: kiptek 16 years ago
Second Degree Green Belt
0
UPGRADE=1...??? (this was from an install with an embedded MSDE that needed to be upgraded - ARGGHHH!)

Make sure you place the custom action after the installer verifies its an upgrade... Also depending on what your CA is doing, watch where your RemoveExistingProducts is in the install sequence.
Posted by: jmcfadyen 16 years ago
5th Degree Black Belt
0
in the upgrade table the column on the right contains the name of a property which will be set during upgrade states.

You should be able to use that property name as the condition. It will be different for each application so I cant provide more detail on the name.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ