. I am trying to do an automated install of MongoDB Community Edition 3.6.2 on a Window server that is not connected to the Internet.
The problem is the MSI install fails due to the attempted download of the Compass toolset at the end of the process. As I do not need to install Compass I thought I should be able to disable the installation of this feature.
However, when I pass in command line to only install specific MongoDb features, as per the documentation,
msiexec.exe
/qn
/i mongodb-win32-x86_64-2008plus-ssl-3.6.2-signed.msi
INSTALLLOCATION="C:\Program Files\MongoDB\Server\3.6\"
ADDLOCAL=Server
/l*v MongoDBInstall.log
the install fails with the following error (in the MSEXEC error log). the error occurs whenever the ADDLOCAL parameter is set to anything other than ALL
WixQuietExec64: The expression after '&' in a pipeline element produced an object that was not valid. It must result in a command WixQuietExec64: name, a script block, or a CommandInfo object. WixQuietExec64: At line:1 char:3
WixQuietExec64: + & '' ; exit $($Error.Count) WixQuietExec64: + ~~
WixQuietExec64: + CategoryInfo : InvalidOperation: (:String) , RuntimeException WixQuietExec64: + FullyQualifiedErrorId : BadExpression
WixQuietExec64:
WixQuietExec64: Error 0x80070001: Command line returned an error.
WixQuietExec64: Error 0x80070001: QuietExec64 Failed
WixQuietExec64: Error 0x80070001: Failed in ExecCommon method
CustomAction InstallCompassScript returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Anyone seen this before, and have a solution?
There is an option for installing that compass in the MSI. By default, it will be selected to install, Deselect that option and try to install.
It will appear after giving the complete install as showing in image below
Hope this helps.,
I just ran into this problem and examining the log. I found the property SHOULD_INSTALL_COMPASS
.
So try this command:
msiexec.exe
/qn
/i mongodb-win32-x86_64-2008plus-ssl-3.6.2-signed.msi
INSTALLLOCATION="C:\Program Files\MongoDB\Server\3.6\"
ADDLOCAL=Server
SHOULD_INSTALL_COMPASS=0
/l*v MongoDBInstall.log
User contributions licensed under CC BY-SA 3.0