After creating the tpl.ini file, create the .wlscr script file for this template inventory collection module. The name of the .wlscr file for this example is tpl.wlscr.
See the content of the tpl.wlscr file below to note that you need to change the following options based on your requirements:
Important! The difficulty in this process is to obtain the number of binaries that can be used to perform this task and the command line that is used to run this module. This requires the expertise of a user who understands the asset management agent functionality so as to define which module to produce which inventory data. The above binaries are distributed with the asset management agent installation.
The content of the .wlscr file is as follows:
[General]
Title=Template Test
Description=Select this to perform a fast scan of hardware and software on your computer.
Image=nri_basic_scan.gif
[Advanced]
KeepWorkArea=0
[Platforms]
Windows=Yes
Linux=No
Unix=No
Mac=No
[Download_Windows]
Method=webservice
Executable=cmNriAgent.exe
CommandLine=-script .\tpl.ini -origin "CA Elective Inventory (Basic Scan+Template)"
Files=20
File1=cmNriAgent.exe
File2=tpl.ini
File3=cainf.dll
File4=cawinexf.dll
File5=cfUtilities.dll
File6=msvcp71.dll
File7=msvcr71.dll
File8=cfTrace.dll
File9=cfTrace.ini
File10=amappw32.exe
File11=cfbasichwwnt.exe
File12=cfXMLParser.dll
File13=cfOSServices.dll
File14=cfig40wnt.sys
File15=cfigw32.sys
File16=cfigw64.sys
File17=template.tpl
File18=amm2iw32.exe
File19=amtplw32.exe
File20=amtext.enu
After all the files are created, go to the folder ..\DSM\Web Console\webapps\wac\jsp\ei\wl\scripts. Count the existing number of script files in that folder and increment the count by 1. Include this new number to the name of the tpl.wlscr file. For example, if the folder contains 3 script files, you must name the next file as 4tpl.wlsc.
|
Copyright © 2013 CA.
All rights reserved.
|
|