[SERVER-69147] Documented ADDLOCAL options no longer work when installing 6.0 MSI (Windows) Created: 25/Aug/22  Updated: 30/Aug/22  Resolved: 30/Aug/22

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

Type: Bug Priority: Major - P3
Reporter: Brian Poteet Assignee: Chris Kelly
Resolution: Done Votes: 0
Labels: installer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2022-08-26-21-48-51-381.png    
Issue Links:
Related
related to DOCS-15593 [Server] Update Windows installer doc... Closed
Operating System: ALL
Steps To Reproduce:

Run the MSI with the documented arguments:

msiexec.exe /l*v mdbinstall.log  /qb /i mongodb-windows-x86_64-6.0-signed.msi ^
            ADDLOCAL="ServerService,LegacyClient" ^
            SHOULD_INSTALL_COMPASS="0"

Participants:

 Description   

The MongoDB 6.0 [installation instructions|Install MongoDB Community on Windows using msiexec.exe — MongoDB Manual] indicate the "ImportExportTools" and "LegacyClient" should be valid options when installing with msiexec.exe, but they lead to an immediate error. Some options like "ServerNoService" still work. Is the documentation wrong or is this an installer bug?



 Comments   
Comment by Brian Poteet [ 30/Aug/22 ]

Thanks for your response! Just wanted to make sure the docs reflect the expected behavior.

Comment by Chris Kelly [ 27/Aug/22 ]

Hi Brian,

Most likely this is related to the fact that the legacy mongo shell was removed in 6.0.

I was able to reproduce this behavior on Windows 10 and got the following error:

If you insert invalid information into ADDLOCAL (such as a random string) you will get this same error. What you are looking for now is mongosh, which has replaced the legacy mongo shell. A windows installer is available in the MongoDB Download Center as a separate .msi installer. I will look into getting the docs updated to reflect this change.

As for the ImportExportTools, this is also likely due to these tools no longer being bundled in MongoDB 4.4+, which will require an update to the docs. 

Thank you for your report!

Regards,
Christopher

Generated at Thu Feb 08 06:12:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.