Skip to content

Commit 10ad3b4

Browse files
steverenkay-kim
authored andcommitted
DOCS-11590: Update unattended installation for Windows to include new Compass Installer vars
1 parent f023bcb commit 10ad3b4

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

source/includes/release-base.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@ code: |
4646
INSTALLLOCATION="{{location}}" ^
4747
ADDLOCAL="{{addlocal}}"
4848
---
49+
ref: _install-windows-nocompass
50+
copyable: true
51+
language: powershell
52+
code: |
53+
msiexec.exe /q /i mongodb-win32-x86_64-2008plus-ssl-{{version}}-signed.msi ^
54+
INSTALLLOCATION="{{location}}" ^
55+
ADDLOCAL="{{addlocal}}" ^
56+
SHOULD_INSTALL_COMPASS="0"
57+
---
4958
ref: _install-windows-ent
5059
copyable: true
5160
language: powershell

source/includes/release-specifications.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ replacement:
7272
location: 'C:\Program Files\MongoDB\Server\{{version}}\'
7373
addlocal: 'all'
7474
---
75+
ref: install-windows-nocompass
76+
source:
77+
file: release-base.yaml
78+
ref: _install-windows-nocompass
79+
replacement:
80+
location: 'C:\Program Files\MongoDB\Server\{{version}}\'
81+
addlocal: 'all'
82+
---
7583
ref: install-windows-addlocal
7684
source:
7785
file: release-base.yaml

source/includes/steps-install-mongodb-on-windows-unattended.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ pre: |
4444
For instance, to install *only* the MongoDB utilities, invoke:
4545
4646
.. include:: {{release_specification_addlocal}}
47+
48+
If you do NOT wish to install :ref:`MongoDB Compass <compass-index>`
49+
at this time, include the ``SHOULD_INSTALL_COMPASS="0"`` argument.
50+
51+
.. include:: {{release_specification_nocompass}}
52+
4753
replacement:
4854
release_specification_default: "/includes/release/install-windows-default.rst"
4955
release_specification_addlocal: "/includes/release/install-windows-addlocal.rst"
56+
release_specification_nocompass: "/includes/release/install-windows-nocompass.rst"

0 commit comments

Comments
 (0)