A while ago someone asked me if there was an easy way to automate the deployment of VMware View Composer. The good news is that it is possible to parameterize the deployment. Below you will find a run down of the properties available to deploy VMware View Composer. Some parameters and features are available in the official documentation but some others are undocumented. For the undocumented items you may use it on your own risk as they are not supported by VMware.
The VMware View Composer installer can be customized using the following properties:
INSTALLDIR = %ProgramFiles%\VMware, Inc.\VMware View\Agent Install directory
DB_DSN = <not set> DB DSN
DB_USERNAME = DB username (Default Value <not set>)
DB_PASSWORD = DB connection password (Default Value <not set>)
UPGRADE_DB_ACTION = 0=Do not upgrade an old DB as part of the product upgrade, 1=Upgrade the DB (Default Value 1)
SSL_DEFAULTS = 1=Generate SSL cert, 2=Use the certificate defined by the SSL_CERTIFICATE property (Default Value 1)
SSL_CERTIFICATE = Defines the SSL certificate. Works in conjunction with SSL_DEFAULTS=1 (Default Value <not set>)
SOAP_PORT = Specifies the web access port (Default Value <not set>)
VMware-viewcomposer-3.0.0-xxxxxx.exe /s /v”/qn DB_DSN=COMPOSER DB_USERNAME=COMPOSER DB_PASSWORD=12345″
VMware-viewcomposer-3.0.0-xxxxxx.exe /s /v”/qn DB_DSN=COMPOSER DB_USERNAME=COMPOSER DB_PASSWORD=12345 UPGRADE_DB_ACTION=0″
The View Composer installer has only one feature. It is named ‘Core’ and is mandatory. There is no need to explicitly refer to it using ADDLOCAL.
Also visit VMware View 4.5 Command Line Usage for additional installation parameters for other VMware View Components.