4.0.4

Table Of Contents
VMware, Inc. 63
Appendix A Configuring Package Parameters
Examples
Iftheapplicationstartsfromanetworkdriveoraremovabledisk,thedefaultvalueoftheNetRelaunch
parametercreatesalocalstubfiletorestarttheapplication.
[BuildOptions]
NetRelaunch=1
IfyourapplicationissmalloryouknowthatSymantecAntiVirusisnotinstalledonthedesktopstowhichyou
aredeployingtheapplication,youmightwanttoturnofftheNetRelaunchparameterforstrongerinitial
startupperformance.
[BuildOptions]
NetRelaunch=0
RuntimeEULA
TheRuntimeEULAparametercontrolstheEndUserLicenseAgreement(EULA)displayforthepackage.
This parameteraddresseslegacyEULArequirements.
VMwaredoesnotrequirearuntimeEULAforThinApppackages.Donotalterthevalueofthisparameter.
Examples
ThedefaultvaluefortheRuntimeEULAparameterpreventsthedisplayoftheEULA.
[BuildOptions]
;Default: do not show an Eula
RuntimeEULA=0
YoucandisplayaEULA.
[BuildOptions]
;Turn on display of EULA
RuntimeEULA=1
VirtualComputerName
TheVirtualComputerNameparametervirtualizesthecomputername.Thisisusefulforadeployment
machinethatdoesnothavethesamenameasthecapturemachine.
Applicationscanusethenameofthemachineonwhichtheyareinstalledorconnecttoadatabaseandusethe
nameofthecomputerin
theconnectionstring.Forcapturedapplications,thecomputernameisvirtualto
ensurethattheapplicationrunsonanymachine.
ThisparameterisastringthatGetComputerNameandGetComputerNameExAPIfunctionsreturninacaptured
application.
Examples
IfthecapturemachinedoesnothavetheLOCALHOSTname,ThinAppcommentsouttheparameter.
;VirtualComputerName=<original_machine_name>
IfyourenameacleanmachineasLOCALHOSTbeforeperformingthecaptureprocess,thePackage.inifile
activatestheVirtualComputerNameentry.
VirtualComputerName=LOCALHOST
IfyouenteraGetComputerNameorGetComputerNameExcommand,themachinereturnsLOCALHOST.Ifthe
WindowssystemrequirestheGetComputerNameandGetComputerNameExAPIfunctionstooperateina
standardwayandreturntheactualnameofthecomputerwheretheapplicationruns,donotrenamethe
machineasLOCALHOST.
Besidesspecifying
aliteralstring,suchasLOCALHOST,youcanspecifyanenvironmentvariable.
VirtualComputerName=%VCOMPNAME%