4.0.4

Table Of Contents
VMware, Inc. 31
Chapter 3 Deploying Applications
To override the MSI installation directory
Fromthecommandline,typethemsiexec /i <database>.msi
INSTALLDIR=C:\<my_directory>\<my_package>command.
Deploying MSI Files on Microsoft Vista
WhenyoudeployMSIfilesonVista,youmustindicatewhetheraninstallerneedselevatedprivileges.Typical
individualuserinstallationsdonotrequireelevatedprivilegesbutindividualmachineinstallationsrequire
suchprivileges.ThinAppprovidestheMSIRequireElevatedPrivilegesparameterinthePackage.inifile
thatspecifiestheneedforelevatedprivilegeswhenthevalue
issetto1.Specifyingavalueof1forthis
parameterorforcinganindividualuserinstallationfromthecommandlinecangenerateUACprompts.
Specifyingavalueof0forthisparameterpreventsUACpromptsbutthedeploymentfailsformachinewide
installations.
Controlling Application Access with Active Directory
YoucancontrolaccesstoapplicationsusingActiveDirectorygroups.Whenyoubuildapackage,ThinApp
convertsActiveDirectorygroupnamesintoSecurityIdentifier(SID)values.ASIDisasmallbinaryvaluethat
uniquelyidentifiesanobject.SIDvaluesarenotuniqueforafewgroups,suchastheadministrator
group.
BecauseThinAppstoresSIDvaluesinpackagesforfuturevalidation,thefollowingconsiderationsapplyto
ActiveDirectoryuse:
YoumustbeconnectedtoyourActiveDirectorydomainduringthebuildprocessandthegroupsyou
specifymustexist.ThinApplooksuptheSIDvalueduringthebuild.
Ifyoudeleteagroupandrecreateit,theSIDmightchange.Inthiscase,rebuildthepackageto
authenticateagainstthenewgroup.
Whenusersareoffline,ThinAppcanauthenticatethemusingcachedcredentials.Iftheuserscanloginto
theirmachines,authenticationstillworks.Useagrouppolicytosettheperiodwhencachedcredentials
arevalid.
CachedcredentialsmightnotrefreshonclientsuntilthenextActiveDirectoryrefreshcycle.Youcanforce
agrouppolicyonaclientbyusingthegpupdatecommand.Thiscommandrefresheslocalgrouppolicy,
grouppolicy,andsecuritysettingsstoredinActiveDirectory.YoumightneedtologoffbeforeActive
Directorycredentialsarerecached.
Certaingroups,suchastheAdministratorsgroupandEveryonegroup,havethesameSIDonevery
ActiveDirectorydomainandworkgroup.OthergroupsyoucreatehaveadomainspecificSID.Users
cannotcreatetheirownlocalgroupwiththesamenametobypassauthentication.
Package.ini Entries for Active Directory Access Control
ThinAppprovidesthePermittedGroupsparameterinthePackage.inifiletocontrolActiveDirectory
access.Whenyoustartacapturedapplication,thePermittedGroupsparametercheckswhetherauserisa
memberofaspecifiedActiveDirectorygroup.IftheuserisnotamemberoftheActiveDirectorygroup,
Thinappdoesnot
starttheapplication.ForinformationaboutrestrictingpackagestoActiveDirectorygroups,
see“PermittedGroups”onpage 67.
InthefollowingPackage.inientry,App1andApp2inheritPermittedGroupsvalues.
[BuildOptions]
PermittedGroups=Administrators;OfficeUsers
[App1.exe]
...
..
[App2.exe]
...
...