| 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 | /// The errors to suppress when applying a transform. |
| 9 | /// </summary> |
| 10 | [Flags] |
| 11 | public enum TransformErrorConditions |
| 12 | { |
| 13 | /// <summary> |
| 14 | /// None of the following conditions. |
| 15 | /// </summary> |
| 16 | None = 0x0, |
| 17 | |
| 18 | /// <summary> |
| 19 | /// Suppress error when adding a row that exists. |
| 20 | /// </summary> |
| 21 | AddExistingRow = 0x1, |
| 22 | |
| 23 | /// <summary> |
| 24 | /// Suppress error when deleting a row that does not exist. |
| 25 | /// </summary> |
| 26 | DeleteMissingRow = 0x2, |
| 27 | |
| 28 | /// <summary> |
| 29 | /// Suppress error when adding a table that exists. |
| 30 | /// </summary> |
| 31 | AddExistingTable = 0x4, |
| 32 | |
| 33 | /// <summary> |
| 34 | /// Suppress error when deleting a table that does not exist. |
| 35 | /// </summary> |
| 36 | DeleteMissingTable = 0x8, |
| 37 | |
| 38 | /// <summary> |
| 39 | /// Suppress error when updating a row that does not exist. |
| 40 | /// </summary> |
| 41 | UpdateMissingRow = 0x10, |
| 42 | |
| 43 | /// <summary> |
| 44 | /// Suppress error when transform and database code pages do not match, and their code pages are neutral. |
| 45 | /// </summary> |
| 46 | ChangeCodepage = 0x20, |
| 47 | |
| 48 | /// <summary> |
| 49 | /// Create the temporary _TransformView table when applying a transform. |
| 50 | /// </summary> |
| 51 | ViewTransform = 0x100, |
| 52 | |
| 53 | /// <summary> |
| 54 | /// Suppress all errors but the option to create the temporary _TransformView table. |
| 55 | /// </summary> |
| 56 | All = 0x3F |
| 57 | } |
| 58 | } |