[SERVER-12903] MSI Upgrade does not work Created: 26/Feb/14  Updated: 11/Jul/16  Resolved: 28/Feb/14

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 2.6.0-rc0
Fix Version/s: 2.6.0-rc1

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Steps To Reproduce:

Make a version of the MSI with current version, and one with the next version. Then install, and uninstall in various combinations.

Participants:

 Description   

Windows upgrade is broken for the following reasons:
1. Each version of mongo is installed to a unique directory, ie 2.6.0, and 2.6.1
2. The WIX code does not check for upgrade or downgrade
3. The Wix uses the same upgrade code for each MSI, these should be unique per version



 Comments   
Comment by Githook User [ 28/Feb/14 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-12903: Fix MSI Upgrade

1. Each version of mongo is installed to a unique directory, ie 2.6.0, and 2.6.1, changed it to be the major version instead 2.6
2. Added a MajorUpgrade element to prevent downgrade, and do the proper thing on upgrade

Minor: The Wix uses the same upgrade code for each MSI, these should be unique per flavor
Branch: master
https://github.com/mongodb/mongo/commit/8e744bf129d0435aa3b17368b76282432af26db6

Generated at Thu Feb 08 03:30:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.