CreateIniFileMapping
Define INI Mapping
Definition
Use this command to map values from INI files to the registry. By using INI mapping you can make INI files available for Traveling User Support.
With Windows, all INI mapping actions are stored in the
registry as follows:
All INI files (i.e. the INI file contents) mapped to the registry are registered
in the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\IniFileMapping. The actual INI file contents
are not listed in this key; the key only contains information about the
location of the INI file contents in the registry.
The stored values have different prefixes:
USR - Stands for HKEY_CURRENT_USER; the text following USR: identifies the actual key.
SYS - Stands for HKEY_LOCAL_MACHINE\SOFTWARE; the text following SYS: identifies the actual key.
DSM uses the prefixes
in the same way as Windows.
The icons #,@ and
! can precede these prefixes in the registry. They define the exact
mapping mode (see below).
Settings
Input
- INI
file:
Specify the INI file. The contents of the specified file will be stored partly or completely in the registry; the file must reside in the Windows directory. - Standard
mapping for all sections:
Maps all INI file sections to the registry.
Registry key:
Specify the registry key where the values will be stored.
Mode:
Specify the type of registry mapping. Ivanti DSM supports all mapping modes defined for Window:
Standard
No further settings required.
Init from INI file (Registry: "#" precedes prefix)
Maps the INI file values to the registry when a new user logs in the first time.
Ignore INI file (Registry: "@" precedes prefix)
Ignores the existing INI file if the values accesses with read access cannot be found in the registry.
Write to INI and Registry (Registry: "!" precedes prefix)
Writes values to the registry and INI file if new or changed values result from a write access. - Sections
to be mapped to another key in the registry
If required, you can define a different mapping for individual INI file sections listed in the table. You can modify the table's contents by clicking the New, Edit and Delete buttons.