Actual Installer
software installer

Actual Installer Help \ Installer Variables

Back

Actual Installer provides a large number of predefined variables which can be used anywhere in the setup program. Below is a list of predefined variables.

Also, Actual Installer allows you to use Custom Variables (values are retrieved from Registry) and Environment Variables.

In order to retrieve a value from Environment Variables use the following format:
<%ENVIRONMENT_VARIABLE%> (Examples: <%TEMP%>, <%WINDIR%>).

All variable names are not case sensitive (for example, <AppName> is the same as <appname>).


Variable Description / Example
<AppName> Product name
<AppVersion> Product version
<AppNameVersion> Product name and version (e.g.: New Product 1.0)
<GUID> Unique reference number used as an identifier of the product
e.g., {318020E9-4E14-DAB0-1CE4-2EE91C6FF5D0}
<CompanyName> Company name
<WebSite> Web Site Address
<SupportLink> Support Link
<UserName> User name specified by the user at the User Information dialog
<UserCompany> Company name specified by the user at the User Information dialog
<UserSerial> Serial number specified by the user at the User Information dialog
<CustomUserInfo> Custom value specified by the user at the User Information dialog
<Language> Selected language of the setup wizard (e.g.: English, French)
<Lng> Short name of the selected language (e.g.: en, fr)
<LngID> ID of the selected language (e.g.: 1033, 1049)
<SystemLngID> ID of the Windows language (e.g.: 1033, 1049)
<Windows> Windows version (e.g.: Windows 8)
<WindowsVersion> Windows version number (major and minor) (e.g.: 6.1)
Win7 - 6.1, Win8 - 6.2, Win8.1 - 6.3, Win10 - 10.0
<Date> Current date in locale format (e.g.: 07/31/2016; 31.07.2016)
<FormatDate> Current date in format: yyyymmdd (e.g.: 20160731)

Variables containing path

Variable Description / Example
<InstallDir> Main installation directory. By default, sets to
<ProgramFiles>\<AppName> on the "Installation\Files and Folders" tab.
C:\Program Files (x86)\New Product
<SetupTempDir> Temporary directory of the setup program. Also, used to store files that need to be launched "Before Installation".
C:\Users\%UserName%\AppData\Local\Temp\AITMPXXX
<MainExecutable> Path to the main executable file.
C:\Program Files (x86)\New Product\App.exe
<ProgramFiles> Program Files folder. Depending on Windows bitness and "Required OS\64-bit only" option:
C:\Program Files
C:\Program Files (x86)
<WindowsDir> Windows directory. C:\Windows
<SystemDir> System directory. C:\Windows\System32 OR C:\Windows\SysWOW64
<TempDir> Windows temporary directory. C:\Users\%UserName%\AppData\Local\Temp
<FontsDir> Fonts directory. C:\Windows\Fonts
<SystemDrive> System drive. C:\
<CurrentDir> The directory from which the setup program was run
<SetupExe> The full path to the setup executable. C:\Setup.exe
<SetupFile> The file name of the setup executable. Setup.exe
<InstallDrive> Root drive of the setup file. C:
<AllUserProfile> All Users Profile directory. C:\Users\Public
<UserProfile> User Profile directory. C:\Users\%UserName%
<UserProfileName> User Profile Name. USER
<AppData> Application Data directory. C:\Users\%UserName%\AppData\Roaming
<LocalAppData> Local Application Data directory. C:\Users\%UserName%\AppData\Local
<CommonAppData> Common Application Data Folder. C:\ProgramData
<LocalSettings> Used on Windows 2000/XP: C:\Documents and Settings\%UserName%\Local Settings
On Windows Vista/7/8 returns LocalAppData.
<CommonFiles> Common Files directory. C:\Program Files\Common Files
<SentTo> C:\Users\%UserName%\AppData\Roaming\Microsoft\Windows\SendTo
<MyDocuments> User's Documents directory. C:\Users\%UserName%\Documents
<MyPictures> User's Pictures directory. C:\Users\%UserName%\Pictures
<MyMusic> User's Music directory. C:\Users\%UserName%\Music
<CommonDocuments> C:\Users\Public\Documents
<CommonPictures> C:\Users\Public\Pictures
<CommonMusic> C:\Users\Public\Music
<Templates> C:\Users\%UserName%\AppData\Roaming\Microsoft\Windows\Templates
<Favorites> C:\Users\%UserName%\Favorites
<CommonTemplates> C:\ProgramData\Microsoft\Windows\Templates
<CommonFavorites> C:\Users\%UserName%\Favorites
<ProgramFiles64> C:\Program Files
<ProgramFiles86> C:\Program Files (x86)
<SystemDir64> C:\Windows\System32

Shortcut Variable Description / Example
<ProgramGroup> Program group in the "Start \ Programs" menu. If the "Install Product for" option is set to "All Users" then returns:
"<CommonProgramsMenu>\%Variable%", otherwise:
"<ProgramsMenu>\%Variable%"
%Variable% is specified on "Installation \ Shortcuts" tab, in "Program Group name" field.
<StartMenu> C:\Users\%UserName%\AppData\Roaming\Microsoft\Windows\Start Menu
<ProgramsMenu> C:\Users\%UserName%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
<StartUp> C:\Users\%UserName%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
<Desktop> C:\Users\%UserName%\Desktop
<CommonStartMenu> C:\ProgramData\Microsoft\Windows\Start Menu
<CommonProgramsMenu> C:\ProgramData\Microsoft\Windows\Start Menu\Programs
<CommonStartUp> C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
<CommonDesktop> C:\Users\Public\Desktop
<QuickLaunch> C:\Users\%UserName%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch