/build/static/layout/Breadcrumb_cap_w.png

Checking sanity, Major Upgrade.

Gahhh, just need to check my sanity. I’m sure I have done this correctly.

 

Major upgrade:  Change the product and package code, increase version number. Ensure entry in Upgrade Table – see below.

 

 

RemoveExsistingProducts action (with no conditions) is placed after InstallFinalize action.

 

After I install to test, it dosent remove the old version (noooooo).

 

Logs:

 

 <Snip>
MSI (s) (9C:00) [10:36:45:276]: Doing action: FindRelatedProducts
Action ended 10:36:45: LaunchConditions. Return value 1.
MSI (s) (9C:00) [10:36:45:276]: Using cached product context: machine assigned for product: 80D08734567DB7846ACB22CADD5792EF
MSI (s) (9C:00) [10:36:45:276]: Using cached product context: machine assigned for product: 80D08734567DB7846ACB22CADD5792EF
MSI (s) (9C:00) [10:36:45:276]: Using cached product context: machine assigned for product: 80D08734567DB7846ACB22CADD5792EF
Action start 10:36:45: FindRelatedProducts.
MSI (s) (9C:00) [10:36:45:276]: Skipping action: ISPreventDowngrade (condition is false)
MSI (s) (9C:00) [10:36:45:276]: Skipping action: CCPSearch (condition is false)
MSI (s) (9C:00) [10:36:45:276]: Skipping action: RMCCPSearch (condition is false)
MSI (s) (9C:00) [10:36:45:276]: Doing action: ValidateProductID
Action ended 10:36:45: FindRelatedProducts. Return value 1.
<snap>


<Snip>
MSI (s) (9C:00) [10:36:48:599]: Doing action: RemoveExistingProducts
Action ended 10:36:48: InstallFinalize. Return value 1.
Action start 10:36:48: RemoveExistingProducts.
Action ended 10:36:48: RemoveExistingProducts. Return value 1.
Action ended 10:36:48: INSTALL. Return value 1.
<snap>

 

 

Thanks for any thoughts on the above.


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: rileyz 10 years ago
Red Belt
0

Bah, fixed it.

Needed to add another line to the Upgrade Table as the the "isPreventDowngrade" is not sufficient.

http://community.flexerasoftware.com/showthread.php?202129-Major-Upgrade-Not-Uninstalling-Previous-Version

 Same as in the picture above, but in the Attbs and Action column it was
257, and REMOVEEXISTINGPRODUCTS.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
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