MSI Factory 2.3

MSI.EnumComponents

MSI.EnumComponents

This is the first topic This is the last topic  

MSI.EnumComponents

This is the first topic This is the last topic  

OverviewExamples

table MSI.EnumComponents (

)

Example 1

-- Enumerate all components.

tbComponents = MSI.EnumComponents();

 

if (tbComponents) then

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

   for index, value in tbComponents do

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

   end

 

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

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

else

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

end

Gets a numerically indexed table of all installed components for all products found on the system and shows their GUIDs in a dialog message. If an error occurs, or no components were found, an error message is shown.

See also: Related Actions


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