Virtual Directory Definitions
Previous Topic  Next Topic 

The following Virtual Directories are currently available in InstallJammer.


<%Desktop%>

The directory location of the user's desktop.  On Windows, this is the user's desktop.  On UNIX, the value is dependant upon which window manager the user is running during installation.


<%GnomeDesktop%>

The Gnome desktop directory. This is where Gnome stores all of the shortcuts that appear on the desktop. This directory is empty if the user does not have the Gnome Desktop.


<%Home%>

The user's home directory. On Windows, InstallJammer attempts to find the best possible option for the user's home directory if they have not specified a location for it.


<%InstallDir%>

The destination directory the user has chosen to install to. If the user is not given the option to select a destination directory, or that pane has not been shown yet, this variable will default to the Default Destination Directory set during build time.


<%InstallInfoDir%>

The directory where InstallJammer will store all of its registry information for this install or where it will check for registry information during uninstallation.


<%InstallJammerRegistryDir%>

The root directory that InstallJammer is using to store registry information about your installs.  This does not include the subdirectory for the current install.  This is the directory where the directories for each install are stored.


<%InstallSource%>

The directory the installer executable was in when it was started.


<%KDEDesktop%>

The KDE desktop directory. This is where KDE stores all of the shortcuts that appear on the desktop. This directory is empty if the user does not have the KDE Desktop.


<%ProgramFolder%>

The full path to the Program Folder the user has selected. This is usually a combination of the Programs folder and ProgramFolderName.


<%RootInstallDir%>

The root install dir.  If this is not null, and the user is root, <%InstallDir%> will be set to this value on startup.


<%Temp%>

The temporary directory used by InstallJammer during installation. Once InstallJammer has finished, this directory, and all of its contents, will be deleted. This is useful for creating temporary files during installation.


<%TempRoot%>

The root of the temporary directory being used by InstallJammer.  InstallJammer will always create a subdirectory in <%TempRoot%> to do all of its work in, but <%TempRoot%> is the actual temporary directory on the user's system.  The user can specify this directory on the command-line with the --temp option.


Technical Detail

Temp Root is determined by looking at:


TEMP environment variable

TMP environment variable

C:/Documents and Settings/<user>/Local Settings/Temp (Windows only)

C:/Windows/Temp (Windows only)
C:/Winnt/Tmp (Windows only)

C:/Temp (Windows only)

/usr/tmp (UNIX only)

/tmp (UNIX only)

/var/tmp (UNIX only)



Windows Virtual Directories

The following Virtual Directories are also available on the Windows platform.  Virtual text in all uppercase letters is treated specially by InstallJammer as a Windows directory.


<%ADMINTOOLS%>


<%ALTSTARTUP%>

File system directory that corresponds to the user's nonlocalized Startup program group.


<%APPDATA%>

File system directory that serves as a common repository for application-specific data. A typical path is C:\Documents and Settings\username\Application Data.


<%BITBUCKET%>

Virtual folder containing the objects in the user's Recycle Bin.


<%CDBURN_AREA%>


<%COMMON_ADMINTOOLS%>


<%COMMON_ALTSTARTUP%>

File system directory that corresponds to the nonlocalized Startup program group for all users. Valid only for Microsoft Windows NTŪ systems.


<%COMMON_APPDATA%>


<%COMMON_DESKTOPDIRECTORY%>

File system directory that contains files and folders that appear on the desktop for all users. A typical path is C:\Documents and Settings\All Users\Desktop. Valid only for Windows NT systems.


<%COMMON_DOCUMENTS%>


<%COMMON_FAVORITES%>

File system directory that serves as a common repository for all users' favorite items. Valid only for Windows NT systems.


<%COMMON_MUSIC%>


<%COMMON_OEM_LINKS%>


<%COMMON_PICTURES%>


<%COMMON_PROGRAMS%>

File system directory that contains the directories for the common program groups that appear on the Start menu for all users. A typical path is C:\Documents and Settings\All Users\Start Menu\Programs. Valid only for Windows NT systems.


<%COMMON_QUICK_LAUNCH%>

The quick launch directory common to all users on the system.  Adding a shortcut here will cause it to appear on every user's quick launch bar.


<%COMMON_STARTMENU%>

File system directory that contains the programs and folders that appear on the Start menu for all users. A typical path is C:\Documents and Settings\All Users\Start Menu. Valid only for Windows NT systems.


<%COMMON_STARTUP%>

File system directory that contains the programs that appear in the Startup folder for all users. A typical path is C:\Documents and Settings\All Users\Start Menu\Programs\Startup. Valid only for Windows NT systems.


<%COMMON_TEMPLATES%>


<%COMMON_VIDEO%>


<%COMPUTERSNEARME%>


<%CONNECTIONS%>


<%CONTROLS%>

Virtual folder containing icons for the Control Panel applications.


<%COOKIES%>

File system directory that serves as a common repository for Internet cookies. A typical path is C:\Documents and Settings\username\Cookies.


<%DESKTOP%>

Windows Desktop virtual folder that is the root of the namespace.


<%DESKTOPDIRECTORY%>

File system directory used to physically store file objects on the desktop (not to be confused with the desktop folder itself). A typical path is C:\Documents and Settings\username\Desktop.


<%DRIVES%>

My Computer -- virtual folder containing everything on the local computer: storage devices, printers, and Control Panel. The folder may also contain mapped network drives.


<%FAVORITES%>

File system directory that serves as a common repository for the user's favorite items. A typical path is C:\Documents and Settings\username\Favorites.


<%FONTS%>

Virtual folder containing fonts. A typical path is C:\Windows\Fonts.


<%HISTORY%>

File system directory that serves as a common repository for Internet history items.


<%INTERNET%>

Virtual folder representing the Internet.


<%INTERNET_CACHE%>

File system directory that serves as a common repository for temporary Internet files. A typical path is C:\Documents and Settings\username\Temporary Internet Files.


<%LOCAL_APPDATA%>


<%MYDOCUMENTS%>


<%MYMUSIC%>


<%MYPICTURES%>


<%MYVIDEO%>


<%NETHOOD%>

A file system folder containing the link objects that may exist in the My Network Places virtual folder. It is not the same as NETWORK, which represents the network namespace root. A typical path is C:\Documents and Settings\username\NetHood.


<%NETWORK%>

Network Neighborhood -- virtual folder representing the root of the network namespace hierarchy.


<%PERSONAL%>

File system directory that serves as a common repository for documents. A typical path is C:\Documents and Settings\username\My Documents. This should be distinguished from the virtual My Documents folder in the namespace.


<%PRINTERS%>

Virtual folder containing installed printers.


<%PRINTHOOD%>

File system directory that contains the link objects that may exist in the Printers virtual folder. A typical path is C:\Documents and Settings\username\PrintHood.


<%PROFILE%>


<%PROGRAM_FILES%>

A folder for components that are shared across applications. A typical path is C:\Program Files.


<%PROGRAM_FILESX86%>


<%PROGRAM_FILES_COMMON%>


<%PROGRAM_FILES_COMMONX86%>


<%PROGRAMS%>

File system directory that contains the user's program groups (which are also file system directories). A typical path is C:\Documents and Settings\username\Start Menu\Programs.


<%QUICK_LAUNCH%>

File system directory that contains Windows shortcuts that appear on the user's Quick Launch toolbar. Not valid on Windows 95.


<%RECENT%>

File system directory that contains the user's most recently used documents. A typical path is C:\Documents and Settings\username\Recent.


<%RESOURCES%>


<%RESOURCES_LOCALIZED%>


<%SENDTO%>

File system directory that contains Send To menu items. A typical path is C:\Documents and Settings\username\SendTo.


<%STARTMENU%>

File system directory containing Start menu items. A typical path is C:\Documents and Settings\username\Start Menu.


<%STARTUP%>

File system directory that corresponds to the user's Startup program group. The system starts these programs whenever any user logs onto Windows NT or starts Windows 95. A typical path is C:\Documents and Settings\username\Start Menu\Programs\Startup.


<%SYSTEM%>

System folder. A typical path is C:\WINNT\SYSTEM.


<%SYSTEM32%>

System folder. A typical path is C:\WINNT\SYSTEM32.


<%SYSTEMX86%>


<%TEMPLATES%>

File system directory that serves as a common repository for document templates.


<%WINDOWS%>

Windows directory or SYSROOT. This corresponds to the %windir% or %SYSTEMROOT% environment variables. A typical path is C:\Windows.