|

ResultVariable


image

When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.


See also: Related Actions


image

MSI.EnumRelatedProducts

OverviewExamples

table MSI.EnumRelatedProducts ( string UpgradeCode )


De s cr ip t ion


Calls the MsiEnumRelatedProducts function to get an enumerated table of products with a specified upgrade code. This function lists the currently installed and advertised products that have the specified UpgradeCode property in their Property table.


P arame t er s


UpgradeCode


(string) The upgrade code of related products to enumerate. This string must be an identifier string enclosed in curly braces, for example: "{07F11339-6660-4CEC-9E09-BB2FEA780929}".


Re t u r n s


(table) Returns a numerically indexed table of product codes. If this action fails, or no products are installed, nil is returned. You can use Application.GetLastError to determine whether this action failed, and why.


|