[SERVER-39014] Incorrect error reported while re-installing with the Windows MSI Created: 15/Jan/19  Updated: 29/Oct/23  Resolved: 25/Feb/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 4.0.5
Fix Version/s: 4.0.7, 4.1.9

Type: Improvement Priority: Minor - P4
Reporter: Daniel Coupal Assignee: Henrik Edin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File mongodb_win_installation_issue.png    
Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: Dev Tools 2019-02-11, Dev Tools 2019-02-25
Participants:

 Description   

Start with a Windows machine with a given MongoDB version installed. In this case, 4.0.5 was installed.

Try to install the same version through the command line with:

msiexec.exe /l*v mdbinstall.log /qb /i mongodb-win32-x86_64-2008plus-ssl-4.0.5-signed.msi

The installation tool will report an error about not finding %MONGODB_DATA_PATH% in mongod.conf.

The error message is misleading.

This is not an issue if the installation is done through the UI, or there are no version of MongoDB install on the machine.



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

Author:

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

Message: SERVER-39014 Handle running the MSI installer when already installed.

(cherry picked from commit 17ba3d195909022f8de420b09aeb7b18018b4d72)
Branch: v4.0
https://github.com/mongodb/mongo/commit/223969c954a9c78f7ff722545801a18fbad38fe5

Comment by Githook User [ 25/Feb/19 ]

Author:

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

Message: SERVER-39014 Handle running the MSI installer when already installed.
Branch: master
https://github.com/mongodb/mongo/commit/17ba3d195909022f8de420b09aeb7b18018b4d72

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