msi::is-installed

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.4312.0)