4.0.4

Table Of Contents
ThinApp User’s Guide
82 VMware, Inc.
ReserveExtraAddressSpace
TheReserveExtraAddressSpaceparameterindicatestheamountofextraaddressspacetoreserveforthe
capturedexecutablefile.
Thetlink.exeutilitysetstheWindowsSizeOfImagefieldinthegeneratedexecutablefilebasedonthe
SizeOfImagefieldofthesourceexecutablefile.TheWindowsloaderusestheSizeOfImagefieldtodetermine
howmuch
virtualaddressspacetoreservefortheexecutablefile.Whenyoubuildapackagebasedonasource
executablefilethatisnotincludedinthepackage,youcanreservevirtualaddressspacebyspecifyingthe
ReserveExtraAddressSpaceparameter.Thevalueisthenumberofbytestoreserve.YoucanaddK
afterthe
numbertoindicatekilobytesorMtoindicatemegabytes.Thedefaultvalueof0specifiesaddressspaceto
reserve.
Examples
YoucaninstructtheWindowsloadertoreserve512KBofaddressspace.
[app.exe]
Source=%ProgramFilesDir%\myapp\app.exe
ReserveExtraAddressSpace=512K
Thedefaultbehaviordoesnotreserveextraaddressspace.
[app.exe]
Source=%ProgramFilesDir%\myapp\app.exe
ReserveExtraAddressSpace=0
Shortcut
TheShortcutparameterpointsashortcutexecutablefiletotheprimarydatacontainerthatcontainsthe
virtualfilesystemandvirtualregistry.Youcandistinguishaprimarydatacontainerfromotherentrypoints
inthePackage.inifilebecausetheprimarydatacontainercontainstheReadOnlyDataentryandtheother
entrypoints
containtheShortcutentry.
To ensurethattheapplicationcanstart,theshortcutexecutablefilemustresideinthedirectorythatstoresthe
primarydatacontainerfile.Forinformationabouttheprimarydatacontainer,see“ReadOnlyData”on
page 81.
DonotchangethevalueoftheShortcutparameter.ThinAppdetectstheprimarydata
containerduringthe
captureprocess.
Examples
ThinAppcanpointAcroRd32.exe,theshortcutexecutablefile,toAdobe Reader 8.exe,theprimarydata
containerfile.
[AcroRd32.exe]
Shortcut=Adobe Reader 8.exe
Source=%ProgramFilesDir%\Adobe\Reader 8.0\Reader\AcroRd32.exe
ThinAppcanpointMicrosoft Office Word 2007.exe,theshortcutexecutablefile,toMicrosoft Office
Enterprise 2007.dat,theprimarydatacontainerfile.
[Microsoft Office Word 2007.exe]
Source=%ProgramFilesDir%\Microsoft Office\Office12\WINWORD.EXE
Shortcut=Microsoft Office Enterprise 2007.dat
Shortcuts
TheShortcutsparameterliststhelocationswherethethinreg.exeutilitycreatesashortcuttoavirtual
application.Youcanseparatetheentrieswithsemicolons.Eachentrycancontainfoldermacros.
ThecaptureprocessdeterminesShortcutsentriesbasedontheshortcutstheapplicationinstaller
implements.Ifyouaddshortcutlocations,usesemicolons
toseparatetheentries.
MSIfilesusetheShortcutsparametertodeterminetheshortcutstocreate.