Previous Topic: CcnfSetParameterStr - Modify the value of an existing Common Configuration Parameter (type string)Next Topic: CreateDetectedSoftwareProduct


OpenDetectedSoftwareOutputFiles

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:

IntellisigUUID

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.

IntellisigVersion

Specifies the version number of the Intellisig.

IntellisigName

Specifies the name of the Intellisig.

Return Values

CA_SWDETECT_OK

Indicates that the function completed the operation successfully.

CASWDETECT_BADARGS

Indicates that one or more mandatory parameters passed to the function are blank.

CASWDETECT_FILEERROR

Indicates that the function was unable to open the file. See the log file for more information.