MSI.SetInternalUI

table MSI.SetInternalUI (

number UILevel,

number WindowHandle = nil )

Example 1

-- Get the extract path using a previously defined function.
strInstallerPathExtracted = g_GetExtractPath(strProductCode);

local tbResult = MSI.SetInternalUI(INSTALLUILEVEL_FULL);

if (not tbResult) then
Dialog.Message("Error", "Failed MSI.SetInternalUI");
end

MSI.InstallProduct(strInstallerPathExtracted,"");

Calls MSI.SetInternalUI to display the full internal interface. If the call fails, an error message is shown to the user. The MSI file is then installed.

See also: Related Actions