In this chapter you will learn how to construct and use the supported INI files.
After you become familiar with the INI file basics, you can refer to the parameter details you need in the other chapters and appendixes of this guide.
The INI files contain the parameters (and associated options and values) necessary for the functionality you want.
You can construct the following INI files:
The INI file processing hierarchy is as follows:
Scenario 1—MAC.ini exists. The MAC.ini file is processed and if the Include=WLX.ini statement is included, then the WLX.ini file is processed.
Scenario 2—MAC.ini exists and {username}.ini exists. The MAC.ini file is processed and if the Include=WLX.ini statement is included, then the WLX.ini file is processed. Once the credentials are provided, the {username}.ini file is processed.
Scenario 3—WLX.ini exists. The WLX.ini file is processed.
Scenario 4—WLX.ini exists and {username}.ini exists. The WLX.ini file processed. Once the credentials are provided, the {username}.ini file is processed.
Scenario 5—No ini files exist. Local configuration is applied.
A wlx.ini file contains the global parameters you want that will affect all thin clients accessing the server. Parameters in both wlx.ini and $MAC.ini File Parameters Only and wlx.ini, $MAC.ini, and {username}.ini File Parameters can be used in a wlx.ini file.
Parameters in wlx.ini and $MAC.ini File Parameters Only can only be used in a wlx.ini or $MAC.ini file; they cannot be used in a {username}.ini file.
A $MAC.ini file can be used instead of a wlx.ini file for device-specific configurations. If the thin client locates a $MAC.ini file (it is stored in the same directory as a wlx.ini file), then the wlx.ini file is not accessed, unless you use the include=wlx.ini parameter.
Note also that the placement of the include=wlx.ini parameter within the $MAC.ini file will dictate which value will take priority for a same specific parameter that is contained in both the wlx.ini file and the $MAC.ini file but is defined differently (different values for the same parameter).
For example, if the wlx.ini file has parameterA=valueB, and the $MAC.ini file has the same parameterA=valueC, then:
If the include=wlx.ini parameter is included in the $MAC.ini file before the parameterA=valueC statement, then the wlx.ini parameterA=valueB is discarded and parameterA=valueC (from the $MAC.ini file) is the final value used.
If the include=wlx.ini parameter is included in the $MAC.ini file after the parameterA=valueC statement, then the $MAC.ini parameterA=valueC is discarded and parameterA=valueB (from the wlx.ini file) is the final value used.
A {username}.ini file contains the user-specific or user profile parameters you want that will comprise the connection profile for an individual user. These parameters will affect only the user you specify. Parameters in wlx.ini, $MAC.ini, and {username}.ini File Parameters can be used in a {username}.ini file.
![]() Note | User profile parameters (found in the {username}.ini file) generally override the identically named global parameters (found in the wlx.ini file), however, some global parameters do not allow this (for hierarchical precedence of one variable over another, refer to the parameter descriptions in wlx.ini, $MAC.ini, and {username}.ini File Parameters). |
![]() Caution | If both PNAgent/PNLite and a user profile are being used in the environment, the username must be defined in the Windows domain to be used, and the password used must be the same for both the Windows domain and the user profile. |
In general, Enhanced SLE INI files follow currently accepted standard INI file formatting conventions. The INI files consist of parameters that you can enter as necessary for reference. When you create an INI file, the only required parameter that you must use is the Connect parameter. You can use any of the remaining parameters if you desire, but they are not mandatory unless you require changes from the default values. Every parameter (and the associated options) has a name and a value with the name appearing to the left of the equal sign (name=value). All parameters with the same name in the various INI files have the same meaning (that is, a parameter named XYZ in a wlx.ini file and named XYZ in a $MAC.ini file have the same meaning). Number signs (#) indicate the start of a comment. Comments can begin anywhere on a line. Everything between the # and the End of Line is ignored.
Along with these general formatting conventions, use the following guidelines when constructing the INI files:
Global Connect Parameters First
List global connect parameters before other connect parameters in a wlx.ini file.
Connect is the Only Required Parameter
As previously stated, when you create an INI file, the only required parameter you must enter is the Connect parameter. You can enter other parameters as desired, but they are not mandatory unless you require changes from the default values.
To create a connection using an INI file, you must specify the Connect= parameter, as well as the mandatory connect options associated with the specified connection type (for example, for Mozilla Firefox or VMWare View). For more information about the Connect= parameter, including configuration examples, see Connect Parameter Options.
Continue Lines by using a Space and Backslash
To indicate line continuation, place a space and backslash (\) at the end of a line. The backslash means that the line and the following line are, for the purposes of reading code, the same line. No white space can appear after the backslash; the requirement of white space between parameter entries is maintained by the use of the space before the backslash.
![]() Note | Do not insert any spaces after the backslash, otherwise the device may not be able to parse the INI file correctly. |
In addition, starting all parameters at the left margin and placing at least one leading space (or tab) at the beginning of all (and only) continuation lines makes an INI file easier to read.
Note that in circumstances where you require string concatenation, you can use a backslash without a space before or after it to concatenate with the first set of characters from the previous line; for example the strings snow and ball may be concatenated to give snowball.
You must use the backslash continuation character to configure a connection with multiple parameters. For examples, see Connect Parameter Options.
Blank Lines Make Files Easy to Read
Use blank lines to make the code easier to read.
Comment by using a # Sign
As stated previously, number signs (#) indicate the start of a comment. Comments can begin anywhere on a line. Everything between the # and the End of Line is ignored.
Values with White Spaces Require Quotation Marks
You must place parameter values containing white spaces inside quotation marks (use common-practice nesting rules).
Separate Lists by using Semicolons or Commas
Use semicolons or commas for list separators.
{username}.ini Files must be Write-Enabled
All {username}.ini files must be write-enabled to allow the thin client to place the encrypted user passwords in the files.
Use the wlx.ini File to Set the Maximum Number of Connection Entries Allowed
The combined number of connection entries that you define in a wlx.ini file cannot exceed a defined total maximum number of connections. The maximum number of connections has a default limit of 216, but you can modify this limit within a range of 100 to 1000 using the wlx.ini file.
Use System Variables with Some Options of the Connect Parameter
Some options of the Connect parameter can use the system variables shown in the following table to map the string. All combinations of the variables are supported. For options that support use of system variables, see Connect Parameter Options.
Option | Value |
---|---|
$SN | Serial number used. |
$MAC | MAC address used. |
$IP | IP Address used. |
$DN | Sign-on domain name used. |
$UN | Sign-on name used. |
$PW | Sign-on password used. |
$TN | Terminal name. |