4.0.4

Table Of Contents
VMware, Inc. 85
Appendix A Configuring Package Parameters
Pathnamesareonthede ploymentmachinebecausethelinkingtakeseffectatruntimeontheclientmachine.
Youcanspecifyabsolutepaths,suchasc:\abs\path\dotnet.exe,relativepaths,suchas
relpath\dotnet.exe,andUNCpaths,suchas\\server\share\dotnet.exe.Pathnamescancontain
environmentvariables.Usesemicolonstoseparatethelinked
packages.
FormoreinformationabouttheApplicationLinkutility,see“A p p l i c a t i o n LinkUpdates”onpage 41.
Examples
Ifyoupackage the.NETframeworkinthedotnet.exepackageandyouhavea.NETapplication,youcan
specifythattheapplicationneedstolinktothedotnet.exefilebeforeitcanstart.
RequiredAppLinks=c:\abs\path\dotnet.exe
Youcanimportasinglepackagelocatedinthesamedirectoryasthebaseexecutablefile.
RequiredAppLinks=Plugin.exe
Youcanimportasinglepackagelocatedinasubdirectoryofthebaseexecutablefile.
RequiredAppLinks=plugins\Plugin.exe
Youcanimportallexecutablefileslocatedinthedirectoryforpluginfiles.IfThinAppcannotimportany
executablefilebecausethefileisnotaproperThinapppackageorbecauseasecurityproblemexists,thebase
executablefilefailstoload.
RequiredAppLinks=plugins\*.exe
Youcanimportallexecutablefileslocatedatthen:\pluginsabsolutepath.
RequiredAppLinks=n:\plugins\*.exe
YoucanexpandthePLUGINSenvironmentvariableandimportallexecutablefilesatthislocation.
RequiredAppLinks=%PLUGINS%\*.exe
Youcanloadtwospecifiedpluginfilesandalistofexecutablefileslocatedunderthepluginlocation.
RequiredAppLinks=plugin1.exe;plugin2.exe;plugins\*.exe
OptionalAppLinks
TheOptionalAppLinksparameterissimilartotheRequireAppLinksparameterbutignoreserrorsandstarts
themainapplicationevenwhenanimportoperationfails.
Youmustcreatealinktotheprimarydatacontainerofapackage.Youcannotlinktoothershortcutpackages.
Pathnamesareonthede ploymentmachinebecausethe
linkingtakeseffectatruntimeontheclientmachine.
Youcanspecifyabsolutepaths,suchasc:\abs\path\dotnet.exe,relativepaths,suchas
relpath\dotnet.exe,andUNCpaths,suchas\\server\share\dotnet.exe.
RequiredAppLinksandOptionalAppLinksparametersusethe samesyntax.Forinformationaboutthe
RequireAppLinksparameterandexamples,see“RequiredAppLinks”onpage 84.
Configuring Application Updates with Application Sync
TheApplicationSyncutilitykeepsdeployedvirtualapplicationsuptodate.Whenanapplicationstarts,
ApplicationSynccanqueryaWebservertodetermineifanupdatedversionofthepackageisavailable.Ifan
updateisavailable,ThinAppdownloadsthedifferencesbetweentheexistingpackageandthenewpackage
and
constructsanupdatedversionofthepackage.
TheApplicationSyncutilitydownloadsupdatesinthebackground.Youcancontinuetouseanoldversionof
theapplication.Iftheuserquitstheapplicationbeforethedownloadiscomplete,thedownloadresumeswhen
thevirtualapplicationstartsagain.Whenthedownloadis
finished,ThinAppactivatesthenewversionthe
nexttimetheapplicationstarts.