Predefined variablesThere are some predefined variables that are assigned at the beginning of the installation. You can use these variables in all fields of your projects to use their values in the installation process. These variables must start and end with the '#' symbol. #setuppath#\subfolder
#progname# #ver#
| Variable name | Description | | appname | Application name. | | apppath | Program folder in Application Data directory. | | comma | Character ','. | | date | The current date. Also, there are variables #day#, #month# and #year#. | | exefile | The full name of the setup executable file. | | exepath | The setup executable file path. | | langinst | The current language of the installation. | | nl | A combination of 0xD and 0xA characters. | | osbuild | The build of Windows version. | | oscsd | Additional Windows version information. | | osmajor | Major Windows version. | | osminor | Minor Windows version. | | osplatform | Windows platform. | | oswindows | Type of Windows version. 0 - Unknown, 1 - WIN 95, 2 - WIN 98, 3 - WIN ME, 4 - WIN NT, 5 - WIN 2000, 6 - WIN XP, 7 - WIN 2003, 8 - WIN VISTA, 9 - WIN 7 | | parcount | The count of the command-line parameters. | | par1,par2,par3,... | The command-line parameters. | | progname | The program name which is used in the folder name. | | quote | A quote character. | | rootdrive | Drive with Windows directory. For example, C:. | | setuppath | The current installation path. | | silent | Skip all dialogs if it equals 1. | | syslang | The user's OS system language. | | tempinstpath | Temporary installation directory. | | usercountry | The user's country. | | userlang | The user's language. | | userlogon | Logon User Name. | | username | User Name. | | userorg | Organization. | | ver | The version of the program. |
|