4.5

Table Of Contents
VMware, Inc. 21
Chapter 2 Capturing Applications
Defining Package Settings
ApackageistheexecutablefileorMSIfilewithexecutablefilesthatyouusetorunordeployacaptured
application.Youbuildapackagefromtheprojectfiles.
Settingupthepackageduringthecaptureprocessinvolvesspecifyinginformationaboutthemainvirtual
applicationfilethatservesasthe
primarydatacontainer,MSIgeneration,andcompression.
Defining the Primary Data Container
TheprimarydatacontaineristhemainvirtualapplicationfilethatincludestheThinAppruntimeandthe
readonlyvirtualfilesystemandvirtualregistry.Theprimarydatacontainerfileisa.exeora.datfilethat
residesinthesame/bindirectorywithanysubordinateapplicationexecutablefiles.Entry
pointsreference
theinformationintheprimarydatacontainer.
Toidentifytheprimarydatacontainerafteryoucaptureanapplication,checktheReadOnlyDataparameter
inthePackage.inifile.
Generating MSI Packages in the Capture Process
YoucancaptureanapplicationanddeployitasanMSIWindowsinstallationpackage.TheMSIinstallation
placestheapplicationintheC:\Program Filesdirectory.
AtypicalFirefoxapplicationdoesnotrequireanMSIinstallation.Otherapplications,suchasMicrosoftOffice,
thatintegratewithapplicationdeliverytools,workwellasanMSI
package.MSIgenerationrequiresyouto
installtheMSIonthetargetdevicebeforeyoucanusetheapplicationpackage.
MSIpackagesautomatetheprocessofregisteringfiletypeassociations,registeringdesktopandStartmenu
shortcuts,anddisplayingcontrolpanelextensions.IfyouplantodeployThinAppexecutablefilesdirectlyon
eachcomputer,youcanaccomplishthesameregistrationbyusingthethinreg.exeutility.
Compressing Packages in the Capture Process
Compressingapackageinthecaptureprocessdecreasesthesizeofanexecutablepackagebutdoesnotaffect
MSIpackages.
Compressioncanreducetheondiskstoragerequirementby50percentbutslowstheapplicationperformance
whenThinAppuncompressesinitialblocksthatstarttheapplication.VMwaredoesnotrecommend
compressionfor
testbuildsbecausecompressionincreasesthebuildtime.
Customize Package Settings
Thecaptureprocessincludesinitialsettingsfortheprimarydatacontainer,MSIpackages,andexecutable
packagecompression.
To customize package settings in the Setup Capture wizard
1OnthePackageSettingspage,selecttheprimarydatacontainerfromthelistthatisbasedonyour
executablefileentrypoints.
Ifthesizeoftheprimarycontainerissmallerthan200MB,ThinAppcreatesa.exefileastheprimary
container.ForasmallapplicationsuchasFirefox,any.exefilecanserveasthemaindatacontainer.
Ifthesizeoftheprimarycontainerislargerthan200MB,ThinAppcreatesaseparate.datfileasthe
primarycontainerbecauseWindowsXPandWindows2000cannotshowshortcuticonsforlarge
.exefiles.Generatingseparatesmall.exefilesalongwiththe.datfilefixestheproblem.
Ifthesizeoftheprimarycontainerisbetween200MBand1.5GB,ThinAppcreatesthedefault.dat
fileunlessyouselecta.exefiletooverridethedefault.datfile.
2 (Optional)Ifyouselecta.exefiletooverridethedefault.datfilewhenthesizeoftheprimarycontainer
is
between200MBand1.5GB,ignorethegeneratedwarning.
Selectinga.exefileallowsallapplicationstoworkproperlybutmightpreventtheproperdisplayoficons.