4.6.1

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.Becausethecapturesys
temisdifferentfromthe
deploymentsystem,capturedapplicationsthatrequireacomputernamemustvirtualizethecomputername
toensurethattheapplicationcanrunonanymachine.
ThinAppcommentsouttheinitialsettingoftheVirtualComputerNameparameter.Thisparameterusesa
stringthatGetComputerNameandGetComputerNameExAPIfunctio
nsreturninavirtualapplication.
Examples
IfthecapturesystemlackstheLOCALHOSTname,ThinAppcommentsouttheVirtualComputerName
parameter.
;VirtualComputerName=<original_machine_name>
IfyourenameacleanmachineasLOCALHOSTbeforeperformingthecaptureprocess,thePackage.inifile
activatestheVirtualComputerNameentry.ThevirtualapplicationworkswiththisLOCALHOSTnamebecause
anycomputerthattheapplicationrunsongetsthisvalueasthecomputername.
VirtualComputerName=LOCALHOST
IfyoutypeaGetComputerNameorGetComputerNameExcommand,themachinereturnsLOCALHOST.Ifthe
WindowssystemrequirestheGetComputerNameandGetComputerNameExAPIfunctionstooperateina
standardwayandreturntheactualnameofthecomputerwheretheapplicationruns,donotrenamethe
machineasLOCALHOST.
Inadditiontospec
ifyingaliteralstring,suchasLOCALHOST,youcanspecifyanenvironmentvariable.
VirtualComputerName=%VCOMPNAME%
Whenyouspecifyanenvironmentvariable,thevaluereturnedisthevalueoftheenvironmentvariable.Ifthe
valueoftheVirtualComputerNameparameteris%VCOMPNAME%,andthe%VCOMPNAME%
environmentvariableissettoEnvCompName,theGetComputerNameAPIreturnsEnvCompName.