VMware VCENTER CONFIGURATION MANAGER 5.3 Getting Started Manual page 154

Vcenter configuration manager installation and getting started guide
Hide thumbs Also See for VCENTER CONFIGURATION MANAGER 5.3:
Table of Contents

Advertisement

vCenter Configuration Manager Installation and Getting Started Guide
sAddRemove = 1 'Whether or not VCM remote should appear in the Add/Remove
programs List, should be 0 = hide, 1 = show
sMSIPackageName = "CM Remote Client.msi" 'Name of the MSI package that
installs VCM Remote Agent
CheckVars
If sAddRemove = 0 Then
AppToRun = "msiexec.exe /qn /i " & Chr(34) &
EcmAgtContext.JobDownloadDirectory & "\" & sMSIPackageName & Chr(34) & "
ALLUSERS=1 COLLECTOR=" & Chr(34) & sCollName & Chr(34) & " PATHTOASP=" &
Chr(34) & sVirDir & Chr(34) & " ARPSYSTEMCOMPONENT=" & sAddRemove & "
INSTALLDIR=" & Chr(34) & sInstallDir & Chr(34)
Else
AppToRun = "msiexec.exe /qn /i " & Chr(34) &
EcmAgtContext.JobDownloadDirectory & "\" & sMSIPackageName & Chr(34) & "
ALLUSERS=1 COLLECTOR=" & Chr(34) & sCollName & Chr(34) & " PATHTOASP=" &
Chr(34) & sVirDir & Chr(34) & " INSTALLDIR=" & Chr(34) & sInstallDir &
Chr(34)
End If
If bInstallCert = 1 Then
AppToRun = AppToRun & " CERTIFICATE_FILE=" & Chr(34) &
EcmAgtContext.JobDownloadDirectory & "\" & sCertFile & Chr(34)
Else
AppToRun = AppToRun & "SKIP_CERTIFICATE_FILE=1"
End If
EcmScriptRuntime.CmdExecute Chr(34) & AppToRun & Chr(34), 10000
End Sub
Sub CheckVars()
If sCollName = "" Then
WScript.Quit
Else
sCollName = Trim(sCollName)
End If
If sVirDir = "" Then
sVirDir = "vcmremote/ecmremotehttp.asp"
Else
154
VMware, Inc.

Advertisement

Table of Contents
loading

Table of Contents