4.0.4

Table Of Contents
VMware, Inc. 29
Chapter 3 Deploying Applications
Building an MSI Database
IfyoudonotcreateMSIfileswiththeSetupCapturewizard,youcanstillcreatethesefilesafterbuildingan
application.AnMSIdatabaseisusefulfordeliveringcapturedapplicationsthroughtraditionaldesktop
managementsystemstoremotelocationsandautomaticallycreatingshortcutsandfiletypeassociations.
Basic ActiveDirectorygrouppolicies
providewaystodistributeandstartMSIpackages.
ThinAppcreatesanMSIdatabasethatcontainscertainfilesdependingonthedatabasesize:
Fordatabasessmallerthan2GB,theMSIdatabaseconsistsofcapturedexecutablefiles,installerlogic,and
thethinreg.exeutility.
Fordatabaseslargerthan2GB,theMSIdatabaseconsistsofinstallerlogicandthethinreg.exeutility.
ThinAppstoresthecapturedexecutablefilesincabinetfiles.Forexample,thefilesmightbe
<inventory_name>_1.CABand<inventory_name>_2.CAB.The.CABfilesmustbeinthesamedirectory
astheMSIfiles.ThinAppmustdistribute
thesefileswiththeMSIfiletohaveacompleteinstaller.
Customizing MSI Files with Package.ini Parameters
YoucancustomizethebehaviorofMSIfilesbymodifyingPackage.iniparameters,suchasthefollowing
parameters,andrebuildingtheapplicationpackage:
TheMSIInstallDirectoryparametersetstheinstallationdirectoryforthepackage.
Forexample,includeMSIInstallDirectory=C:\Program Files\inthePackage.inifile.
TheMSIDefaultInstallAllUsersparametersetsinstallationofthepackageforindividualusers.
ThinAppinstallsthepackageinthe%AppData%userdirectory.
Forexample,includeMSIDefaultInstallAllUsers=0inthePackage.inifile.
Formoreinformationaboutthisparameter,see“SpecifyingaDatabaseInstallationforIndividualUsers
andMachines”onpage 30.
TheMSIFileNameparameternamesthepackage.
Forexample,includeMSIFilename=Firefox30.msiinthePackage.inifile.
TheMSIRequireElevatedPrivilegesparameterindicateswhetheraninstallerneedselevated
privilegesfordeploymentonMicrosoftVista.Installationsforindividualusersdonotusuallyneed
elevatedprivilegesbutpermachineinstallationsrequiresuchprivileges.
Forexample,includeMSIRequireElevatedPrivileges=1inthePackage.inifile.
TheMSIProductCodeparametermakesiteasiertoinstallanewversionoftheapplication.AnMSI
databasecontainsaproductcodeandanupgradecode.Whenyouupdateapackage,keeptheoriginal
valueoftheMSIUpgradeCodeparameter.
Iftheparametervalueofthenewversionisthesameasthe
valueoftheoldversion,theinstallation
promptsyoutoremovetheoldversion.Ifthevaluesfortheparameteraredifferent,theinstallation
uninstallstheoldversionandinstallsthenewversion.
VMwarerecommendsthatyouavoidspecifyinganMSIProductCodevalueandallowThinAppto
generateadifferentproductcode
foreachbuild.
Regardlessoftheparametervaluesspecifiedatbuildtime,youcanoverridethesettingsatdeploymenttime.
See“ForceMSIDeploymentsforEachUserorEachMachine”onpage 30.FormoreinformationaboutMSI
parameters,see“ConfiguringMSIFiles”onpage 88.