4.5

Table Of Contents
VMware, Inc. 61
Chapter 5 Configuring Package Parameters
Youcanuseacommatoseparatepatternsinthelist.Wildcards (*)matchnoneofthecharactersoratleastone
ofthecharactersandquestionmarks (?)matchexactlyonecharacter.ThesyntaxissimilartotheDOSdir
command,butyoucanapplywildcardcharacterstodirectorynamesandfilenames.
YoucanspecifytheExcludePatternparameterinthePackage.inifile,wherethepatternexclusionapplies
totheentiredirectorystructure,andthe##Attributes.inifile,whereThinAppaddsthepatternexclusion
tothecurrentlistofexclusionsbutappliessettingsonlytothespecificdirectoryandsubdirectories.Youcan
createadifferent
exclusionlistfordifferentdirectoriesinyourproject.
Examples
Ifyoustorepackagesinaversioncontrolsystemandyouwanttoexcludeversioncontrolinfofromthevirtual
filesystem,youcanexcludeanydirectoriescalled.svnor.cvsandallthesubdirectories.
[FileList]
ExcludePattern=\.svn,\.cvs
Thepatterndoesnotmatchfilenamesordirectoriesthatcontain.svnor.cvsinthemiddleofthestring.
Youcanexcludeanypaththatendswith.bakor.msi.
[FileList]
ExcludePattern=*.bak,*.msi
Icon
TheIconparameterspecifiestheiconfiletoassociatewiththegeneratedexecutablefile.Thisiconappearsin
theapplication,suchasMicrosoftWord,andinthefilesassociatedwiththeapplication,suchas.docfiles.
Eachapplicationcomeswithitsowniconstoredasa.icofile,withinthe.exe
fileoftheapplication,orwithin
a.dllfile.Thecaptureprocessattachestheiconstotheexecutablefiles.Theapplicationusesthemaingroup
iconfromtheexecutablefileintheSourceparameterandtheindividualiconresourcethatthegroupicon
pointsto.
Examples
YoucanmodifytheIconparametertouseanalternateiconbyspecifyinganexecutablefilethatisdifferent
fromtheexecutablefileintheSourceparameter.Alternateiconsmightbeusefulforthirdpartycompanies.
[<my_app>.exe]
Source=%ProgramFilesDir%\<my_app>\app.exe
Icon=%ProgramFilesDir%\<my_app>\app2.exe
Youcanspecifyaniconsetbyappending,1 ,2totheendoftheiconpath.
[<my_app>.exe]
Source=%ProgramFilesDir%\<my_app>\<app>.exe
Icon=%ProgramFilesDir%\<my_app>\<app2>.exe,1
Youcanusea.ico filetospecifytheapplicationicon.
[<my_app>.exe]
Source=%ProgramFilesDir%\<my_app>\<app>.exe
Icon=%ProgramFilesDir%\<my_app>\<my_icon>.ico
OutDir
TheOutDirparameterspecifiesthedirectorythatstoresthebuild.batoutput.
Donotmodifythevalueofthisparameter.
Examples
ThestaticvalueoftheOutDirparameterspecifiesthebindirectoryoftheproject.
[BuildOptions]
OutDir=bin