OverviewExamples
table MSI.EnumPatches ( |
Calls the MsiEnumPatches function to enumerate all of the patches that have been applied to a product, returning the patch code GUIDs for each patch that has been applied, and a list of transforms from each patch that apply to the product.
Note: Patches may have many transforms only some of which are applicable to a particular product.
(string) The "product code" of the product whose patches you want to enumerate. This string must be an identifier string enclosed in curly braces, for example: "{78B82B0B-9AD9-40C0-B994-F72C21B52723}".
(table) Returns a numerically indexed table of tables containing the indexes below. If this action fails, or no patches are found, nil is returned.
KEY |
TYPE |
DESCRIPTION |
PatchCode |
string |
The patch code GUID. |
TransformList |
string |
The list of transforms in the patch that are applicable to the product. These are returned in the same format as the value of the TRANSFORMS property (a semicolon ';' delimited string). |
You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions