5.0

Table Of Contents
VMware, Inc. 37
Chapter 3 Deploying Applications
Building an MSI Database
IfyoudonotcreateMSIfilesduringthecaptureprocess,youcanstillcreatethesefilesafterbuildingan
application.AnMSIdatabaseisusefulfordeliveringcapturedapplicationsthroughtraditionaldesktop
managementsystemstoremotelocationsandautomaticallycreatingshortcutsandfiletypeassociations.
Basic ActiveDirectorygrouppoliciesprovide
waystodistributeandstartMSIpackages.
ThinAppcreatesanMSIdatabasethatcontainscapturedexecutablefiles,installerlogic,andthethinreg.exe
utility.
Customizing MSI Files with Package.ini Parameters
YoucancustomizethebehaviorofMSIfilesbymodifyingPackage.iniparametersandrebuildingthe
applicationpackage.
ThefollowingparameterscanaffectMSIconfiguration:
TheMSIInstallDirectoryparametersetstheinstallationdirectoryforthepackage.
Forexample,includeMSIInstallDirectory=C:\Program Files\inthePackage.inifile.
TheMSIDefaultInstallAllUsersparametersetswhethertoinstallthepackageforallorindividual
users.ThinAppinstallsthepackageinthe%AppData%userdirectory.
Forexample,includeMSIDefaultInstallAllUsers=0inthePackage.inifile.
Formoreinformationaboutthisparameter,see“SpecifyingaDatabaseInstallationforIndividualUsers
andMachines”onpage 38.
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,theinstallationun
installstheoldversionandinstallsthenewversion.
VMwarerecommendsthatyouavoidspecifyinganMSIProductCodevalueandallowThinAppto
generateadifferentproduct
codeforeachbuild.
Regardlessoftheparametervaluesspecifiedatbuildtime,youcanoverridethesettingsatdeploymenttime.
See“ForceMSIDeploymentsforEachUserorEachMachine”onpage 38.
Modify the Package.ini File to Create MSI Files
FormoreinformationaboutMSIparameters,see“CustomizingMSIFileswithPackage.iniParameters”on
page 37.
BeforeyoucanmodifyMSIparameters,youmustaddanentryfortheMSIFilenameparametertogenerate
MSIfiles.