4.0.4

Table Of Contents
VMware, Inc. 81
Appendix A Configuring Package Parameters
Examples
Usethe/<option> <parameter>formatforcommandlinearguments.
[<app>.exe]
Source=%ProgramFilesDir%\<base_app>\<app>.exe
Shortcut=<primary_data_container>.exe
CommandLine="%ProgramFilesDir%\<base_app>\<app>.exe" /<option> <parameter>
ThinAppcancreateaCommandLineentrybasedonthe
ʺC:\Program Files\Mozilla Firefox\firefox.exe" -safe-modeStartmenushortcut.
CommandLine="C:\Program Files\Mozilla Firefox\firefox.exe" -safe-mode
Disabled
TheDisabledparameterindicatesthatanapplicationbuildtargetisjustaplaceholderandpreventsThinApp
fromgeneratingtheexecutablefileinthe/bindirectory.Thisparameterisusefulwhenyoudonotselecta
particularentrypointduringtheSetupCapturewizardbutdecideatalatertimethatyou
wanttogeneratean
executablefileforthatentrypoint.
Ifyoudonotselectthecmd.exe,regedit.exe,oriexplore.exeentrypointsduringtheapplicationcapture
process,andyoudevelopaneedtodebugortroubleshoottheenvironment,youcansettheDisabled
parameterto0andrebuildtheproject
togeneratetheseentrypoints.Forinformationaboutthe
troubleshootingentrypoints,see“SpecifyApplicationShortcutsandTrackingNamesonpage 16.
Examples
Youcanpreventthegenerationoftheapplicationexecutablefileduringthebuildprocess.ThinAppusesthis
settingfortheentrypointsthatyoudonotselectduringtheSetupCapturewizard.
[app.exe]
Source=%ProgramFilesDir%\<my_app>\<app>.exe
Disabled=1
Youcanuseavalueof0fortheDisabledparameterorremovethelinetogeneratetheapplicationexecutable
file.
[app.exe]
Source=%ProgramFilesDir%\<my_app>\<app>.exe
Disabled=0
ReadOnlyData
TheReadOnlyDataparameterspecifiesthenameofthereadonlyvirtualregistryfilecreatedduringthe
applicationbuild.
Donotalterthevalueofthisparameter.ThePackage.inifiledisplaysthisparameterincaseyouneedto
locatetheprimarydatacontainer.TheReadOnlyDataparameterinanapplicationspecificsectionof
the
Package.inifiledesignatestheprimarydatacontainer.
Whentheprimarydatacontainerislessthan200MB,thecontainerisstoredwithinanentrypointexecutable
file.Whentheprimarydatacontainerismorethan200MB,ThinAppstoresthecontainerasa.datfilethat
cannotserveasanentrypoint
fortheapplication.
Examples
ThedefaultandrequiredvaluespecifiesPackage.ro.tvrasthenameofthevirtualregistryfile.
ReadOnlyData=bin\Package.ro.tvr