OpenDetectedSoftwareOutputFiles Function
The OpenDetectedSoftwareOutputFiles function creates an empty software detection output file for the Intellisig. A software detection output file contains the records that are detected for an Intellisig. When the Intellisig script executes at the agent computer, the OpenDetectedSoftwareOutputFiles function creates an output file. The output file stores the software that the Intellisig detects. 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.
cla140
The OpenDetectedSoftwareOutputFiles function creates an empty software detection output file for the Intellisig. A software detection output file contains the records that are detected for an Intellisig. When the Intellisig script executes at the agent computer, the OpenDetectedSoftwareOutputFiles function creates an output file. The output file stores the software that the Intellisig detects. 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.
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:
- IntellisigUUIDThis parameter 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.
- IntellisigVersionThis parameter specifies the version number of the Intellisig.
- IntellisigNameThis parameter specifies the name of the Intellisig.
Return Values
- CA_SWDETECT_OKThis parameter indicates that the function completed the operation successfully.
- CASWDETECT_BADARGSThis parameter indicates that one or more mandatory parameters that are passed to the function are blank.
- CASWDETECT_FILEERRORThis parameter indicates that the function was unable to open the file. See the log file for more information.