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:
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.
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.
Specifies the optional properties that are associated with the detected software product. Following optional properties are available for products:
Specifies the version number of the product.
Specifies the product language.
Specifies whether the product uses 32-bit or 64-bit architecture.
Specifies the architecture name that the product uses.
Specifies the name of the product manufacturer.
Specifies the name of the product category.
Specifies the UUID of the product manufacturer.
Specifies the UUID of the product category.
Specifies the description of the product.
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 write to the file. See the log file for more information.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|