The OpenDetectedSoftwareOutputFiles function creates an empty software detection output file for the Intellisig. A software detection output file contains the records detected for an Intellisig. When the Intellisig script executes at the agent computer, the OpenDetectedSoftwareOutputFiles function creates an output file to store the software detected by the Intellisig. For example, if an Intellisig includes definitions for all Adobe products, releases, and patches, you can write all the Adobe detection records to the same output file.
Note: The Intellisig script must call the OpenDetectedSoftwareOutputFiles function regardless of whether the Intellisig detects any software or not. An Intellisig that does not create an output file generates an error during execution.
Function format:
OpenDetectedSoftwareOutputFiles (IntellisigUUID as String, Version as String, Name as String)as integer
Example:
OpenDetectedSoftwareOutputFiles ("A7C1E14A-7C93-4E17-B4E5-45B796717F49", "V1", "OS Detection for Windows")
Input Parameters
This function has the following input parameters:
Specifies the Universal Unique Identifier (UUID) of the Intellisig. The function creates a software detection output file with the given UUID as the file name.
Specifies the version number of the Intellisig.
Specifies the name of the Intellisig.
Return Values
Indicates that the function completed the operation successfully.
Indicates that one or more mandatory parameters passed to the function are blank.
Indicates that the function was unable to open the file. See the log file for more information.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|