4.0.4

Table Of Contents
ThinApp User’s Guide
42 VMware, Inc.
View of the Application using Application Link
Figure 41showstherunningapplicationwithamergedviewofthesystem,thebaseapplication,andall
linkedcomponents.Files,registrykeys,services,COMobjects,andenvironmentvariablesfromdependency
packagesarevisibletothebaseapplication.
Figure 4-1. View of the System, Base Application, and Linked Components Using Application Link
Link a Base Application to the Microsoft .NET Framework
Reviewthissampleworkflowtolinkabaseapplication,MyApp.exe,toaseparatepackagethatcontainsthe
Microsoft.NET2.0Framework.MakesurethebaseapplicationcaptureprocessdoesnotincludetheMicrosoft
.NET2.0Framework.For informationabouttheprocessofcapturinganapplication,seeChapter 2,
“CapturingApplications,”onpage 15.
For
informationaboutrequiredandoptionalApplicationLinkparametersinthePackage.inifile,see
“ConfiguringDependentApplicationswithApplicationLink”onpage 84.
To link an application to Microsoft .NET
1Capturetheinstallationofthe.NET2.0Framework.
Duringthecaptureprocess,youmustselectatleastoneuseraccessibleentrypoint.
2 Renamethe.exefilethatThinAppproducesto
a.datfile.
Thisrenamingpreventsusersfromaccidentallyrunningtheapplication.
Thenameofthe.datfileyouselectdoesnotmatterbecauseusersdonotrunthefiledirectly.For
example,usedotnet.dat.
3 Savethe.NETprojecttoC:\Captures\dotnet.
4Capturethebaseapplicationbyusingthesamephysicalsystemor
virtualmachinewiththe.NET
frameworkalreadyinstalled.
5 SavetheprojecttoC:\Captures\MyApp.
Local Disk (C:)
Documents and Settings
Program Files
Common Files
ComPlus Applications
Local Disk (C:)
Program Files
Base Application
Local Disk (C:)
Documents and Settings
Program Files
Base Application
Common Files
ComPlus Applications
Component1
Local Disk (C:)
Program Files
Component1
Application Link
merged view of
System Files
+ Base Application
+ Component Package
Component Package
Base Application
System Files