To install unattended the default MongoDB binaries run this command:
msiexec /q /i mongodb-<VERSION>-signed.msi
This includes all the binaries except the Router (mongos.exe) and Miscellaneous Tools (bsondump.exe, mongofiles.exe, mongooplog.exe, mongoperf.exe).
To install unattended the MongoS (router) binary run this command:
msiexec /q /i mongodb-<VERSION>-signed.msi ADDLOCAL=Router
To install unattended the MongoS (router) binary and the MonitoringTools run this command:
msiexec /q /i mongodb-<VERSION>-signed.msi ADDLOCAL=Router,MonitoringTools
Other options:
- Server (mongod.exe, mongod.pdb)
- Client (mongo.exe)
- MonitoringTools (mongostat.exe, mongotop.exe)
- ImportExportTools (mongodump.exe, mongorestore.exe mongoexport.exe, mongoimport.exe)
- MiscellaneousTools (bsondump.exe, mongofiles.exe, mongooplog.exe, mongoperf.exe)
- ALL
By default it will be installed in the following directory:
C:\Program Files\MongoDB 2.6 Enterprise\bin\
- related to
-
DOCS-1981 Document : installation of MongoDB using the msi
- Closed