4.6.1

Table Of Contents
ThinApp User’s Guide
44 VMware, Inc.
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.
FormoreinformationabouttheMSIDe
faultInstallAllUsersparameter,see“MSIDefaultInstallAllUsers”
onpage 96.
Force MSI Deployments for Each User or Each Machine
Regardlessoftheparametervaluesspecifiedatbuildtime,youcanoverrideMSIsettingsatdeploymenttime.
Forexample,ifyoucreatedthedatabasewithavalueof1fortheMSIDefaultInstallAllUsersparameter,
youcanstillforceindividualuserdeploymentsforFirefox3.0withth
emsiexec /i Firefox30.msi
ALLUSERS=""command.
IfyouusetheALLUSERS=""argumentforthemsiexeccommand,ThinAppextractsthecapturedexecutable
filestothe%AppData%userdirectory.
Force MSI deployments for individual users or for all users on a machine
(Optional)Fromthecommandline,typethemsiexec /i <database>.msi ALLUSERS=""commandto
forcedeploymentsforindividualusers.
(Optional)Fromthecommandline,typethemsiexec /i <database>.msi ALLUSERS=1commandto
forcedeploymentsforallusersonamachine.
Override the MSI Installation Directory
YoucanusethemsiexeccommandtooverridethedefaultMSIinstallationdirectory.
WhenThinAppperformsanindividualmachineMSIdeployment,thedefaultinstallationdirectoryisthe
localizedequivalentof%ProgramFilesDir%\<inventory_name> (VMware ThinApp).IfyouinstallaFi
refox
packageforeachmachine,thepackageresidesin%ProgramFilesDir%\Mozilla Firefox (VMware ThinApp).
WhenThinAppperformsanMSIdeploymentforindividualusers,thedefaultinstallationdirectoryis
%AppData%\<inventory_name> (VMware ThinApp).
Inbothcases,youcanoverridetheinstallationdirectorybypassinganINSTALLDIRpropertytothemsiexec
command.
Override the MSI installation directory
Fromthecommandline,typethem
siexec /i <database>.msi
INSTALLDIR=C:\<my_directory>\<my_package>command.