| 1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. |
| 2 | |
| 3 | namespace WixToolset.Core.Native.Msi |
| 4 | { |
| 5 | using System; |
| 6 | |
| 7 | /// <summary> |
| 8 | /// Windows Installer UI levels. |
| 9 | /// </summary> |
| 10 | [Flags] |
| 11 | public enum InstallUILevels |
| 12 | { |
| 13 | /// <summary> |
| 14 | /// No change in the UI level. However, if phWnd is not Null, the parent window can change. |
| 15 | /// </summary> |
| 16 | NoChange = 0, |
| 17 | |
| 18 | /// <summary> |
| 19 | /// The installer chooses an appropriate user interface level. |
| 20 | /// </summary> |
| 21 | Default = 1, |
| 22 | |
| 23 | /// <summary> |
| 24 | /// Completely silent installation. |
| 25 | /// </summary> |
| 26 | None = 2, |
| 27 | |
| 28 | /// <summary> |
| 29 | /// Simple progress and error handling. |
| 30 | /// </summary> |
| 31 | Basic = 3, |
| 32 | |
| 33 | /// <summary> |
| 34 | /// Authored user interface with wizard dialog boxes suppressed. |
| 35 | /// </summary> |
| 36 | Reduced = 4, |
| 37 | |
| 38 | /// <summary> |
| 39 | /// Authored user interface with wizards, progress, and errors. |
| 40 | /// </summary> |
| 41 | Full = 5, |
| 42 | |
| 43 | /// <summary> |
| 44 | /// If combined with the Basic value, the installer shows simple progress dialog boxes but |
| 45 | /// does not display a Cancel button on the dialog. This prevents users from canceling the install. |
| 46 | /// Available with Windows Installer version 2.0. |
| 47 | /// </summary> |
| 48 | HideCancel = 0x20, |
| 49 | |
| 50 | /// <summary> |
| 51 | /// If combined with the Basic value, the installer shows simple progress |
| 52 | /// dialog boxes but does not display any modal dialog boxes or error dialog boxes. |
| 53 | /// </summary> |
| 54 | ProgressOnly = 0x40, |
| 55 | |
| 56 | /// <summary> |
| 57 | /// If combined with any above value, the installer displays a modal dialog |
| 58 | /// box at the end of a successful installation or if there has been an error. |
| 59 | /// No dialog box is displayed if the user cancels. |
| 60 | /// </summary> |
| 61 | EndDialog = 0x80, |
| 62 | |
| 63 | /// <summary> |
| 64 | /// If this value is combined with the None value, the installer displays only the dialog |
| 65 | /// boxes used for source resolution. No other dialog boxes are shown. This value has no |
| 66 | /// effect if the UI level is not INSTALLUILEVEL_NONE. It is used with an external user |
| 67 | /// interface designed to handle all of the UI except for source resolution. In this case, |
| 68 | /// the installer handles source resolution. This value is only available with Windows Installer 2.0 and later. |
| 69 | /// </summary> |
| 70 | SourceResOnly = 0x100 |
| 71 | } |
| 72 | } |