msi::get-product-code

[This is preliminary documentation and subject to change.]

Returns the product code of the specified Windows Installer database.

Usage

string msi::get-product-code(databasePath)

Parameters

Name Type Description
databasePath string The path of the Windows Installer database.

Return Value

The product code of the specified Windows Installer database.

Exceptions

The function will fail in any of the following circumstances:

Examples

Requirements

Assembly: NAnt.Contrib.Tasks (0.91.4298.0)