/build/static/layout/Breadcrumb_cap_w.png

Updating procedure

I have a package that is version 2.0 and my cilent would like to have the latest verison which is 2.2 because that is the verison the vendor will support. So, my question is if i'm doing the right procedure by taking the 2.0 package, changing only the product code(leaving the upgrade code alone) and replacing/adding the files required to have a 2.2 package? Now the problem i do see here is that when you go to add/remove programs, there are now both the 2.0 and 2.2 packges listed. Is this suppose to be there?

0 Comments   [ + ] Show comments

Answers (2)

Posted by: spartacus 17 years ago
Black Belt
0
You are part the way there [;)]

In the v2.2 package you have created you need to check that the value in the ProductVersion property has been incremented and then make sure the 2.2 package has an Upgrade Table. This table, as a bare minimum, should containing the following entry :

Upgrade Code : <Enter the GUID held in the UpgradeCode property>
VersionMin : <leave this completely blank>
VersionMax : <value of ProductVersion property in your v2.2 package>
Attributes : 0

If VersionMin is set to blank and Attributes is set to 0 this will means that all previous versions of the package up to but not including v2.2 will be removed when v2.2 is installed.

For more documentation on the Upgrade Table try here

Regards,

Spartacus
Posted by: bheers 17 years ago
Second Degree Blue Belt
0
And also the removeexistingproduct action in Execute immediate of the msiscript should be inbetween, "InstallInitialise" and "InstallValidate"
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