/// <summary> /// Enables the installer's internal user interface. /// </summary> /// <param name="uiLevel">Specifies the level of complexity of the user interface.</param> /// <param name="hwnd">Pointer to a window. This window becomes the owner of any user interface created.</param> /// <returns>The previous user interface level is returned. If an invalid dwUILevel is passed, then INSTALLUILEVEL_NOCHANGE is returned.</returns> internal static int SetInternalUI(int uiLevel, ref IntPtr hwnd) { return(MsiInterop.MsiSetInternalUI(uiLevel, ref hwnd)); }