msi::is-installed

[This is preliminary documentation and subject to change.]

Returns a value indicating whether a product with the specified product code is installed.

Usage

bool msi::is-installed(productCode)

Parameters

Name Type Description
productCode string The product code of the product to check.

Return Value

true if a product with the specified product code is installed; otherwise, false.

Examples

Requirements

Assembly: NAnt.Contrib.Tasks (0.91.4298.0)