VMware Horizon Community
nvpapworth
Contributor
Contributor

VIDM Silent Installer

I'm attempting to install the Horizon View VIDM server, using a silent installer. I cannot find any documentation online regarding the command line options. When the installer runs in silent mode using the parameters below its runs for around 3 minutes, then fails with some kind of internal error 1603 with no real indication of what's wrong (credentials and host/domain names have been sanitized here). Some of the parameters may not be relevant as they were added after looking at other installers...

Start-Process "C:\vidm\VMware_Identity_Manager_19.03.0.0_Full_Install.exe" -Verb RunAs -ArgumentList ('/s', '/v"/qn AgreeToLicense=Yes EULAS_AGREED=1 ADDLOCAL=ALL INSTALLDIR=C:\VMware AWIDMHOSTNAME=vidm.example.com AWIDMPORT=443 IS_NET_API_LOGON_PASSWORD=xxx IS_NET_API_LOGON_USERNAME=domain\user IDM_SQLSERVER_SERVER=sqlserver.example.com IDM_SQLSERVER_DATABASE=saas IDM_SQLSERVER_AUTHENTICATION=1 IDM_SQLSERVER_USERNAME=dbuser IDM_SQLSERVER_PASSWORD=xxx AWIDMFULL=1 CEIPAGREEMENT=2 /l*vx C:\vidm\vidmInstallLogPS4.txt"') -Wait

Snip from log :

MSI (s) (3C!74) [22:00:48:770]: Creating MSIHANDLE (63) of type 790531 for thread 6516
Calling custom action vIDMSetup!vIDMSetup.CustomActions.ImportSetupConfiguration
MSI (s) (3C!74) [22:00:48:770]: Closing MSIHANDLE (63) of type 790531 for thread 6516
MSI (s) (3C!74) [22:00:48:817]: Creating MSIHANDLE (64) of type 790531 for thread 6516
Reading xml file to set properties.
MSI (s) (3C!74) [22:00:48:817]: Closing MSIHANDLE (64) of type 790531 for thread 6516
setup xml file is empty. Please select a xml file.
MSI (s) (3C:78) [22:00:48:832]: Closing MSIHANDLE (59) of type 790542 for thread 6168
CustomAction AWImportSetupConfiguration returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 22:00:48: AWImportSetupConfiguration. Return value 3.
Action ended 22:00:48: INSTALL. Return value 3.

MSI (s) (3C:18) [22:00:48:895]: Note: 1: 1708
MSI (s) (3C:18) [22:00:48:895]: Product: VMware Identity Manager -- Installation operation failed.

MSI (s) (3C:18) [22:00:48:895]: Windows Installer installed the product. Product Name: VMware Identity Manager. Product Version: 19.3.0.0. Product Language: 1033. Manufacturer: VMware, Inc.. Installation success or error status: 1603.

Running the same script without the /s and /qn options in GUI mode results in all field values being properly populated. My assumption is that perhaps there's a parameter value we are not setting for the installer which is causing it to fail, such as agreeing to the license or something.

Has anyone managed to perform a silent install of VIDM ? If so, what was your command line used ? Or can someone point me to documentation listing the parameters, or how to run it ?

Thanks !

Reply
0 Kudos
2 Replies
sjesse
Leadership
Leadership

1603 usually references some sort of permissions error, are you sure the script is running with the correct permissions?

Reply
0 Kudos
nvpapworth
Contributor
Contributor

I believe so. I have tried running the script in a PowerShell session running as administrator, and also is a DOS window also running as administrator calling the executable direct, such as :

C:\vidm\VMware_Identity_Manager_19.03.0.0_Full_Install.exe /s /v"/qn AgreeToLicense=Yes EULAS_AGREED=1 ...

Is there any requirement I'm missing to be logged in as a specific user, or Active Directory domain administrator ?

Reply
0 Kudos