Many programs rely on INI files for their configuration. This module enables Script Start to manipulate INI files during user logon.
The structure of an INI file is shown in figure 1.
|
|
| Figure 1: INI File Structure |
Filter:
Select the name of the filter you want assigned to this configuration element.
Action:
Select one of the following actions:
 |
  |
Write Value - Modifies or creates a value and assigns data to it. |
 |
  |
Delete Value - Deletes a value and associated data. |
 |
  |
Delete Section - Deletes an entire section. |
Filespec:
Enter the full path to the INI file. If this parameter does not include a full path, Script Start searches for the file in the Windows directory.
Section:
Enter the name of the section to be modified in the INI file. If the section does not exist, it is created. The section name is not case-sensitive, and can contain any combination of uppercase and lowercase letters.
Value:
Enter the name of the value to be modified in the INI file. If the value does not exist, it is created. This option is not available if Delete Section is selected as the Action.
Data:
Enter the data you want assigned to the value. This option is only available if Write Value is selected as the Action.
Example:
Filter: Global Settings
Action: Write Value
Filespec: %APPDATA%\ICAClient\pn.ini
Section: ENTRIGUE
Value: HttpBrowserAddress
Data: ica.entrigue.net
The above example demonstrates using the INI Files module to update Citrix Program Neighborhood settings. The HttpBrowserAddress for the application set named ENTRIGUE will be set to ica.entrigue.net. The pn.ini file will have the changes made to it shown in figure 2.
[ENTRIGUE]
HttpBrowserAddress=ica.entrigue.net
|
|
|
| Figure 2: pn.ini Changes |
NOTE: The APPDATA environment variable only exists by default on Windows 2000, Windows XP, and Windows 2003 clients. You can use the Environment Vars module to set this variable on clients running other operating systems.
|