Directory shortcuts
You can use directory shortcuts instead of absolute path to prevent application files to be installed to improper directories (eg. if windows is installed in c:\win001 and you set path c:\windows\system for your DLL modules, windows won't find them in it's system directory c:\win001\system and you'll be unable to load that modules). There are a lot of shortcuts available, all are beginning and ending with % character. If you want to include character % in your path, you should use %% or %p%. Also all unrecognized shortcuts will be replaced with % characters (eg. if you set %notavailable%\test.file, it will be saved to %\test.file (!), so please be careful by writing of that shortcuts). Here is a table containing all available shortcuts (they aren't case sensitive): SendTo directory...
%mydocuments%My documents directory
%windowsdir%Main windows directory (it's C:\windows in most cases)
%windowssystem%Windows system directory (C:\windows\system)
%programfiles%Program files directory (C:\Program files)
%targetmenudir%Directory, that user selects by installation as program's menu directory (don't use this directory by: default program directory, default menu directory, license file, readme file)
%targetprogramdir%Directory, that user selects by installation as program's main directory (see previous table line for limitations)
%windowsmenu%Windows menu directory (C:\Windows\Start menu) - this directory isn't used as much as following
%windowsmenuprograms%Windows programs menu directory (C:\Windows\Start menu\Programs) - here are placed most programs' shortcuts and icons... (CoolSetup's too)
%temp%Temporary directory (C:\Temp, C:\Windows\Temp)
%mypictures%My pictures directory - works just in Windows Me (and XP?)
%myvideos%My videos directory - works just in Windows Me (and XP?)
%menustartup%Startup menu directory - programs and links placed here will be executed right after windows starts.
%windowsdesktop%Windows desktop directory - standard desktop directory...
%windowsfonts%Directory containing all installed fonts (or most of them)
%favorites%Favorites directory...
%sendto%
%%Puts % character
%p%Puts % character


Attention! You have to write \ character after each shortcut, other wise you can get following results:
Path %windows%test.file will be saved as eg. C:\windowstest.file! You probably don't want to get this output!