Dowload error of Compass during unattentended installation. Can it be skipped?

224 views
Skip to first unread message

mong...@gmail.com

unread,
Apr 5, 2018, 6:37:54 AM4/5/18
to mongodb-user
I use a chocolatey package to install mongodb automatically and obviously it is installed in unattended mode. Now the msi installer fails because it tries to execute powershell script to download the compass and the URL is broken. I checked the documentation about the installer in unattended mode but I couldn't find any parameter to skip the installation of Compass, therefore I wanted only to ask, if there is a parameter to pass to the msi installer to skip the installation of Compass when mongodb is installed in unattended mode.

MSI (s) (5C:C0) [11:33:29:831]: Executing op: CacheSizeFlush(,)
MSI
(s) (5C:C0) [11:33:29:831]: Executing op: ActionStart(Name=InstallCompassScript,Description=Installing MongoDB Compass... (this may take a few minutes),)
MSI
(s) (5C:C0) [11:33:29:847]: Executing op: CustomActionSchedule(Action=InstallCompassScript,ActionType=1025,Source=BinaryData,Target=WixQuietExec64,CustomActionData="C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Bypass -Command "& 'C:\Program Files\MongoDB\Server\3.6\bin\InstallCompass.ps1' ; exit $($Error.Count)")
MSI
(s) (5C:80) [11:33:29:847]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIF4B0.tmp, Entrypoint: WixQuietExec64
MSI
(s) (5C:EC) [11:33:29:847]: Generating random cookie.
MSI
(s) (5C:EC) [11:33:29:847]: Created Custom Action Server with PID 2952 (0xB88).
MSI
(s) (5C:50) [11:33:29:878]: Running as a service.
MSI
(s) (5C:50) [11:33:29:878]: Hello, I'm your 32bit Impersonated custom action server.
WixQuietExec64:  Downloading Compass from https://compass.mongodb.com/api/v2/download/latest/compass-community/stable/windows
WixQuietExec64:  Invoke-WebRequest : The remote server returned an error: (404) Not Found.
WixQuietExec64:  At C:\Program Files\MongoDB\Server\3.6\bin\InstallCompass.ps1:35 char:1
WixQuietExec64:  + Invoke-WebRequest -Uri $CompassUrl -OutFile $CompassExe
WixQuietExec64:  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
WixQuietExec64:      + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) , WebExc
WixQuietExec64:     eption
WixQuietExec64:      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
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)
MSI (s) (5C:C0) [11:33:30:847]: Note: 1: 2265 2:  3: -2147287035
MSI (s) (5C:C0) [11:33:30:847]: User policy value '
DisableRollback' is 0
MSI (s) (5C:C0) [11:33:30:847]: Machine policy value '
DisableRollback' is 0
Action ended 11:33:30: InstallFinalize. Return value 3.



Reply all
Reply to author
Forward
0 new messages