4.6

Table Of Contents
VMware, Inc. 67
Chapter 5 Configuring Package Parameters
Examples
IfyourapplicationissmalloryouknowthatSymantecAntiVirusisnotinstalledonthedesktopstowhichyou
aredeployingtheapplication,youcanmodifytheNetRelaunchparameterforstrongerinitialstartup
performance.
[BuildOptions]
NetRelaunch=0
RuntimeEULA
TheRuntimeEULAparametercontrolstheEndUserLicenseAgreementdisplayforthepackage.
This parameteraddresseslegacyEndUserLicenseAgreementrequirements.VMwaredoesnotrequirea
runtimeEULAforThinApppackages.
Donotmodifythevalueofthisparameter.
Examples
TheRuntimeEULAparameterpreventsthedisplayoftheEndUserLicenseAgreement.
[BuildOptions]
;Default: do not show an Eula
RuntimeEULA=0
VirtualComputerName
TheVirtualComputerNameparameterdetermineswhethertovirtualizethecomputername,toavoidnaming
conflictsbetweenthedeploymentsystemandthecapturesystem.
Applicationscanusethenameofthecomputeronwhichtheyareinstalled,orconnecttoadatabaseanduse
thenameofthecomputerintheconnectionstring.
Becausethecapturesystemisdifferentfromthe
deploymentsystem,capturedapplicationsthatrequireacomputernamemustvirtualizethecomputername
toensurethattheapplicationcanrunonanymachine.
ThinAppcommentsouttheinitialsettingoftheVirtualComputerNameparameter.Thisparameterusesa
stringthatGetComputerNameandGetComputerNameEx
APIfunctionsreturninavirtualapplication.
Examples
IfthecapturesystemlackstheLOCALHOSTname,ThinAppcommentsouttheVirtualComputerName
parameter.
;VirtualComputerName=<original_machine_name>
IfyourenameacleanmachineasLOCALHOSTbeforeperformingthecaptureprocess,thePackage.inifile
activatestheVirtualComputerNameentry.ThevirtualapplicationworkswiththisLOCALHOSTnamebecause
anycomputerthattheapplicationrunsongetsthisvalueasthecomputername.
VirtualComputerName=LOCALHOST
IfyoutypeaGetComputerNameorGetComputerNameExcommand,themachinereturnsLOCALHOST.Ifthe
WindowssystemrequirestheGetComputerNameandGetComputerNameExAPIfunctions tooperateina
standardwayandreturntheactualnameofthecomputerwheretheapplicationruns,donotrenamethe
machineasLOCALHOST.
Inaddition
tospecifyingaliteralstring,suchasLOCALHOST,youcanspecifyanenvironmentvariable.
VirtualComputerName=%VCOMPNAME%
Whenyouspecifyanenvironmentvariable,thevaluereturnedisthevalueoftheenvironmentvariable.Ifthe
valueoftheVirtualComputerNameparameteris%VCOMPNAME%,andthe%VCOMPNAME%
environmentvariableissettoEnvCompName,theGetComputerNameAPIreturnsEnvCompName.