5.0

Table Of Contents
VMware, Inc. 39
Chapter 3 Deploying Applications
Inbothcases,youcanoverridetheinstallationdirectorybypassinganINSTALLDIRpropertytothemsiexec
command.
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.inifilethatspecifies
theneedforelevatedprivilegeswhenthevalue
issetto1.Specifyingavalueof1forthisparameterorforcing
anindividualuserinstallationfromthecommandlinecangenerateUACprompts.Specifyingavalueof0for
thisparameterpreventsUACpromptsbutthedeploymentfailsformachinewideinstallations.
Controlling Application Access with Active Directory
YoucancontrolaccesstoapplicationsusingActiveDirectorygroups.
Whenyoubuildapackage,ThinA pp convertsActiv eDirectorygroupnamesintoSecurityIdentifier(SID)
values.ASIDisasmallbinaryvaluethatuniquelyidentifiesanobject.SIDvaluesarenotuniqueforafew
groups,suchastheadministrator
group.BecauseThinAppstoresSIDvaluesinpackagesforfuturevalidation,
thefollowingconsiderationsapplytoActiveDirectoryuse:
YoumustbeconnectedtoyourActiveDirectorydomainduringthebuildprocessandthegroupsyou
specifymustexist.ThinApplooksuptheSIDvalueduringthebuild.
Ifyoudeleteagroupandrecreateit,theSIDmightchange.Inthiscase,rebuildthepackageto
authenticateagainstthenewgroup.
Whenusersareoffline,ThinAppcanauthenticatethemusingcachedcredentials.Iftheuserscanloginto
theirmachines,authenticationstillworks.Useagrouppolicytosettheperiodwhencachedcredentials
arevalid.
CachedcredentialsmightnotrefreshonclientsuntilthenextActiveDirectoryrefreshcycle.Youcanforce
agrouppolicyonaclientbyusingthegpupdatecommand.Thiscommandrefresheslocalgrouppolicy,
grouppolicy,andsecuritysettingsstoredinActiveDirectory.YoumightlogoutbeforeActiveDirectory
credentials
arerecached.
Certaingroups,suchastheAdministratorsgroupandEveryonegroup,havethesameSIDonevery
ActiveDirectorydomainandworkgroup.OthergroupsyoucreatehaveadomainspecificSID.Users
cannotcreatetheirownlocalgroupwiththesamenametobypassauthentication.
ActiveDirectoryDomainServicesdefinesecuritygroupsanddistributiongroups.Ifyouusenested
groups,ThinAppcanonlysupportnestedsecuritygroups.
Package.ini Entries for Active Directory Access Control
ThinAppprovidesthePermittedGroupsparameterinthePackage.inifiletocontrolActiveDirectory
access.
PermittedGroups Parameter
Whenyoustartacapturedapplication,thePermittedGroupsparametercheckswhetherauserisamember
ofaspecifiedActiveDirectorygroup.IftheuserisnotamemberoftheActiveDirectorygroup,ThinAppdoes
notstarttheapplication.ForinformationaboutrestrictingpackagestoActiv eDirectorygroups,see
“PermittedGroups”
parameterinThinAppPackage.iniParametersReferenceGuide.