4.6

Table Of Contents
ThinApp User’s Guide
90 VMware, Inc.
Shortcuts
TheShortcutsparameterliststhelocationswherethethinreg.exeutilitycreatesashortcuttoavirtual
application.
ThecaptureprocessdeterminesShortcutsentriesbasedontheshortcutstheapplicationinstaller
implements.MSIfilesusetheShortcutsparametertodeterminetheshortcutstocreate.
Examples
YoucanmodifytheShortcutsparametertocreateashortcutintheMicrosoftOfficefolderoftheStartmenu
totheMicrosoftWord 2003application.Ifyouaddshortcutlocations,usesemicolonstoseparatetheentries.
Eachentrycancontainfoldermacros.
[Microsoft Office Word 2003.exe]
ReadOnlyData=bin\Package.ro.tvr
Source=%ProgramFilesDir%\Microsoft Office\OFFICE11\WINWORD.EXE
Shortcuts=%Programs%\Microsoft Office
Source
TheSourceparameterspecifiestheexecutablefilethatThinApploadswhenyouuseashortcutexecutable
file.Theparameterprovidesthepathtotheexecutablefileinthevirtualorphysicalfilesystem.
ThinAppspecifiesthesourceforeachexecutablefile.Ifanapplicationsuitehasthreeuserentrypoints,such
asWinword.exe,Powerpnt.exe,andExcel.exe,thePackage.inifileliststhreeapplicationentries.Each
entryhasauniquesourceentry.
IfThinAppcannotfindthesourceexecutablefileinthevirtualfilesystem,ThinAppsearchesthephysicalfile
system.Forexample,ifyouusenativeInternetExplorerfromthevirtualenvironment,
ThinApploadsthe
sourceexecutablefilefromthephysicalfilesystem.
TheSourceparameterandthe/bindirectoryintheprojectarenotrelatedtoeachother.The/bindirectory
storesthegeneratedexecutablefileandtheSourcepathpointstotheinstalledexecutablefilestoredinthe
readonlyvirtual
filesystem.
DonotmodifytheSourcepath.Thecaptureprocessdeterminesthepathbasedonwheretheapplication
installerplacestheexecutablefileinthephysicalfilesystemofthecapturemachine.ThinAppcreatesavirtual
filesystempathbasedonthephysicalfilesystempath.
Examples
TheSourceparametercanpointtoanentrypointinC:\Program Files\<base_app>\<app>.exe.
[<app>.exe]
Source=%ProgramFilesDir%\<base_app>\<app>.exe
WorkingDirectory
TheWorkingDirectoryparameterdeterminesthefirstlocationinwhichanapplicationlooksforfilesand
placesfiles.
ThinAppdoesnotincludethisparameterbydefaultinthePackage.inifilebecauseThinappassumesthe
workingdirectoryisthedirectorywheretheexecutablefileresides.ThetypicallocationinaThinApp
environmentis
onthedesktopofthedeploymentmachine.
Youcansettheworkingdirectoryforindividualapplications.Theworkingdirectorycanexistinthevirtual
filesystem,thesandbox,orthephysicalsystemdependingontheisolationmodesetting.Youcanusefolder
macrosforthepathnameconventions.
TheWorkingDirectoryparametersets
theinitialvalueoftheworkingdirectorybutthedirectoryisdynamic
asyounavigatetootherlocations.