From 8272a15787d961af49514d8160be97019022a3d8 Mon Sep 17 00:00:00 2001 From: Michael Paik Date: Thu, 22 Jan 2015 17:39:48 -0500 Subject: [PATCH 1/3] DOCS-4099 - unattended windows installation instructions --- source/includes/fact-windows-unattended.rst | 33 +++++++++++++++++++ .../install-mongodb-enterprise-on-windows.txt | 2 ++ .../tutorial/install-mongodb-on-windows.txt | 2 ++ 3 files changed, 37 insertions(+) create mode 100644 source/includes/fact-windows-unattended.rst diff --git a/source/includes/fact-windows-unattended.rst b/source/includes/fact-windows-unattended.rst new file mode 100644 index 00000000000..ea6f89eceb4 --- /dev/null +++ b/source/includes/fact-windows-unattended.rst @@ -0,0 +1,33 @@ +Install Windows Unattended +-------------------------- + +You may install MongoDB unattended on Windows from the command line +through the use of ``msiexec.exe``. Open a shell in the directory +containing the ``.msi`` installation binary of your choice and +invoke: + +.. code-block:: powershell + + msiexec.exe /q /i mongodb--signed.msi INSTALLLOCATION="" + +By default, this method installs all MongoDB binaries except the router (``mongos.exe``) and miscellaneous tools (``bsondump.exe``, ``mongofiles.exe``, ``mongooplog.exe``, and ``mongoperf.exe``) to the directory specified in ````. To install specific subsets of the binaries, you may specify an ``ADDLOCAL`` argument: + +.. code-block:: powershell + + msiexec.exe /q /i mongodb--signed.msi INSTALLLOCATION="" ADDLOCAL= + +where ```` is a comma-separated list of one or more of: + +- ``Server`` - includes ``mongod.exe`` +- ``Client`` - includes ``mongo.exe`` +- ``MonitoringTools`` - includes ``mongostat.exe`` and ``mongotop.exe`` +- ``ImportExportTools`` - includes ``mongodump.exe``, ``mongorestore.exe``, ``mongoexport.exe``, and ``mongoimport.exe``) +- ``MiscellaneousTools`` - includes ``bsondump.exe``, ``mongofiles.exe``, ``mongooplog.exe``, and ``mongoperf.exe`` + +For instance, to install the entire set of tools only to ``C:\mongodb``, invoke: + +.. code-block:: powershell + + msiexec.exe /q /i mongodb--signed.msi INSTALLLOCATION="C:\mongodb" ADDLOCAL=MonitoringTools,ImportExportTools,MiscellaneousTools + +You may also specify ``ADDLOCAL=ALL`` to install the complete set of binaries. diff --git a/source/tutorial/install-mongodb-enterprise-on-windows.txt b/source/tutorial/install-mongodb-enterprise-on-windows.txt index 3fdeadf1a88..37369c3b58a 100644 --- a/source/tutorial/install-mongodb-enterprise-on-windows.txt +++ b/source/tutorial/install-mongodb-enterprise-on-windows.txt @@ -63,3 +63,5 @@ If you have installed in an alternative directory, you will need to adjust the paths as appropriate. .. include:: /includes/steps/create-manually-windows-service-for-mongodb-enterprise.rst + +.. include:: /includes/fact-windows-unattended.rst diff --git a/source/tutorial/install-mongodb-on-windows.txt b/source/tutorial/install-mongodb-on-windows.txt index 5f9c611de3c..b0cf5fcdaa2 100644 --- a/source/tutorial/install-mongodb-on-windows.txt +++ b/source/tutorial/install-mongodb-on-windows.txt @@ -63,3 +63,5 @@ If you have installed in an alternative directory, you will need to adjust the paths as appropriate. .. include:: /includes/steps/create-manually-windows-service-for-mongodb.rst + +.. include:: /includes/fact-windows-unattended.rst From a04a7932fd108a30be52c09f7ca58b39fc864620 Mon Sep 17 00:00:00 2001 From: Michael Paik Date: Fri, 23 Jan 2015 13:22:02 -0500 Subject: [PATCH 2/3] DOCS-4099 --- source/includes/fact-windows-unattended.rst | 26 ++++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/source/includes/fact-windows-unattended.rst b/source/includes/fact-windows-unattended.rst index ea6f89eceb4..2b4fe857db2 100644 --- a/source/includes/fact-windows-unattended.rst +++ b/source/includes/fact-windows-unattended.rst @@ -2,15 +2,19 @@ Install Windows Unattended -------------------------- You may install MongoDB unattended on Windows from the command line -through the use of ``msiexec.exe``. Open a shell in the directory -containing the ``.msi`` installation binary of your choice and -invoke: +using ``msiexec.exe``. Open a shell in the directory containing the +``.msi`` installation binary of your choice and invoke: .. code-block:: powershell msiexec.exe /q /i mongodb--signed.msi INSTALLLOCATION="" -By default, this method installs all MongoDB binaries except the router (``mongos.exe``) and miscellaneous tools (``bsondump.exe``, ``mongofiles.exe``, ``mongooplog.exe``, and ``mongoperf.exe``) to the directory specified in ````. To install specific subsets of the binaries, you may specify an ``ADDLOCAL`` argument: +By default, this method installs all MongoDB binaries except the +router (``mongos.exe``) and miscellaneous tools (``bsondump.exe``, +``mongofiles.exe``, ``mongooplog.exe``, and ``mongoperf.exe``) to the +directory specified in ````. To install +specific subsets of the binaries, you may specify an ``ADDLOCAL`` +argument: .. code-block:: powershell @@ -20,11 +24,15 @@ where ```` is a comma-separated list of one or more of: - ``Server`` - includes ``mongod.exe`` - ``Client`` - includes ``mongo.exe`` -- ``MonitoringTools`` - includes ``mongostat.exe`` and ``mongotop.exe`` -- ``ImportExportTools`` - includes ``mongodump.exe``, ``mongorestore.exe``, ``mongoexport.exe``, and ``mongoimport.exe``) -- ``MiscellaneousTools`` - includes ``bsondump.exe``, ``mongofiles.exe``, ``mongooplog.exe``, and ``mongoperf.exe`` - -For instance, to install the entire set of tools only to ``C:\mongodb``, invoke: +- ``MonitoringTools`` - includes ``mongostat.exe`` and + ``mongotop.exe`` +- ``ImportExportTools`` - includes ``mongodump.exe``, + ``mongorestore.exe``, ``mongoexport.exe``, and ``mongoimport.exe``) +- ``MiscellaneousTools`` - includes ``bsondump.exe``, + ``mongofiles.exe``, ``mongooplog.exe``, and ``mongoperf.exe`` + +For instance, to install the entire set of tools only to +``C:\mongodb``, invoke: .. code-block:: powershell From 035fa68768307eeead566635b51a903917ff7b37 Mon Sep 17 00:00:00 2001 From: Michael Paik Date: Fri, 23 Jan 2015 13:25:52 -0500 Subject: [PATCH 3/3] DOCS-4099 --- source/includes/fact-windows-unattended.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/includes/fact-windows-unattended.rst b/source/includes/fact-windows-unattended.rst index 2b4fe857db2..06c3c301ef4 100644 --- a/source/includes/fact-windows-unattended.rst +++ b/source/includes/fact-windows-unattended.rst @@ -1,5 +1,5 @@ -Install Windows Unattended --------------------------- + Unattended Installation of MongoDB for Windows +----------------------------------------------- You may install MongoDB unattended on Windows from the command line using ``msiexec.exe``. Open a shell in the directory containing the