diff options
Diffstat (limited to 'src/WixToolset.Core/OptimizeCA.cs')
-rw-r--r-- | src/WixToolset.Core/OptimizeCA.cs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/WixToolset.Core/OptimizeCA.cs b/src/WixToolset.Core/OptimizeCA.cs new file mode 100644 index 00000000..efd07299 --- /dev/null +++ b/src/WixToolset.Core/OptimizeCA.cs | |||
@@ -0,0 +1,33 @@ | |||
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 | ||
4 | { | ||
5 | using System; | ||
6 | |||
7 | /// <summary> | ||
8 | /// Values for the OptimizeCA MsiPatchMetdata property, which indicates whether custom actions can be skipped when applying the patch. | ||
9 | /// </summary> | ||
10 | [Flags] | ||
11 | public enum OptimizeCA | ||
12 | { | ||
13 | /// <summary> | ||
14 | /// No custom actions are skipped. | ||
15 | /// </summary> | ||
16 | None = 0, | ||
17 | |||
18 | /// <summary> | ||
19 | /// Skip property (type 51) and directory (type 35) assignment custom actions. | ||
20 | /// </summary> | ||
21 | SkipAssignment = 1, | ||
22 | |||
23 | /// <summary> | ||
24 | /// Skip immediate custom actions that are not property or directory assignment custom actions. | ||
25 | /// </summary> | ||
26 | SkipImmediate = 2, | ||
27 | |||
28 | /// <summary> | ||
29 | /// Skip custom actions that run within the script. | ||
30 | /// </summary> | ||
31 | SkipDeferred = 4, | ||
32 | } | ||
33 | } | ||