4.6.1

Table Of Contents
VMware, Inc. 93
Chapter 5 Configuring Package Parameters
Youcanuseenvironmentvariablesinthepathvalue.Theriskofusingenvironmentvariablesisthatauser
mightchangethevaluesbeforestartingtheapplicationandcreateanApplicationLinkdependencyotherthan
theonethattheadministratorsetup.
RequiredAppLinks=%MyEnvironmentVariable%\Package.dat
Youcanimportasinglepackagelocatedinthesamedirectoryasthebaseexecutablefile.
RequiredAppLinks=Plugin.exe
Youcanimportasinglepackagelocatedinasubdirectoryofthebaseexecutablefile.
RequiredAppLinks=plugins\Plugin.exe
Youcanimportallexecutablefileslocatedinthedirectoryforpluginfiles.IfThinAppcannotimportany
executablefilebecausethefileisnotavalidThinapppackageorbecauseasecurityproblemexists,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.
Pathnamesareonthedeploymentmachinebecausethelinkingtakeseffectatruntimeontheclientmachine.
Youcanspecifyabsolutepaths,suchasC:\abs\path\dotnet.exe,relativepaths,suchas
relpath\dotnet.exe,andUNCpaths,suchas\\server\share\dotnet.exe.
RequiredAppLinksandOptionalAppLinksparametersusethesamesyntax.Forinformationaboutthe
RequireAppLinksparameterandexamples,see“RequiredAppLinks”onpage 92.
Whenusingth
eApplicationLinkutilityviatheOptionalAppLinksparameter,thebasepackageandlinked
dependenciesmustbebuiltwiththesameversionofThinApp.Toupgradeolderpackagestoincludethelatest
versionoftheThinAppruntime,usetherelink.execommandlineutilityincludedwithThinApp.
Configuring Application Updates with Application Sync
TheApplicationSyncutilitykeepsdeployedvirtualapplicationsuptodate.Whenanapplicationstarts,
ApplicationSynccanqueryaWebservertodetermineifanupdatedversionofthepackageisavailable.Ifan
updateisavailable,ThinAppdownloadsthedifferencesbetweentheexistingpackageandthenewpackage
andconstructsanupd
atedversionofthepackage.
TheApplicationSyncutilitydownloadsupdatesinthebackground.Youcancontinuetouseanoldversionof
theapplication.Iftheuserquitstheapplicationbeforethedownloadiscomplete,thedownloadresumeswhen
thevirtualapplicationstartsagain.Whenthedownloadisfinishe
d,ThinAppactivatesthenewversionthe
nexttimetheapplicationstarts.
YoumustuncommenttheAppSyncURLparametertoactivateallApplicationSyncparameters.Thefollowing
entriesarethedefaultsettingsforApplicationSyncparameters:
AppSyncURL=https://example.com/some/path/PackageName.exe
AppSyncUpdateFrequency=1d
AppSyncExpirePeriod=30d
AppSyncWarningPeriod=5d
AppSyncWarningFrequency=1d