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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 07/23/2008 by: kiptek
Second Degree Green Belt

Please log in to comment
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.
Answered 07/23/2008 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity