MsiUseFeature utility extended with installed language check

This commit is contained in:
2016-09-07 14:02:50 +02:00
parent 24576d43ea
commit 4369e9e999
4 changed files with 30 additions and 3 deletions

View File

@@ -3,15 +3,17 @@ Checks the installation state of the given feature of G
##Usage
```
MsiUseFeature <feature name>
MsiUseFeature <feature name> [language]
```
- `feature name` - The name of the feature to check (i.e. "featEAPTTLS"; see Feature table of product MSI file)
- `language` - The user preferred language of the product
Note: The MSI product code changes on every release. Therefore, `MsiUseFeature` utility with identical version should be used.
Return codes:
- -1 = Invalid parameters
- 0 = Success
- 1 = The product is not installed or feature state is unknown
- 1 = The product is not installed, or feature state is unknown
- 2 = The feature is not installed locally
- 3 = The installed user preferred language is different