Deployment Tools Foundation
SetInternalUI Method (uiOptions, windowHandle)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Installer ► SetInternalUI(InstallUIOptions, IntPtr%)
Enables the installer's internal user interface. Then this user interface is used
for all subsequent calls to user-interface-generating installer functions in this process.
Declaration Syntax| C# | Visual Basic | Visual C++ |
public static InstallUIOptions SetInternalUI( InstallUIOptions uiOptions, ref IntPtr windowHandle )
Public Shared Function SetInternalUI ( _ uiOptions As InstallUIOptions, _ ByRef windowHandle As IntPtr _ ) As InstallUIOptions
public: static InstallUIOptions SetInternalUI( InstallUIOptions uiOptions, IntPtr% windowHandle )
Parameters- uiOptions (InstallUIOptions)
- Specifies the level of complexity of the user interface
- windowHandle ( IntPtr %)
- Handle to a window, which becomes the owner of any user interface created. A pointer to the previous owner of the user interface is returned.
Return ValueThe previous user interface level
RemarksWin32 MSI API: MsiSetInternalUI