|
|
The directory where the current running exe is located.
|
|
example: c:\program files\myprog \test.exe (does not include trailing backslash)
|
|
|
|
The name of the current EXE with extension, but without path.
|
|
example: c:\program files\myprog\ test.exe
|
|
|
|
The name of the current EXE without extension or path.
|
|
example: c:\program files\myprog\ test .exe
|
|
|
|
This macro is only available if Thinstall's installer is used. %VersionId% will expand to the "Program Indentification String" value you entered in the Version Tab in the Install dialog.
|
|
This macro is typically used in conjunction with %Programs% to specify a StartMenu shortcut link path locations. For example:
|
|
If Program Indentification String is set to "Thinstall Studio", then the filename macro:
|
|
%Programs% \ %VersionId% \ %ProgramName%
|
|
will expand to the something similar to the following:
|
|
C:\Documents and Settings\All Users\Start Menu\Programs \ Thinstall Studio \ Thinstall.exe
|
|
|
|
The current working directory when the program first began execution. If the current working directory is later changed by the program, the files retain the original expansion.
|
|
|
|
The Windows TEMP directory for the current user. Windows determines the Temp directory by consulting the Environment Variable TEMP.
|
|
|
|
The value of the Environment Variable "EnvVar"
|
|
example: $PATH$ = c:\windows;c:\windows\system32;....
|
|
|
|
The non-hardcoded version of c:\program files
|
|
|
|
Where application can place StartMenu shortcuts at the top level
|
|
Windows NT example=C:\Documents and Settings\All Users\Start Menu)
|
|
Applications should use %Common Programs% to place shortcuts under Start Menu\Programs.
|
|
|
|
Path where Start Menu is located for the current user
|
|
|
|
Where the application should place data meant to be shared with All Users.
|
|
Windows NT example=C:\Documents and Settings\All Users\Application Data
|
|
fall-back substitution = %InstallPath%
|
|
|
|
Where application should store machine local application data
|
|
Windows NT example=C:\Documents and Settings\Username\Local Settings\Application Data)
|
|
fall-back substitution = %InstallPath%
|
|
|
|
Where the application should place data to be accessed by the current user.
|
|
Windows NT example=C:\Documents and Settings\UserName\Application Data
|
|
fall-back substitution = %InstallPath%
|
|
|
|
Where the application should place desktop shortcuts for All User.
|
|
Windows NT example = C:\Documents and Settings\All Users\Desktop
|
|
fall-back substitution = %Desktop%
|
|
|
|
Specifies the path to the current user's desktop
|
|
|
|
Where the application should place startup shortcuts for All User.
|
|
Windows NT example = C:\Documents and Settings\All Users\Start Menu\Programs\Startup
|
|
fall-back substitution = %StartUp%
|
|
|
|
Specifies the directory where objects are run after login for the current user.
|
|
|
|
Where the application should place startup shortcuts for All User.
|
|
Windows NT example = C:\Documents and Settings\All Users\Start Menu\Programs
|
|
fall-back substitution = %Programs%
|
|
|
|
The non-hardcoded version of %StartMenu%\Programs
|
|
example = C:\Documents and Settings\UserName\Start Menu\Programs
|
|
Designed for Windows XP Logo requirements ask you to use %Common Programs% instead of %Programs% so shortcuts are visisble to all local users.
|
|
|
|
All User's favorites directory.
|
|
fall-back substitution = %Favorites%
|
|
|
|
Current User's Favorites directory
|
Requires shfolder.dll 5.0
|
|
|
The OS independent version of c:\windows\system32
|
|
Windows 95 example: c:\windows\system
|
|
Windows 98 example: c:\windows\system32
|
|
Windows NT example: c:\winnt\system32
|
|
|
|
The OS independent version of c:\windows
|
|
Windows 95/98/ME/XP example: c:\windows
|
|
Windows NT example: c:\winnt
|
|
|
|
Specifies the "My Documents" folder for the current user
|
Requires shfolder.dll 5.0
|
|
Requires shfolder.dll 5.0
|
|
|
Current User's NetHood directory
|
Requires shfolder.dll 5.0
|
|
|
Current User's Recent directory
|
Requires shfolder.dll 5.0
|
|
Requires shfolder.dll 5.0
|
|
Requires shfolder.dll 5.0
|
|
The user's profile folder. A typical path is C:\Documents and Settings\ username.
Requires shfolder.dll 5.0
|
|
The file system directory containing user profile folders. A typical path is C:\Documents and Settings.
Requires shfolder.dll 6.0
|
Starting Working Directory
|
Program EXE location
|
Virtual filename
|
Runtime Expanded result
|
c:\otherdir
|
c:\program files\myprog\test.exe
|
%cwd%\data.txt
|
c:\otherdir\data.txt
|
c:\otherdir
|
c:\program files\myprog\test.exe
|
%InstallPath%\data.txt
|
c:\program files\myprog\data.txt
|
c:\otherdir
|
c:\program files\myprog\test.exe
|
%InstallPath%\%basename%.dat
|
c:\program files\myprog\test.dat
|
c:\otherdir
|
c:\program files\myprog\test.exe
|
%InstallPath%\%programname%.dat
|
c:\program files\myprog\test.exe.dat
|
c:\otherdir
|
c:\program files\myprog\test.exe
|
x:\mydir\test.dat
|
x:\mydir\test.dat
|