4.6.1

Table Of Contents
ThinApp User’s Guide
72 VMware, Inc.
OutDir
TheOutDirparameterspecifiesthedirectorythatstoresthebuild.batoutput.
Donotmodifythevalueofthisparameter.
Examples
ThestaticvalueoftheOutDirparameterspecifiesthebindirectoryoftheproject.
[BuildOptions]
OutDir=bin
RetainAllIcons
TheRetainAllIconsparameterkeepsalloftheoriginaliconsoftheexecutablefilelistedintheSource
parameterintheapplication.
Theiconsthatarenotassignedtoapplicationexecutablefilesresideinthevirtualfilesystemofthepackage.
TheRetainAllIconsparameterdetermineswhethertocopytheunusediconsfromthevi
rtualfilesystemto
theexecutablefile.Tosavediskspace,ThinAppsetsaninitialvaluethatremovesunusediconsfromthe
portionoftheexecutablefilethatisvisibletothephysicalenvironment.
Examples
YoucanmodifytheRetainAllIconsparametertokeepalloftheoriginaliconsoftheapplication.
[app.exe]
Source=%ProgramFilesDir%\myapp\app.exe
RetainAllIcons=1
Configuring Permissions
YoucanmodifyThinAppparametersforsecuritytasksthatdefineuseraccesstopackagesandchangeData
ExecutionPrevention(DEP)protection.
AccessDeniedMsg
TheAccessDeniedMsgparametercontainsanerrormessagetodisplaytouserswhodonothavepermission
torunapackage.
ThinAppsetsaninitialmessagethatnotifiestheusertocontacttheadministrator.
Examples
YoucanmodifytheAccessDeniedMsgparametertoaddatechnicalsupportnumber.
[BuildOptions]
PermittedGroups=Administrator;OfficeUsers
AccessDeniedMsg=You do not have permission to execute this application, please call support @
1-800-822-2992
AddPageExecutePermission
TheAddPageExecutePermissionparametersupportsapplicationsthatdonotworkinaDataExecution
Prev ention(DEP)environment.
TheDEPfea tureofWindowsXP SP2, WindowsServer 2003,andlateroperatingsystemversionsprotects
againstsomesecurityexploitsthatoccurwithbufferoverflow.This featurecreatescompatibilityissues.
WindowsturnsoffthefeaturebydefaultonWindowsXP
SP2andyoucanuseamachinespecificoptinor
optoutlistoftheapplicationstowhichtoapplyDEPprotection.Optinandoptoutpoliciescanbedifficult
tomanagewhenalargenumberofmachinesandapplicationsareinv olv ed.TheAddPageExecutePermission
parameterinstructsThinApptoaddexecuti
onpermissiontopagesthatanapplicationallocates.The
applicationcanrunonmachinesthathaveDEPprotectionenabledwithoutmodifyingtheoptoutlist.
ThinAppsetsaninitialvalueoftheAddPageExecutePermissionparameterthatpreventsanychangetothe
DEPprotections.