VMware, Inc. 19
Chapter 2 Capturing Applications
Customize project settings in the Setup Capture wizard
1OntheProjectSettingspage,changetheinventoryname.
Usingthethinreg.exeutilityordeployingthecapturedapplicationasanMSIfilecausestheinventory
nametoappearintheAddorRemoveProgramsdialogboxforWindows.
2 ChangethedirectorywhereyouwanttosavetheThinAppproject.
Ifyoukeep
thedefaultdirectoryandcaptureFirefox2.0.0.3,thepathmightappearasC:\Program
Files\VMware\VMware ThinApp\Captures\Mozilla Firefox (2.0.0.3).
Defining Package Settings
ApackageistheexecutablefileorMSIfilewithexecutablefilesthatyouusetorunordeployacaptured
application.Youbuildapackagefromtheprojectfiles.
Settingupthepackageduringthecaptureprocessinvolvesspecifyinginformationaboutthemainvirtual
applicationfilethatservesasthe
primarydatacontainer,MSIgeneration,andcompression.
Defining the Primary Data Container
TheprimarydatacontaineristhemainvirtualapplicationfilethatincludestheThinAppruntimeandthe
read‐onlyvirtualfilesystemandvirtualregistry.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.
MSIpackagesautomatetheprocessofregisteringfile‐typeassociations,registeringdesktopandStartmenu
shortcuts,anddisplayingcontrolpanelextensions.IfyouplantodeployThinAppexecutablefilesdirectlyon
eachcomputer,youcanaccomplishthesameregistrationbyusingthethinreg.exeutility.
Compressing Packages in the Capture Process
Compressingapackageinthecaptureprocessdecreasesthesizeofanexecutablepackagebutdoesnotaffect
MSIpackages.
Compressioncanreducetheon‐diskstoragerequirementby50percentbutslowstheapplicationperformance
whenThinAppuncompressesinitialblocksthatstarttheapplication.VMwaredoesnotrecommend
compressionfor
testbuildsbecausecompressionincreasesthebuildtime.
Customize Package Settings
Thecaptureprocessincludesinitialsettingsfortheprimarydatacontainer,MSIpackages,andexecutable
packagecompression.
Customize package settings in the Setup Capture wizard
1OnthePackageSettingspage,selecttheprimarydatacontainerfromthelistthatisbasedonyour
executablefileentrypoints.
Ifthesizeoftheprimarycontainerissmallerthan200MB,ThinAppcreatesa.exefileastheprimary
container.ForasmallapplicationsuchasFirefox,any.exefilecanserveasthemaindatacontainer.