vSphere is pretty awesome, though I hope their prices come down in light of Hyper-V 3.0. In any case, here’s how to package vSphere Client with VDR and Update Manager.
- Download the vSphere client install executable from any of your vmware hosts by visiting http://vm-hostname then clicking “download client”. Place the client in C:\temp\viclient.
- Download the VMWare Data Recovery ISO from the vSphere 5 Downloads link above, then extract the file “VMwareDataRecoveryPlugin.msi” to C:\temp\viclient.
- Run the vsphere-update manager installer named “VMware-UMClient.exe” from the updateManager folder of the vCenter Server 5 installation media. Once the installer is running, navigate to the folder %temp% and obtain the file “VMware vSphere Update Manager Client 5.0.msi” from one of the subfolders. Place the msi file in C:\temp\viclient.
- Download the Visual J# x64 Redistributable from the above site.
- Run the following command to extract the Visual J# install files:
vjredist64.exe /c /t:C:\temp\viclient\vjredist64
- Create a batch file with the following contents in C:\temp\viclient named “Install-viclient.cmd”.
@ECHO OFF ECHO Installing vSphere 5 Client, VDR Client, and UpdateMgr Client ECHO Do not close this window. It will close when the install is finished. REM Main Install msiexec /i vjredist64\jsredist.msi /qb ADDEPLOY=1 VMware-viclient.exe /q /s /w /L1033 /v" /qr /L*v \"%TEMP%\vmvcc.log\"" msiexec /i "VMware vSphere Update Manager Client 5.0.msi" /qb msiexec /i VMwareDataRecoveryPlugin.msi /qb
- Assemble the files into a single source folder then create a SCCM package and program. The program’s command line action should be “install-viclient.cmd”. The following is a screen shot of my final source folder. My folder contains Make-Shortcuts_vSphere.ps1, which I use to move the vi client shortcuts around.
Keep on truckin’ space cowboy.