ThinApp Userâs Guide
58 VMware, Inc.
Link an application to Microsoft .NET
1Captureî ±theî ±installationî ±ofî ±theî ±.NETî ±2.0î ±Framework.
Duringî ±theî ±captureî ±process,î ±youî ±mustî ±selectî ±atî ±leastî ±oneî ±userâaccessibleî ±entryî ±point.î ±
2 Renameî ±the.exeî ±fileî ±thatî ±ThinAppî ±producesî ±toî ±aî ±.datî ±file.
Thisî ±renamingî ±preventsî ±usersî ±fromî ±accidentallyî ±runningî ±theî ±application.
Theî ±nameî ±ofî ±theî ±.datî ±fileî ±youî ±selectî ±doesî ±notî ±
matterî ±becauseî ±usersî ±doî ±notî ±runî ±theî ±fileî ±directly.î ±
For example,î ±useî ±dotnet.dat.
3 Saveî ±theî ±.NETî ±projectî ±toî ±C:\Captures\dotnet.
4Captureî ±theî ±baseî ±applicationî ±byî ±usingî ±theî ±sameî ±physicalî ±systemî ±orî ±virtualî ±machineî ±withî ±theî ±.NETî ±
frameworkî ±alreadyî ±installed.
5 Saveî ±theî ±projectî ±toî ±C:\Captures\MyApp.
6Openî ±theî ±Package.iniî ±fileî ±inî ±theî ±capturedî ±applicationî ±folderî ±
forî ±theî ±baseî ±application.
7Enableî ±theî ±RequiredAppLinksî ±parameterî ±forî ±theî ±baseî ±applicationî ±byî ±addingî ±theî ±followingî ±lineî ±afterî ±theî ±
[BuildOptions]î ±entry.
RequiredAppLinks=dotnet.dat
Applicationî ±Linkî ±parametersî ±mustî ±referenceî ±theî ±primaryî ±dataî ±containerî ±ofî ±theî ±applicationî ±youî ±wantî ±toî ±
linkî ±to.î ±Youî ±cannotî ±referenceî ±shortcutî ±.exeî ±filesî ±becauseî ±theseî ±filesî ±doî ±notî ±containî ±anyî ±applications,î ±files,î ±
orî ±registryî ±keys.
8Rebuildî ±theî ±.NETî ±2.0î ±andî ±baseî ±applicationî ±packages.
aDoubleâclickî ±theî ±build.batî ±fileî ±inî ±C:\Captures\MyApp.
bDoubleâclick
î ±theî ±build.batî ±fileî ±inî ±C:\Captures\dotnet.
Runningî ±theseî ±batchî ±filesî ±buildsî ±separateî ±ThinAppî ±packages.
9Deployî ±theî ±applicationsî ±toî ±anî ±endâuserî ±desktopî ±inî ±C:\Program Files\MyApp.
aCopyî ±C:\Captures\MyApp\bin\MyApp.exeî ±toî ±
\\<end_user_desktop>\<Program_Files_share>\MyApp\MyApp.exe.
bCopyî ±C:\Captures\dotnet\bin\cmd.exeî ±toî ±
\\<end_user_desktop>\<Program_Files_share>\MyApp\dotnet.dat.
Set Up Nested Links with Application Link
ThinAppî ±supportsî ±nestedî ±linksî ±withî ±theî ±Applicationî ±Linkî ±utility.î ±Forî ±example,î ±ifî ±Microsoftî ±Officeî ±linksî ±toî ±aî ±
serviceî ±pack,î ±andî ±theî ±serviceî ±packî ±linksî ±toî ±aî ±hotî ±fix,î ±ThinAppî ±supportsî ±allî ±theseî ±dependencies.
Thisî ±procedureî ±refersî ±toî ±AppA,î ±whichî ±requiresî ±AppB;î ±andî ±AppB,î ±whichî ±requiresî ±AppC.î ±Assumeî ±theî ±followingî ±
folderî ±layoutî ±
forî ±theî ±procedure:
ïź C:\AppFolder\AppA\AppA.exe
ïź C:\AppFolder\AppB\AppB.exe
ïź C:\AppFolder\AppC\AppC.exe
Forî ±informationî ±aboutî ±settingî ±upî ±requiredî ±andî ±optionalî ±Applicationî ±Linkî ±parametersî ±inî ±thisî ±procedure,î ±seeî ±
âConfiguringî ±Dependentî ±Applicationsî ±withî ±Applicationî ±Linkâî ±onî ±page 91.
Set up nested links
1Captureî ±Applicationî ±A.
2Inî ±theî ±Package.iniî ±file,î ±specifyî ±Applicationî ±Bî ±asî ±aî ±requiredî ±orî ±optionalî ±applicationî ±link.
Forî ±example,î ±addî ±RequiredLinks=\AppFolder\AppB\AppB.exeî ±toî ±theî ±file.