MSI Factory 2.3

MSI.EnumClients

MSI.EnumClients

This is the first topic This is the last topic  

MSI.EnumClients

This is the first topic This is the last topic  

OverviewExamples

table MSI.EnumClients (

string ComponentGUID )

Example 1

-- Enumerate the products for the component.

tbProducts = MSI.EnumClients("{1638E94C-DA3C-44BD-88FB-5CC76B59BE46}");

 

if (tbProducts) then

   strMessage = "The following products were found:\r\n\r\n";

   for index, value in tbProducts do

       strMessage = strMessage..value.."\r\n";

   end

   -- Show a message with all of the products found.

   Dialog.Message("Products Found", strMessage);

else

   Dialog.Message("Notice", "No products were found.");

end

Enumerates all of the clients for the installed component "{1638E94C-DA3C-44BD-88FB-5CC76B59BE46}" and shows their product codes in a dialog message. If an error occurs, or no products were found, an error message is shown.

See also: Related Actions


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