How do you do a silent installation of PowerCLI and the VUM snapin?
VMware-PowerCLI-5.5.0-1671586.exe /s /qn /w /V"/qr /L*v PowerCLI.log ADDLOCAL="vCloud""
VMware-UpdateManager-Pscli-5.5.0-1302474.exe /s /qn /w /V"/qr /L*v PowerCLI-VUM.log"
Note: ensure there is _no_ space between /V and the following ” mark. The installation will not be silent if there is a space. Take it from me, as I couldn’t work out why it wasn’t working.
/s Hides the initialisation dialogue box
/s /qn is the silent installation of the parent *.exe
/V and the parameters within the quotes are what is passed to the msiexec installer within the *.exe
/qr Displays a reduced user interface
/L*v is verbose logging followed by the path to the log file you wish to have created
ADDLOCAL=vCloud installs the optional vCloud snapin (With thanks to Marcus Rangell for his post that assisted in me finding out how )
Note 2: Ensure all web browsers are closed before starting. A Silent installation will not prompt you to close the browsers and retry.
References:
MSIEXEC Command Line Options
Marcus Rangell blog post on finding msi specific parameters