/build/static/layout/Breadcrumb_cap_w.png

VMware vSphere Client

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login
Views: 18.4k  |  Created: 09/11/2011

Average Rating: 0
vSphere Client has 1 inventory records, 5 Questions, 4 Blogs and 1 links. Please help add to this by sharing more!

Deployment Tips (4)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 3 / 5 (Average) based on 2 ratings
Most Commonly Reported Deployment Method
Windows Installer Command Line (No MST)
8
Note
If you don't care about log files or that .NET 3.5 (240MB) is inside the EXE, and the reboot message at the end:
you can just launch a silent install with this:

VMware-viclient-all-5.0.0-455964.exe /s /w /v" /qb"

You also get a bonus of having to install vcredist_x64.exe and vjredist.exe on your own, afterwards.
This is because of InstallShield does decisions of what to install in the GUI.
InstallShield is great for Eye Candy but sucks for default unattended installs.
(I am, however, amazed at the compression ratios they got)


If you want to customize things for any reason and still install all the pre-Reqs:

Step 1: extract the MSIs and EXEs
-Clear %TEMP%
-Launch VMware-viclient-all-5.0.0-455964.exe
-Stop at the language dialog
-copy the following files from %TEMP%
\7zXXXX.tmp\bin\VMware-viclient.exe
\7zXXXX.tmp\redist\vjredist\x64\vjredist64.exe
\7zXXXX.tmp\redist\vjredist\x86\vjredist.exe


-kill the install and clear %TEMP% again.
-Launch VMware-viclient.exe
-copy the following files from %TEMP%
\{04805AB6-F757-496A-8D56-37A0FC5FF6F3}\vcredist_x64.exe
\{04805AB6-F757-496A-8D56-37A0FC5FF6F3}\vcredist_x86.exe
\{E09E66DB-3741-4792-B860-3D6772BC3445}\VMware vSphere Client 5.0.msi


*NOW* you can run the MSI directly.

"%~DP0VMware vSphere Client 5.0.msi" /i /l*v "C:\logs\VMware vSphere Client 5.0.LOG" /qb!-

The catch is that unless you already have Visual C++ runtime(s) and the Visual J runtime installed,
the vSphere Client install will have errors during use or just fail.

So before you install the MSI install the Dependencies:
"%~DP0vjredist\x64\vjredist64.exe" /q:a /c:"install.exe /q"
"%~DP0vjredist\x86\vjredist.exe" /q:a /c:"install.exe /q"
"%~DP0VCredist\vcredist_x86.exe" /q
"%~DP0VCredist\vcredist_x64.exe" /q

*Gotchas:
The original VMware Manual/attended install will:
install vjredist.exe only on 32bit OS'
install vcredist_x86.exe on both 32bit and 64bit OS'
You cannot launch these from inside MSI because these are also MSI installs.

*Tricks:
*To detect Visual JSharp Redist v2.0.50727*
Set vjRedist=Visual JSharp Redist v2.0.50727
REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Visual JSharp Setup\Redist\v2.0.50727" /v Install > nul: 2>&1
If %errorlevel%==1 (
echo %vjRedist% is NOT installed
) else (
echo %vjRedist% is ALREADY installed
)


*To detect Visual C++ Redist v9.0.30729.4148 [64bit]*
for /f "tokens=1 usebackq" %%h in (`Dir C:\Windows\winsxs\amd64_microsoft.vc90.crt*9.0.30729.4148* /B 2^>NUL: `) do SET VCredist64=%%h
If NOT Defined VCredist64 (
echo Visual C++ Redist v9.0.30729.4148 [64bit] is NOT installed
) else (
echo Visual C++ Redist v9.0.30729.4148 [64bit] is ALREADY installed
)


UPDATE:
VMware vSphere Client 5.0.msi will ignore the ! from /QB!- and still show the Cancel button.

VMware vSphere Client 5.0.msi will ignore the REBOOT=RS property. Must use RebootYesNo Property (Thank you IS bastards)
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
2
Note
Using masterd's tips and tricks, here is my script for deploying the vSphere client.

You will need the following files in a repository (use masterd's technique to get them):
vcredist_x64.exe
vcredist_x86.exe
vjredist_x64.exe
vjredist_x86.exe
VMware vSphere Client.msi

My folder structure is as follows
install script ==> %REPOSITORY%\VMware vSphere Client
install files ==> %REPOSITORY%\VMware vSphere Client\5.0

Here's the script :

////////////////////////////////////////////////

@echo off
cls
COLOR 5F

SET APPNAME=VMware vSphere Client
SET APPVERSION=5.0
SET SOURCEFOLDER=%~dp0%APPVERSION%

IF %PROCESSOR_ARCHITECTURE%==x86 SET INSTALLDIR=%ProgramFiles%
IF %PROCESSOR_ARCHITECTURE%==AMD64 SET INSTALLDIR=%ProgramFiles(x86)%


TITLE %APPNAME% %APPVERSION%
echo.
echo Script de deploiement d'application
echo ===================================
echo.
echo Application: %APPNAME%
echo Version: %APPVERSION%
echo Source d'installation: %SOURCEFOLDER%
echo Architecture detectee: %PROCESSOR_ARCHITECTURE%
echo.
echo Actions:
GOTO CHECK

:CHECK
TITLE %APPNAME% %APPVERSION% -- Verification
echo * Recherche de la version installee . . .
IF EXIST "%INSTALLDIR%\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" GOTO NOACTION
GOTO INSTALL

:INSTALL
TITLE %APPNAME% %APPVERSION% -- Installation
echo * Installation de l'application . . .
IF %PROCESSOR_ARCHITECTURE%==x86 GOTO INSTALLX86
IF %PROCESSOR_ARCHITECTURE%==AMD64 GOTO INSTALLX64
GOTO END



:INSTALLX86
echo * Installation de VCRedist x86 . . .
"%SOURCEFOLDER%\vcredist_x86.exe" /q"
echo * Installation de VJRedist x86 . . .
"%SOURCEFOLDER%\vjredist_x86.exe" /q:a /c:"install.exe /q"
echo * Installation de %APPNAME% . . .
msiexec /i "%SOURCEFOLDER%\VMware vSphere Client.msi" /passive /norestart
GOTO END

:INSTALLX64
echo * Installation de VCRedist x86 . . .
"%SOURCEFOLDER%\vcredist_x86.exe" /q"
echo * Installation de VCRedist x64 . . .
"%SOURCEFOLDER%\vcredist_x64.exe" /q"
echo * Installation de VJRedist x64 . . .
"%SOURCEFOLDER%\vjredist_x64.exe" /q:a /c:"install.exe /q"
echo * Installation de %APPNAME% . . .
msiexec /i "%SOURCEFOLDER%\VMware vSphere Client.msi" /passive /norestart
GOTO END

:NOACTION
echo * L'application est deja installee et correspond a la version de reference.
GOTO END


:END
TITLE %APPNAME% %APPVERSION% -- Termine
echo Fin des actions

////////////////////////////////////////////////


Notice :
- The script detects the presence of the vsphere client on both x86 and x64 machines and takes appropriate actions.
- However it doesn't check for the prerequisites. So there are (re)installed each time the vpshere client is installed.
- The .Net Framework is assumed to be present
- Sorry, script comments are in French...
- This is my first submission here, hope it will help the community ^^
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
1
Note

To login to Virtual Center automatically using pass through authentication, add the following parameters to your VI Client shortcut:

-passthroughAuth -s virtualcenter.domain.local

 

Example Shortcut:

"C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe"

-passthroughAuth -s virtualcenter.domain.local
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
0
Command Line
@misterd : great piece of work. thanks!

Using the following command (/passive instead of /qb) i don't get the cancel button

msiexec /i "VMware vSphere Client.msi" /passive /norestart
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

vSphere Client

Version

5.0.0.16964

Uninstall String

MsiExec.exe /X{04805AB6-F757-496A-8D56-37A0FC5FF6F3}

Questions & Answers (5)

Questions & Answers related to VMware vSphere Client

5
ANSWERED
1
ANSWERED
1
ANSWERED
3
ANSWERED
1
ANSWERED

Blogs (4)

Blog posts related to VMware vSphere Client

Reviews (0)

Reviews related to VMware vSphere Client

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ