You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installing mongodb.install...
WARNING: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/lv c:\mongodb.install_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error.
ERROR: Running ["C:\WINDOWS\System32\msiexec.exe" /i "C:\Users\john.davies\AppData\Local\Temp\chocolatey\mongodb.install\6.1.0\mongodb-windows-x86_64-6.1.0-signed.msi" ADDLOCAL="ServerService,Server,ProductFeature,Client,Router,MiscellaneousTools" /qn /norestart MONGO_DATA_PATH="C:\ProgramData\MongoDB\data\db" MONGO_LOG_PATH="C:\ProgramData\MongoDB\log" ] was not successful. Exit code was '1603'. Exit code indicates the following: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/lv c:\mongodb.install_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error..
The install of mongodb.install was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\mongodb.install\tools\chocolateyInstall.ps1'.
See log for details.
Expected Behavior
Should install successfully with no error
Current Behavior
Installation is failing with "Return Value 3"
Possible Solution
Problem is this parameter passed to MongoDB installer is wrong:
Installing mongodb.install...
WARNING: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/lv c:\mongodb.install_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error.
ERROR: Running ["C:\WINDOWS\System32\msiexec.exe" /i "C:\Users\john.davies\AppData\Local\Temp\chocolatey\mongodb.install\6.1.0\mongodb-windows-x86_64-6.1.0-signed.msi" ADDLOCAL="ServerService,Server,ProductFeature,Client,Router,MiscellaneousTools" /qn /norestart MONGO_DATA_PATH="C:\ProgramData\MongoDB\data\db" MONGO_LOG_PATH="C:\ProgramData\MongoDB\log" ] was not successful. Exit code was '1603'. Exit code indicates the following: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/lv c:\mongodb.install_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error..
The install of mongodb.install was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\mongodb.install\tools\chocolateyInstall.ps1'.
See log for details.
Expected Behavior
Should install successfully with no error
Current Behavior
Installation is failing with "Return Value 3"
Possible Solution
Problem is this parameter passed to MongoDB installer is wrong:
ADDLOCAL="ServerService,Server,ProductFeature,Client,Router,MiscellaneousTools"
https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-windows-unattended/
Only options are:
ADDLOCAL="ServerNoService,ServerService,Router,MonitoringTools,ImportExportTools,MiscellaneousTools"
Steps to Reproduce (for bugs)
Context
Can't install MongoDB using choco.
Your Environment
Latest package version.
Windows 10, fully patched.
Chocolatey version 1.2.1
The text was updated successfully, but these errors were encountered: