| 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 message types. |
| 9 | /// </summary> |
| 10 | [Flags] |
| 11 | public enum InstallMessage |
| 12 | { |
| 13 | /// <summary> |
| 14 | /// Premature termination, possibly fatal out of memory. |
| 15 | /// </summary> |
| 16 | FatalExit = 0x00000000, |
| 17 | |
| 18 | /// <summary> |
| 19 | /// Formatted error message, [1] is message number in Error table. |
| 20 | /// </summary> |
| 21 | Error = 0x01000000, |
| 22 | |
| 23 | /// <summary> |
| 24 | /// Formatted warning message, [1] is message number in Error table. |
| 25 | /// </summary> |
| 26 | Warning = 0x02000000, |
| 27 | |
| 28 | /// <summary> |
| 29 | /// User request message, [1] is message number in Error table. |
| 30 | /// </summary> |
| 31 | User = 0x03000000, |
| 32 | |
| 33 | /// <summary> |
| 34 | /// Informative message for log, not to be displayed. |
| 35 | /// </summary> |
| 36 | Info = 0x04000000, |
| 37 | |
| 38 | /// <summary> |
| 39 | /// List of files in use that need to be replaced. |
| 40 | /// </summary> |
| 41 | FilesInUse = 0x05000000, |
| 42 | |
| 43 | /// <summary> |
| 44 | /// Request to determine a valid source location. |
| 45 | /// </summary> |
| 46 | ResolveSource = 0x06000000, |
| 47 | |
| 48 | /// <summary> |
| 49 | /// Insufficient disk space message. |
| 50 | /// </summary> |
| 51 | OutOfDiskSpace = 0x07000000, |
| 52 | |
| 53 | /// <summary> |
| 54 | /// Progress: start of action, [1] action name, [2] description, [3] template for ACTIONDATA messages. |
| 55 | /// </summary> |
| 56 | ActionStart = 0x08000000, |
| 57 | |
| 58 | /// <summary> |
| 59 | /// Action data. Record fields correspond to the template of ACTIONSTART message. |
| 60 | /// </summary> |
| 61 | ActionData = 0x09000000, |
| 62 | |
| 63 | /// <summary> |
| 64 | /// Progress bar information. See the description of record fields below. |
| 65 | /// </summary> |
| 66 | Progress = 0x0A000000, |
| 67 | |
| 68 | /// <summary> |
| 69 | /// To enable the Cancel button set [1] to 2 and [2] to 1. To disable the Cancel button set [1] to 2 and [2] to 0. |
| 70 | /// </summary> |
| 71 | CommonData = 0x0B000000, |
| 72 | |
| 73 | /// <summary> |
| 74 | /// Sent prior to UI initialization, no string data. |
| 75 | /// </summary> |
| 76 | Initilize = 0x0C000000, |
| 77 | |
| 78 | /// <summary> |
| 79 | /// Sent after UI termination, no string data. |
| 80 | /// </summary> |
| 81 | Terminate = 0x0D000000, |
| 82 | |
| 83 | /// <summary> |
| 84 | /// Sent prior to display or authored dialog or wizard. |
| 85 | /// </summary> |
| 86 | ShowDialog = 0x0E000000 |
| 87 | } |
| 88 | } |