OverviewExamples
string MSI.GetProductCode ( |
strProductCode = MSI.GetProductCode("{1638E94C-DA3C-44BD-88FB-5CC76B59BE46}");
if (strProductCode ~= "") then
Dialog.Message("Information", "The product code is: "..strProductCode);
else
Dialog.Message("Error", "Error. Could not get product code.");
end
Gets the product code given the component GUID "{1638E94C-DA3C-44BD-88FB-5CC76B59BE46}" and shows it in a dialog message. If the action fails, an error dialog is shown.
See also: Related Actions