| 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 log modes. |
| 9 | /// </summary> |
| 10 | [Flags] |
| 11 | public enum InstallLogModes |
| 12 | { |
| 13 | /// <summary> |
| 14 | /// Premature termination of installation. |
| 15 | /// </summary> |
| 16 | FatalExit = (1 << ((int)InstallMessage.FatalExit >> 24)), |
| 17 | |
| 18 | /// <summary> |
| 19 | /// The error messages are logged. |
| 20 | /// </summary> |
| 21 | Error = (1 << ((int)InstallMessage.Error >> 24)), |
| 22 | |
| 23 | /// <summary> |
| 24 | /// The warning messages are logged. |
| 25 | /// </summary> |
| 26 | Warning = (1 << ((int)InstallMessage.Warning >> 24)), |
| 27 | |
| 28 | /// <summary> |
| 29 | /// The user requests are logged. |
| 30 | /// </summary> |
| 31 | User = (1 << ((int)InstallMessage.User >> 24)), |
| 32 | |
| 33 | /// <summary> |
| 34 | /// The status messages that are not displayed are logged. |
| 35 | /// </summary> |
| 36 | Info = (1 << ((int)InstallMessage.Info >> 24)), |
| 37 | |
| 38 | /// <summary> |
| 39 | /// Request to determine a valid source location. |
| 40 | /// </summary> |
| 41 | ResolveSource = (1 << ((int)InstallMessage.ResolveSource >> 24)), |
| 42 | |
| 43 | /// <summary> |
| 44 | /// The was insufficient disk space. |
| 45 | /// </summary> |
| 46 | OutOfDiskSpace = (1 << ((int)InstallMessage.OutOfDiskSpace >> 24)), |
| 47 | |
| 48 | /// <summary> |
| 49 | /// The start of new installation actions are logged. |
| 50 | /// </summary> |
| 51 | ActionStart = (1 << ((int)InstallMessage.ActionStart >> 24)), |
| 52 | |
| 53 | /// <summary> |
| 54 | /// The data record with the installation action is logged. |
| 55 | /// </summary> |
| 56 | ActionData = (1 << ((int)InstallMessage.ActionData >> 24)), |
| 57 | |
| 58 | /// <summary> |
| 59 | /// The parameters for user-interface initialization are logged. |
| 60 | /// </summary> |
| 61 | CommonData = (1 << ((int)InstallMessage.CommonData >> 24)), |
| 62 | |
| 63 | /// <summary> |
| 64 | /// Logs the property values at termination. |
| 65 | /// </summary> |
| 66 | PropertyDump = (1 << ((int)InstallMessage.Progress >> 24)), |
| 67 | |
| 68 | /// <summary> |
| 69 | /// Sends large amounts of information to a log file not generally useful to users. |
| 70 | /// May be used for technical support. |
| 71 | /// </summary> |
| 72 | Verbose = (1 << ((int)InstallMessage.Initilize >> 24)), |
| 73 | |
| 74 | /// <summary> |
| 75 | /// Sends extra debugging information, such as handle creation information, to the log file. |
| 76 | /// </summary> |
| 77 | ExtraDebug = (1 << ((int)InstallMessage.Terminate >> 24)), |
| 78 | |
| 79 | /// <summary> |
| 80 | /// Progress bar information. This message includes information on units so far and total number of units. |
| 81 | /// See MsiProcessMessage for an explanation of the message format. |
| 82 | /// This message is only sent to an external user interface and is not logged. |
| 83 | /// </summary> |
| 84 | Progress = (1 << ((int)InstallMessage.Progress >> 24)), |
| 85 | |
| 86 | /// <summary> |
| 87 | /// If this is not a quiet installation, then the basic UI has been initialized. |
| 88 | /// If this is a full UI installation, the full UI is not yet initialized. |
| 89 | /// This message is only sent to an external user interface and is not logged. |
| 90 | /// </summary> |
| 91 | Initialize = (1 << ((int)InstallMessage.Initilize >> 24)), |
| 92 | |
| 93 | /// <summary> |
| 94 | /// If a full UI is being used, the full UI has ended. |
| 95 | /// If this is not a quiet installation, the basic UI has not yet ended. |
| 96 | /// This message is only sent to an external user interface and is not logged. |
| 97 | /// </summary> |
| 98 | Terminate = (1 << ((int)InstallMessage.Terminate >> 24)), |
| 99 | |
| 100 | /// <summary> |
| 101 | /// Sent prior to display of the full UI dialog. |
| 102 | /// This message is only sent to an external user interface and is not logged. |
| 103 | /// </summary> |
| 104 | ShowDialog = (1 << ((int)InstallMessage.ShowDialog >> 24)), |
| 105 | |
| 106 | /// <summary> |
| 107 | /// Files in use information. When this message is received, a FilesInUse Dialog should be displayed. |
| 108 | /// </summary> |
| 109 | FilesInUse = (1 << ((int)InstallMessage.FilesInUse >> 24)) |
| 110 | } |
| 111 | } |