EasyManua.ls Logo

VMware THINAPP 4.6 - Page 58

VMware THINAPP 4.6
146 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ThinApp User’s Guide
58 VMware, Inc.
Link an application to Microsoft .NET
1Capturetheinstallationofthe.NET2.0Framework.
Duringthecaptureprocess,youmustselectatleastoneuseraccessibleentrypoint.
2 Renamethe.exefilethatThinAppproducestoa.datfile.
Thisrenamingpreventsusersfromaccidentallyrunningtheapplication.
Thenameofthe.datfileyouselectdoesnot
matterbecauseusersdonotrunthefiledirectly.
For example,usedotnet.dat.
3 Savethe.NETprojecttoC:\Captures\dotnet.
4Capturethebaseapplicationbyusingthesamephysicalsystemorvirtualmachinewiththe.NET
frameworkalreadyinstalled.
5 SavetheprojecttoC:\Captures\MyApp.
6OpenthePackage.inifileinthecapturedapplicationfolder
forthebaseapplication.
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.
ThisprocedurereferstoAppA,whichrequiresAppB;andAppB,whichrequiresAppC.Assumethefollowing
folderlayout
fortheprocedure:
C:\AppFolder\AppA\AppA.exe
C:\AppFolder\AppB\AppB.exe
C:\AppFolder\AppC\AppC.exe
ForinformationaboutsettinguprequiredandoptionalApplicationLinkparametersinthisprocedure,see
“ConfiguringDependentApplicationswithApplicationLink”onpage 91.
Set up nested links
1CaptureApplicationA.
2InthePackage.inifile,specifyApplicationBasarequiredoroptionalapplicationlink.
Forexample,addRequiredLinks=\AppFolder\AppB\AppB.exetothefile.

Table of Contents

Related product manuals