Previous Topic: OpenDetectedSoftwareOutputFilesNext Topic: CreateDetectedSoftwareRelease


CreateDetectedSoftwareProduct

The CreateDetectedSoftwareProduct function adds a record to the software detection output file when the script detects a product that is related to the Intellisig.

Function format:

CreateDetectedSoftwareProduct (ProductName as String, ProductVersion as String, OptionalProperties as String) as an integer

Example:

CreateDetectedSoftwareProduct(("Microsoft Windows 7 Ultimate", "6.1", "VersionNumber=6.1  |Manufacturer=Microsoft Corporation|Category=Operating Systems |Description=The Microsoft Windows 7 Product")

Note: Call this function before calling the CreateDetectedSoftwareRelease function, which creates the release of the product.

Input Parameters

This function has the following input parameters:

ProductName

Specifies the product name of the detected software.

Note: The product name must be unique within the Intellisig. Two products with the same name within an Intellisig are treated as the same product regardless of optional parameters.

ProductVersionLabel

Specifies the version label of the product.

Note: The version label is used to identify the product together with its name. An empty value is allowed and is treated as a product with an empty version.

OptionalProperties

Specifies the optional properties that are associated with the detected software product. Following optional properties are available for products:

VersionNumber

Specifies the version number of the product.

Language

Specifies the product language.

Bitness

Specifies whether the product uses 32-bit or 64-bit architecture.

Architecture

Specifies the architecture name that the product uses.

Manufacturer

Specifies the name of the product manufacturer.

Category

Specifies the name of the product category.

ManufacturerUUID

Specifies the UUID of the product manufacturer.

CategoryUUID

Specifies the UUID of the product category.

Description

Specifies the description of the product.

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_FILE_ERROR

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