4.0.4

Table Of Contents
VMware, Inc. 43
Chapter 4 Updating Applications
6OpenthePackage.inifileinthecapturedapplicationfolderforthebaseapplication.
7EnabletheRequiredAppLinksparameterforthebaseapplicationbyaddingthefollowinglineafterthe
[BuildOptions]entry.
RequiredAppLinks=dotnet.dat
ApplicationLinkparametersmustreferencetheprimarydatacontaineroftheapplicationyouwantto
linkto.Youcannotreferenceshortcut.exefilesbecausethesefilesdonotcontainanyapplications,files,
orregistrykeys.
8Rebuildthe.NET2.0andbaseapplicationpackages.
aDoubleclickthebuild.batfileinC:\Captures\MyApp.
bDoubleclick
thebuild.batfileinC:\Captures\dotnet.
RunningthesebatchfilesbuildsseparateThinApppackages.
9DeploytheapplicationstoanenduserdesktopinC:\Program Files\MyApp.
aCopyC:\Captures\MyApp\bin\MyApp.exeto
\\<end_user_desktop>\<Program_Files_share>\MyApp\MyApp.exe.
bCopyC:\Captures\dotnet\bin\cmd.exeto
\\<end_user_desktop>\<Program_Files_share>\MyApp\dotnet.dat.
Set up Nested Links with Application Link
ThinAppsupportsnestedlinkswiththeApplicationLinkutility.Forexample,ifMicrosoftOfficelinkstoa
servicepack,andtheservicepacklinkstoahotfix,ThinAppsupportsallthesedependencies.
ThisprocedurereferstoAppAthatrequiresAppBandAppBthatrequiresAppC.Assumethefollowingfolder
layout
fortheprocedure:
c:\AppFolder\AppA\AppA.exe
c:\AppFolder\AppB\AppB.exe
c:\AppFolder\AppC\AppC.exe
ForinformationaboutsettinguprequiredandoptionalApplicationLinkparametersinthisprocedure,see
“ConfiguringDependentApplicationswithApplicationLink”onpage 84.
To set up nested links
1CaptureApplicationA.
2InthePackage.inifile,specifyApplicationBasarequiredoroptionalapplicationlink.
Forexample,addRequiredLinks=\AppFolder\AppB\AppB.exetothefile.
3CaptureApplicationB.
4Inthe
Package.inifileforApplicationB,specifyApplicationCasarequiredoroptionalapplicationlink.
Forexample,addRequiredLinks=\AppFolder\AppC\AppC.exetothefile.
5CaptureApplicationC.
IfyoustartApplicationA,itcanaccessthefilesandregistrykeysofApplicationBandApplicationBcan
accessthefilesandregistrykeysof
ApplicationC.