Previous Topic: Create a Template File for the NRI AgentNext Topic: Create a .wlscr Script File


Create an INI File

For this example, the INI file (tpl.ini) has been created by copying the content of the basic.ini file. The basic.ini is available in the folder ..\DSM\Web Console\webapps\wac\jsp\ei\wl\windows\packages.

The content of the tpl.ini file is as follows:

[General]
OutputFolder=.\
OutputFile=
Origin=CA NRI (Tpl Scan)
Trustlevel=5
TrustlevelRestrictedUser=3
KeepHostkey=Yes
[Inventory]
Method=1
ScanRestrictedUser=1
AdditionalModules=0
TemplateModules=1
Template1=template.tpl
[Software]
Method=1
ScanRestrictedUser=1

The value for the option "TemplateModules" has been changed to 1 (this value was 0 in the basic.ini file.) The value 1 implies that there is only one template file.

The "TemplateModules" option is followed by the option Template1. This option represents the name of the template file. So we have the line as:

Template1=template.tpl

If you have more than one template to add, the content of the INI file will include additional options as follows:

TemplateModules=3
Template1=template.tpl
Template2=mytemplate2.tpl
Template3=mytemplate3.tpl