4.7.3

Table Of Contents
ThinApp User’s Guide
68 VMware, Inc.
Forexample,youmightcaptureanapplicationonasystemthathasC:\WINNTastheWindowsdirectoryand
deploytheapplicationonasystemthathasC:\WindowsastheWindowsdirectory.ThinApptransparently
convertsC:\WINNTto%SystemRoot%duringthecaptureprocessforthatsystemandexpands%SystemRoot%
toC:\Windowsduringruntime
forthatsystem.
IfanapplicationregistersDLLstoC:\winnt\system32whilerunningonWindows 2000,theusercanquit
theapplicationandlogintoaWindowsXPmachine.OntheWindowsXPmachine,thefilesappeartoexistat
C:\windows\system32andallrelatedregistrykeyspointtoC:\windows\system32.
OnWindows
Vista,ThinAppmovesWindowsSxSDLLsandpolicyinformationtomatchWindowsVista
insteadofusingWindowsXPfilepathstyles.Thisfeatureenablesmostapplicationstomigratetoupdatedor
olderoperatingsystems.
ThinAppprovidesSxSsupportforapplicationsrunningonWindows2000eventhoughtheunderlying
operatingsystemdoes
not.ThissupportenablesmostapplicationscapturedonWindowsXPtorunon
Windows2000withoutchanges.
List of ThinApp Macros
ThinAppusestheshfolder.dllfiletoobtainthelocationofshellfolders.Olderversionsofthe
shfolder.dllfiledonotsupportsomemacronames.
Macrosrequiringshfolder.dllversion5.0orlaterinclude%ProgramFilesDir%,%Common AppData%,
%Local AppData%,%My Pictures%,and%Profile%.
Macrosrequiringshfolder.dllversion6.0orlaterinclude%My Videos%,%Personal%,
and%Profiles%.
Table 71liststheavailablefoldermacros.
Table 7-1. Folder Macros
Macro Name Typical Location
%AdminTools% C:\Documents and Settings\<user_name>\Start
Menu\Programs\Administrative Tools
%AppData% C:\Documents and Settings\<user_name>\Application Data
%CDBurn Area% C:\Documents and Settings\<user_name>\Local Settings\Application
Data\Microsoft\CD Burning
%Common AdminTools% C:\Documents and Settings\All Users\Start Menu\Programs\Administrative
Tools
%Common AppData% C:\Documents and Settings\All Users\Application Data
%Common Desktop% C:\Documents and Settings\All Users\Desktop
%Common Documents% C:\Documents and Settings\All Users\Documents
%Common Favorites% C:\Documents and Settings\All Users\Favorites
%Common Programs% C:\Documents and Settings\All Users\Start Menu\Programs
%Common StartMenu% C:\Documents and Settings\All Users\Start Menu
%Common Startup% C:\Documents and Settings\All Users\Start Menu\Programs\Startup
%Common Templates% C:\Documents and Settings\All Users\Templates
%Cookies% C:\Documents and Settings\<user_name>\Cookies
%Desktop% C:\Documents and Settings\<user_name>\Desktop
%Drive_c% C:\
%Drive_m% M:\
%Favorites% C:\Documents and Settings\<user_name>\Favorites
%Fonts% C:\Windows\Fonts
%History% C:\Documents and Settings\<user_name>\Local Settings\History