4.5

Table Of Contents
ThinApp User’s Guide
34 VMware, Inc.
To modify the MSI parameters
1InthePackage.inifile,typetheMSIfilename.
MSIFilename=<filename>.msi
Forexample,thefilenameforFirefoxmightbeMozilla Firefox 2.0.0.3.msi.
2 (Optional)UpdateotherMSIparameters.
3Doubleclickthebuild.batfileinthecapturedapplicationfoldertorebuildtheapplicationpackage.
Specifying a Database Installation for Individual Users and Machines
YoucanmodifytheinstallationoftheMSIdatabaseforusersandmachines.
ThinAppinstallstheMSIdatabaseacrossallmachines.Youcanchangethedefaultinstallationwiththe
followingparametervalues:
Tocreateadatabaseinstallationforindividualusers,useavalueof0forthe
MSIDefaultInstallAllUsersparameterinthePackage.inifile.Thisvaluecreatesmsiexec
parametersforeachuser.
Toallowadministratorstocreateadatabaseinstallationforallusersonamachine,ortoallowan
individualuserwithoutadministratorrightstocreateaninstallationonlyforthatuser,useavalueof2
fortheMSIDefaultInstallAllUsersparameter.AdministratorsbelongtotheAdministratorsActive
Directorygroup.
Formoreinformation
abouttheMSIDefaultInstallAllUsersparameter,see“MSIDefaultInstallAllUsers”
onpage 86.
Force MSI Deployments for Each User or Each Machine
Regardlessoftheparametervaluesspecifiedatbuildtime,youcanoverrideMSIsettingsatdeploymenttime.
Forexample,ifyoucreatedthedatabasewithavalueof1fortheMSIDefaultInstallAllUsersparameter,
youcanstillforceindividualuserdeploymentsforFirefox3.0
withthemsiexec /i Firefox30.msi
ALLUSERS=""command.
IfyouusetheALLUSERS=""argumentforthemsiexeccommand,ThinAppextractsthecapturedexecutable
filestothe%AppData%userdirectory.
To force MSI deployments for individual users
Fromthecommandline,typethemsiexec /i <database>.msi ALLUSERS=""command.
To force MSI deployments for all users on a machine
Fromthecommandline,typethemsiexec /i <database>.msi ALLUSERS=1command.
Override the MSI Installation Directory
Youcanusethemsiexeccommandtooverridethe
defaultMSIinstallationdirectory.
WhenThinAppperformsanindividualmachineMSIdeployment,thedefaultinstallationdirectoryisthe
localizedequivalentof%ProgramFilesDir%\<inventory_name> (VMware ThinApp).IfyouinstallaFirefox
packageforeachmachine,thepackageresidesin%ProgramFilesDir%\Mozilla Firefox (VMware ThinApp).
WhenThinAppperformsanMSIdeploymentforindividualusers,thedefaultinstallationdirectoryis
%AppData%\<inventory_name> (VMware ThinApp)
.
Inbothcases,youcanoverridetheinstallationdirectorybypassinganINSTALLDIRpropertytothemsiexec
command.
To override the MSI installation directory
Fromthecommandline,typethemsiexec /i <database>.msi
INSTALLDIR=C:\<my_directory>\<my_package>command.