Setup Factory 10

MSI.GetProductCode

MSI.GetProductCode

This is the first topic This is the last topic  

MSI.GetProductCode

This is the first topic This is the last topic  

OverviewExamples

string MSI.GetProductCode (

string ComponentGUID )

Example 1

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


Learn More: Indigo Rose Software - Setup Factory - Buy Now - Contact Us