4.6.1

Table Of Contents
VMware, Inc. 43
Chapter 3 Deploying Applications
Building an MSI Database
IfyoudonotcreateMSIfilesduringthecaptureprocess,youcanstillcreatethesefilesafterbuildingan
application.AnMSIdatabaseisusefulfordeliveringcapturedapplicationsthroughtraditionaldesktop
managementsystemstoremotelocationsandautomaticallycreatingshortcutsandfiletypeassociations.
Basic ActiveDirectorygrouppoliciesprovidewa
ystodistributeandstartMSIpackages.
ThinAppcreatesanMSIdatabasethatcontainscapturedexecutablefiles,installerlogic,andthethinreg.exe
utility.
Customizing MSI Files with Package.ini Parameters
YoucancustomizethebehaviorofMSIfilesbymodifyingPackage.iniparametersandrebuildingthe
applicationpackage.
ThefollowingparameterscanaffectMSIconfiguration:
TheMSIInstallDirectoryparametersetstheinstallationdirectoryforthepackage.
Forexample,includeMSIInstallDirectory=C:\Program Files\inthePackage.inifile.
TheMSIDefaultInstallAllUsersparametersetstheinstallationofthepackageforindividualusers.
ThinAppinstallsthepackageinthe%AppData%userdirectory.
Forexample,includeMSIDefaultInstallAllUsers=0inthePackage.inifile.
Formoreinformationaboutthisparameter,see“SpecifyingaDatabaseInstallationforIndividualUsers
andMachines”onpage 44.
TheMSIFileNameparameternamesthepackage.
Forexample,includeMSIFilename=Firefox30.msiinthePackage.inifile.
TheMSIPropertyparametermakesitpossibletoaddextrarowstothe.msi Propertytable,foradding
customizedMSIpropertyvalues.
AddMSIProperty.Xxx=yyysettingstothePackage.inifile.Property = XxxandValue = Yyy.
TheMSIRequireElevatedPrivilegesparameterindicateswhetheraninstallerneedselevated
privilegesfordeploymentonMicrosoftVista.Installationsforindividualusersdonotusuallyneed
elevatedprivilegesbutpermachineinstallationsrequiresuchprivileges.
Forexample,includeMSIRequireElevatedPrivileges=1inthePackage.inifile.
TheMSIProductCodeparametermakesiteasiertoinstallanewversionoftheapplication.AnMSI
databasecontainsaproductcodeandanupgradecode.Whenyouupdateapackage,keeptheoriginal
valueoftheMSIUpgradeCodeparameter.
Iftheparametervalueofthenewversionisthesameasthevalueoftheol
dversion,theinstallation
promptsyoutoremovetheoldversion.Ifthevaluesfortheparameteraredifferent,theinstallation
uninstallstheoldversionandinstallsthenewversion.
VMwarerecommendsthatyouavoidspecifyinganMSIProductCodevalueandallowThinAppto
generateadifferentproductcodeforeachbuild.
Regardlessoftheparameterva
luesspecifiedatbuildtime,youcanoverridethesettingsatdeploymenttime.
See“ForceMSIDeploymentsforEachUserorEachMachine”onpage 44.FormoreinformationaboutMSI
parameters,see“ConfiguringMSIFiles”onpage 96.
Modify the Package.ini File to Create MSI Files
FormoreinformationaboutMSIparameters,see“CustomizingMSIFileswithPackage.iniParameters”on
page 43and“ConfiguringMSIFiles”onpage 96.
BeforeyoucanmodifyMSIparameters,youmustaddanentryfortheMSIFilenameparametertogenerate
MSIfiles.