4.5

Table Of Contents
VMware, Inc. 57
Chapter 5 Configuring Package Parameters
Examples
IfyourapplicationissmalloryouknowthatSymantecAntiVirusisnotinstalledonthedesktopstowhichyou
aredeployingtheapplication,youcanmodifytheNetRelaunchparameterforstrongerinitialstartup
performance.
[BuildOptions]
NetRelaunch=0
RuntimeEULA
TheRuntimeEULAparametercontrolstheEndUserLicenseAgreement(EULA)displayforthepackage.
This parameteraddresseslegacyEULArequirements.VMwaredoesnotrequirearuntimeEULAforThinApp
packages.
Donotmodifythevalueofthisparameter.
Examples
TheRuntimeEULAparameterpreventsthedisplayoftheEULA.
[BuildOptions]
;Default: do not show an Eula
RuntimeEULA=0
VirtualComputerName
TheVirtualComputerNameparameterdetermineswhethertovirtualizethecomputernametoavoidnaming
conflictsbetweenthedeploymentsystemandthecapturesystem.
Applicationscanusethenameofthecomputeronwhichtheyareinstalledorconnecttoadatabaseanduse
thenameofthecomputerintheconnectionstring.
Becausethecapturesystemisnotthesameasthe
deploymentsystem,capturedapplicationsthatrequireacomputernamemustvirtualizethecomputername
toensurethattheapplicationcanrunonanymachine.
ThinAppcommentsouttheinitialsettingoftheVirtualComputerNameparameter.Thisparameterusesa
stringthatGetComputerName
andGetComputerNameExAPIfunctionsreturninavirtualapplication.
Examples
IfthecapturesystemdoesnothavetheLOCALHOSTname,ThinAppcommentsoutthe
VirtualComputerNameparameter.
;VirtualComputerName=<original_machine_name>
IfyourenameacleanmachineasLOCALHOSTbeforeperformingthecaptureprocess,thePackage.inifile
activatestheVirtualComputerNameentry.ThevirtualapplicationworkswiththisLOCALHOSTnamebecause
anycomputerthattheapplicationrunsongetsthisvalueasthecomputername.
VirtualComputerName=LOCALHOST
IfyoutypeaGetComputerNameorGetComputerNameExcommand,themachinereturnsLOCALHOST.Ifthe
WindowssystemrequirestheGetComputerNameandGetComputerNameExAPIfunctions tooperateina
standardwayandreturntheactualnameofthecomputerwheretheapplicationruns,donotrenamethe
machineasLOCALHOST.
Besidesspecifying
aliteralstring,suchasLOCALHOST,youcanspecifyanenvironmentvariable.
VirtualComputerName=%VCOMPNAME%
Whenyouspecifyanenvironmentvariable,thevaluereturnedisthevalueoftheenvironmentvariable.Ifthe
valueoftheVirtualComputerNameparameteris%VCOMPNAME%,andthe%VCOMPNAME%
environmentvariableissettoEnvCompName,theGetComputerNameAPIreturnsEnvCompName.