[SERVER-39072] Fallback to directory search if VC redist location does not match registry Created: 17/Jan/19  Updated: 29/Oct/23  Resolved: 18/Jan/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.1.8

Type: Bug Priority: Major - P3
Reporter: Henrik Edin Assignee: Henrik Edin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Dev Tools 2019-01-28
Participants:
Linked BF Score: 74

 Description   

According to https://docs.microsoft.com/en-us/cpp/ide/redistributing-visual-cpp-files?view=vs-2017 the MergeModules and vcredist_x64.exe is supposed to be located in a directory with a library version name that can be looked up in the Windows registry.

However that doesn't seem to be the case if a newer redist version is installed on the system which happens during the Visual Studio 2017 15.9.4 to 15.9.5 upgrade.

If the files can't be located, fallback to a directory serach and take the latest version available.



 Comments   
Comment by Githook User [ 18/Jan/19 ]

Author:

{'username': 'henrikedin', 'email': 'henrik.edin@mongodb.com', 'name': 'Henrik Edin'}

Message: SERVER-39072 Fallback to directory search if MergeModules are not located as expected according to the registry
Branch: master
https://github.com/mongodb/mongo/commit/2eedcf859be1524f9dfd0b9ceda76985ae7f7a58

Comment by Githook User [ 18/Jan/19 ]

Author:

{'username': 'henrikedin', 'email': 'henrik.edin@mongodb.com', 'name': 'Henrik Edin'}

Message: SERVER-39072 Fallback to directory search if VC redist is not located as expected according to the registry
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/774775eb10210e607701df9e71848b699fb368ff

Generated at Thu Feb 08 04:50:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.