[SERVER-22825] Install a registry key with the path to the current version's installation directory on Windows Created: 24/Feb/16  Updated: 05/Dec/22  Resolved: 16/Nov/22

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 3.0.7, 3.3.2
Fix Version/s: Needs Further Definition

Type: New Feature Priority: Minor - P4
Reporter: Trevor Karjanis Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Won't Do Votes: 0
Labels: sdp-backlog-purge
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Development Platform
Participants:

 Description   

Mongo is installing to directories defined by its major version on Windows.
https://github.com/mongodb/mongo/blob/master/src/mongo/installer/msi/wxs/Installer.wxs

For the benefit of other installers that depend on mongo and need to execute command line procedures, it would be helpful if the installation directory of the currently installed version was accessible from a registry key. For example:
HKLM\SOFTWARE\MongoDB\Server\CurrentVersion with a registry value named "Path" with value "HKEY_LOCAL_MACHINE\SOFTWARE\MongoDB\Server\3.0"



 Comments   
Comment by Iryna Zhuravlova [ 16/Nov/22 ]

After a careful backlog refinement, the team decided to close this ticket because of its low priority and limited resource capacity. If you believe that this ticket requires additional attention from the team and should be re-opened, feel free to change the status to "Needs Scheduling" and ping me or @alexander.neben

Comment by Trevor Karjanis [ 24/Feb/16 ]

A comment to correct the copy and paste error:
HKLM\SOFTWARE\MongoDB\Server\CurrentVersion with a registry value named "Path" with value "C:\Program Files\MongoDB\Server\3.0"

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