EasyManua.ls Logo

VMware THINAPP 4.6 - Building an MSI Database; Customizing MSI Files with Package.ini Parameters; Modify the Package.ini File to Create MSI Files

VMware THINAPP 4.6
146 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
VMware, Inc. 43
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.
TheMSIDefaultInstallAllUsersparametersetstheinstallationofthepackageforindividualusers.
ThinAppinstallsthepackageinthe%AppData%userdirectory.
Forexample,includeMSIDefaultInstallAllUsers=0inthePackage.inifile.
Formoreinformationaboutthisparameter,see“SpecifyingaDatabaseInstallationforIndividualUsers
andMachines”onpage 44.
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 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.

Table of Contents

Related product manuals