aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/wix/WixToolset.Data/ErrorMessages.cs14
-rw-r--r--src/api/wix/WixToolset.Data/OutputType.cs1
-rw-r--r--src/api/wix/WixToolset.Data/SectionType.cs1
-rw-r--r--src/api/wix/WixToolset.Data/Symbols/ExternalFilesSymbol.cs8
-rw-r--r--src/api/wix/WixToolset.Data/Symbols/FamilyFileRangesSymbol.cs8
-rw-r--r--src/api/wix/WixToolset.Data/Symbols/ImageFamiliesSymbol.cs8
-rw-r--r--src/api/wix/WixToolset.Data/Symbols/MsiPatchMetadataSymbol.cs31
-rw-r--r--src/api/wix/WixToolset.Data/Symbols/PatchMetadataSymbol.cs31
-rw-r--r--src/api/wix/WixToolset.Data/Symbols/PatchPackageSymbol.cs2
-rw-r--r--src/api/wix/WixToolset.Data/Symbols/PatchSequenceSymbol.cs8
-rw-r--r--src/api/wix/WixToolset.Data/Symbols/SymbolDefinitions.cs10
-rw-r--r--src/api/wix/WixToolset.Data/Symbols/TargetFilesOptionalDataSymbol.cs8
-rw-r--r--src/api/wix/WixToolset.Data/Symbols/TargetImagesSymbol.cs8
-rw-r--r--src/api/wix/WixToolset.Data/Symbols/UpgradedFilesOptionalDataSymbol.cs6
-rw-r--r--src/api/wix/WixToolset.Data/Symbols/UpgradedFilesToIgnoreSymbol.cs8
-rw-r--r--src/api/wix/WixToolset.Data/Symbols/UpgradedImagesSymbol.cs8
-rw-r--r--src/api/wix/WixToolset.Data/WarningMessages.cs18
-rw-r--r--src/api/wix/WixToolset.Data/WindowsInstaller/WindowsInstallerData.cs2
-rw-r--r--src/api/wix/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs13
-rw-r--r--src/api/wix/WixToolset.Data/WindowsInstaller/Xsd/data.xsd1
-rw-r--r--src/api/wix/WixToolset.Data/WindowsInstaller/Xsd/objects.xsd1
21 files changed, 125 insertions, 70 deletions
diff --git a/src/api/wix/WixToolset.Data/ErrorMessages.cs b/src/api/wix/WixToolset.Data/ErrorMessages.cs
index 4052917c..f3add0a1 100644
--- a/src/api/wix/WixToolset.Data/ErrorMessages.cs
+++ b/src/api/wix/WixToolset.Data/ErrorMessages.cs
@@ -563,11 +563,6 @@ namespace WixToolset.Data
563 return Message(null, Ids.ExpectedPatchIdInWixMsp, "The WixMsp is missing the patch ID."); 563 return Message(null, Ids.ExpectedPatchIdInWixMsp, "The WixMsp is missing the patch ID.");
564 } 564 }
565 565
566 public static Message ExpectedRowInPatchCreationPackage(string tableName)
567 {
568 return Message(null, Ids.ExpectedRowInPatchCreationPackage, "Could not find a row in the '{0}' table for this patch creation package. Patch creation packages must contain at least one row in the '{0}' table.", tableName);
569 }
570
571 public static Message ExpectedSignedCabinetName(SourceLineNumber sourceLineNumbers) 566 public static Message ExpectedSignedCabinetName(SourceLineNumber sourceLineNumbers)
572 { 567 {
573 return Message(sourceLineNumbers, Ids.ExpectedSignedCabinetName, "The Media/@Cabinet attribute was not found; it is required when this element contains a DigitalSignature child element. This is because Windows Installer can only verify the digital signatures of external cabinets. Please either remove the DigitalSignature element or specify a valid external cabinet name via the Cabinet attribute."); 568 return Message(sourceLineNumbers, Ids.ExpectedSignedCabinetName, "The Media/@Cabinet attribute was not found; it is required when this element contains a DigitalSignature child element. This is because Windows Installer can only verify the digital signatures of external cabinets. Please either remove the DigitalSignature element or specify a valid external cabinet name via the Cabinet attribute.");
@@ -1413,7 +1408,7 @@ namespace WixToolset.Data
1413 1408
1414 public static Message MissingEntrySection() 1409 public static Message MissingEntrySection()
1415 { 1410 {
1416 return Message(null, Ids.MissingEntrySection, "Could not find entry section in provided list of intermediates. Supported entry section types are: Package, Bundle, Patch, PatchCreation, Module."); 1411 return Message(null, Ids.MissingEntrySection, "Could not find entry section in provided list of intermediates. Supported entry section types are: Package, Bundle, Patch, Module.");
1417 } 1412 }
1418 1413
1419 public static Message MissingEntrySection(string sectionType) 1414 public static Message MissingEntrySection(string sectionType)
@@ -2056,11 +2051,6 @@ namespace WixToolset.Data
2056 return Message(sourceLineNumbers, Ids.UnexpectedTableInPatch, "An unexpected row in the '{0}' table was found in this patch. Patches cannot contain the '{0}' table.", tableName); 2051 return Message(sourceLineNumbers, Ids.UnexpectedTableInPatch, "An unexpected row in the '{0}' table was found in this patch. Patches cannot contain the '{0}' table.", tableName);
2057 } 2052 }
2058 2053
2059 public static Message UnexpectedTableInPatchCreationPackage(SourceLineNumber sourceLineNumbers, string tableName)
2060 {
2061 return Message(sourceLineNumbers, Ids.UnexpectedTableInPatchCreationPackage, "An unexpected row in the '{0}' table was found in this patch creation package. Patch creation packages cannot contain the '{0}' table.", tableName);
2062 }
2063
2064 public static Message UnhandledExtensionAttribute(SourceLineNumber sourceLineNumbers, string elementName, string extensionAttributeName, string extensionNamespace) 2054 public static Message UnhandledExtensionAttribute(SourceLineNumber sourceLineNumbers, string elementName, string extensionAttributeName, string extensionNamespace)
2065 { 2055 {
2066 return Message(sourceLineNumbers, Ids.UnhandledExtensionAttribute, "The {0} element contains an unhandled extension attribute '{1}'. Please ensure that the extension for attributes in the '{2}' namespace has been provided.", elementName, extensionAttributeName, extensionNamespace); 2056 return Message(sourceLineNumbers, Ids.UnhandledExtensionAttribute, "The {0} element contains an unhandled extension attribute '{1}'. Please ensure that the extension for attributes in the '{2}' namespace has been provided.", elementName, extensionAttributeName, extensionNamespace);
@@ -2435,9 +2425,7 @@ namespace WixToolset.Data
2435 NoUniqueActionSequenceNumber2 = 180, 2425 NoUniqueActionSequenceNumber2 = 180,
2436 ActionScheduledRelativeToItself = 181, 2426 ActionScheduledRelativeToItself = 181,
2437 MissingTableDefinition = 182, 2427 MissingTableDefinition = 182,
2438 ExpectedRowInPatchCreationPackage = 183,
2439 UnexpectedTableInMergeModule = 184, 2428 UnexpectedTableInMergeModule = 184,
2440 UnexpectedTableInPatchCreationPackage = 185,
2441 MergeExcludedModule = 186, 2429 MergeExcludedModule = 186,
2442 MergeFeatureRequired = 187, 2430 MergeFeatureRequired = 187,
2443 MergeLanguageFailed = 188, 2431 MergeLanguageFailed = 188,
diff --git a/src/api/wix/WixToolset.Data/OutputType.cs b/src/api/wix/WixToolset.Data/OutputType.cs
index abe484bd..ceb1c011 100644
--- a/src/api/wix/WixToolset.Data/OutputType.cs
+++ b/src/api/wix/WixToolset.Data/OutputType.cs
@@ -25,6 +25,7 @@ namespace WixToolset.Data
25 Patch, 25 Patch,
26 26
27 /// <summary>Patch Creation output type.</summary> 27 /// <summary>Patch Creation output type.</summary>
28 [Obsolete]
28 PatchCreation, 29 PatchCreation,
29 30
30 /// <summary>Package output type.</summary> 31 /// <summary>Package output type.</summary>
diff --git a/src/api/wix/WixToolset.Data/SectionType.cs b/src/api/wix/WixToolset.Data/SectionType.cs
index 21fb5eac..d58154dd 100644
--- a/src/api/wix/WixToolset.Data/SectionType.cs
+++ b/src/api/wix/WixToolset.Data/SectionType.cs
@@ -29,6 +29,7 @@ namespace WixToolset.Data
29 Product = Package, 29 Product = Package,
30 30
31 /// <summary>Patch creation section type.</summary> 31 /// <summary>Patch creation section type.</summary>
32 [Obsolete]
32 PatchCreation, 33 PatchCreation,
33 34
34 /// <summary>Patch section type.</summary> 35 /// <summary>Patch section type.</summary>
diff --git a/src/api/wix/WixToolset.Data/Symbols/ExternalFilesSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/ExternalFilesSymbol.cs
index 87888f0b..4e91ec5b 100644
--- a/src/api/wix/WixToolset.Data/Symbols/ExternalFilesSymbol.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/ExternalFilesSymbol.cs
@@ -2,10 +2,12 @@
2 2
3namespace WixToolset.Data 3namespace WixToolset.Data
4{ 4{
5 using System;
5 using WixToolset.Data.Symbols; 6 using WixToolset.Data.Symbols;
6 7
7 public static partial class SymbolDefinitions 8 public static partial class SymbolDefinitions
8 { 9 {
10 [Obsolete]
9 public static readonly IntermediateSymbolDefinition ExternalFiles = new IntermediateSymbolDefinition( 11 public static readonly IntermediateSymbolDefinition ExternalFiles = new IntermediateSymbolDefinition(
10 SymbolDefinitionType.ExternalFiles, 12 SymbolDefinitionType.ExternalFiles,
11 new[] 13 new[]
@@ -25,6 +27,9 @@ namespace WixToolset.Data
25 27
26namespace WixToolset.Data.Symbols 28namespace WixToolset.Data.Symbols
27{ 29{
30 using System;
31
32 [Obsolete]
28 public enum ExternalFilesSymbolFields 33 public enum ExternalFilesSymbolFields
29 { 34 {
30 Family, 35 Family,
@@ -37,6 +42,7 @@ namespace WixToolset.Data.Symbols
37 Order, 42 Order,
38 } 43 }
39 44
45 [Obsolete]
40 public class ExternalFilesSymbol : IntermediateSymbol 46 public class ExternalFilesSymbol : IntermediateSymbol
41 { 47 {
42 public ExternalFilesSymbol() : base(SymbolDefinitions.ExternalFiles, null, null) 48 public ExternalFilesSymbol() : base(SymbolDefinitions.ExternalFiles, null, null)
@@ -97,4 +103,4 @@ namespace WixToolset.Data.Symbols
97 set => this.Set((int)ExternalFilesSymbolFields.Order, value); 103 set => this.Set((int)ExternalFilesSymbolFields.Order, value);
98 } 104 }
99 } 105 }
100} \ No newline at end of file 106}
diff --git a/src/api/wix/WixToolset.Data/Symbols/FamilyFileRangesSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/FamilyFileRangesSymbol.cs
index 84cd5b4b..f3400de0 100644
--- a/src/api/wix/WixToolset.Data/Symbols/FamilyFileRangesSymbol.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/FamilyFileRangesSymbol.cs
@@ -2,10 +2,12 @@
2 2
3namespace WixToolset.Data 3namespace WixToolset.Data
4{ 4{
5 using System;
5 using WixToolset.Data.Symbols; 6 using WixToolset.Data.Symbols;
6 7
7 public static partial class SymbolDefinitions 8 public static partial class SymbolDefinitions
8 { 9 {
10 [Obsolete]
9 public static readonly IntermediateSymbolDefinition FamilyFileRanges = new IntermediateSymbolDefinition( 11 public static readonly IntermediateSymbolDefinition FamilyFileRanges = new IntermediateSymbolDefinition(
10 SymbolDefinitionType.FamilyFileRanges, 12 SymbolDefinitionType.FamilyFileRanges,
11 new[] 13 new[]
@@ -21,6 +23,9 @@ namespace WixToolset.Data
21 23
22namespace WixToolset.Data.Symbols 24namespace WixToolset.Data.Symbols
23{ 25{
26 using System;
27
28 [Obsolete]
24 public enum FamilyFileRangesSymbolFields 29 public enum FamilyFileRangesSymbolFields
25 { 30 {
26 Family, 31 Family,
@@ -29,6 +34,7 @@ namespace WixToolset.Data.Symbols
29 RetainLengths, 34 RetainLengths,
30 } 35 }
31 36
37 [Obsolete]
32 public class FamilyFileRangesSymbol : IntermediateSymbol 38 public class FamilyFileRangesSymbol : IntermediateSymbol
33 { 39 {
34 public FamilyFileRangesSymbol() : base(SymbolDefinitions.FamilyFileRanges, null, null) 40 public FamilyFileRangesSymbol() : base(SymbolDefinitions.FamilyFileRanges, null, null)
@@ -65,4 +71,4 @@ namespace WixToolset.Data.Symbols
65 set => this.Set((int)FamilyFileRangesSymbolFields.RetainLengths, value); 71 set => this.Set((int)FamilyFileRangesSymbolFields.RetainLengths, value);
66 } 72 }
67 } 73 }
68} \ No newline at end of file 74}
diff --git a/src/api/wix/WixToolset.Data/Symbols/ImageFamiliesSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/ImageFamiliesSymbol.cs
index 090628ef..39ac8ea0 100644
--- a/src/api/wix/WixToolset.Data/Symbols/ImageFamiliesSymbol.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/ImageFamiliesSymbol.cs
@@ -2,10 +2,12 @@
2 2
3namespace WixToolset.Data 3namespace WixToolset.Data
4{ 4{
5 using System;
5 using WixToolset.Data.Symbols; 6 using WixToolset.Data.Symbols;
6 7
7 public static partial class SymbolDefinitions 8 public static partial class SymbolDefinitions
8 { 9 {
10 [Obsolete]
9 public static readonly IntermediateSymbolDefinition ImageFamilies = new IntermediateSymbolDefinition( 11 public static readonly IntermediateSymbolDefinition ImageFamilies = new IntermediateSymbolDefinition(
10 SymbolDefinitionType.ImageFamilies, 12 SymbolDefinitionType.ImageFamilies,
11 new[] 13 new[]
@@ -23,6 +25,9 @@ namespace WixToolset.Data
23 25
24namespace WixToolset.Data.Symbols 26namespace WixToolset.Data.Symbols
25{ 27{
28 using System;
29
30 [Obsolete]
26 public enum ImageFamiliesSymbolFields 31 public enum ImageFamiliesSymbolFields
27 { 32 {
28 Family, 33 Family,
@@ -33,6 +38,7 @@ namespace WixToolset.Data.Symbols
33 VolumeLabel, 38 VolumeLabel,
34 } 39 }
35 40
41 [Obsolete]
36 public class ImageFamiliesSymbol : IntermediateSymbol 42 public class ImageFamiliesSymbol : IntermediateSymbol
37 { 43 {
38 public ImageFamiliesSymbol() : base(SymbolDefinitions.ImageFamilies, null, null) 44 public ImageFamiliesSymbol() : base(SymbolDefinitions.ImageFamilies, null, null)
@@ -81,4 +87,4 @@ namespace WixToolset.Data.Symbols
81 set => this.Set((int)ImageFamiliesSymbolFields.VolumeLabel, value); 87 set => this.Set((int)ImageFamiliesSymbolFields.VolumeLabel, value);
82 } 88 }
83 } 89 }
84} \ No newline at end of file 90}
diff --git a/src/api/wix/WixToolset.Data/Symbols/MsiPatchMetadataSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/MsiPatchMetadataSymbol.cs
index 682adbca..599883dc 100644
--- a/src/api/wix/WixToolset.Data/Symbols/MsiPatchMetadataSymbol.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/MsiPatchMetadataSymbol.cs
@@ -20,6 +20,8 @@ namespace WixToolset.Data
20 20
21namespace WixToolset.Data.Symbols 21namespace WixToolset.Data.Symbols
22{ 22{
23 using System;
24
23 public enum MsiPatchMetadataSymbolFields 25 public enum MsiPatchMetadataSymbolFields
24 { 26 {
25 Company, 27 Company,
@@ -27,6 +29,33 @@ namespace WixToolset.Data.Symbols
27 Value, 29 Value,
28 } 30 }
29 31
32 /// <summary>
33 /// Values for the OptimizeCA MsiPatchMetdata property, which indicates whether custom actions can be skipped when applying the patch.
34 /// </summary>
35 [Flags]
36 public enum OptimizeCAFlags
37 {
38 /// <summary>
39 /// No custom actions are skipped.
40 /// </summary>
41 None = 0,
42
43 /// <summary>
44 /// Skip property (type 51) and directory (type 35) assignment custom actions.
45 /// </summary>
46 SkipAssignment = 1,
47
48 /// <summary>
49 /// Skip immediate custom actions that are not property or directory assignment custom actions.
50 /// </summary>
51 SkipImmediate = 2,
52
53 /// <summary>
54 /// Skip custom actions that run within the script.
55 /// </summary>
56 SkipDeferred = 4
57 }
58
30 public class MsiPatchMetadataSymbol : IntermediateSymbol 59 public class MsiPatchMetadataSymbol : IntermediateSymbol
31 { 60 {
32 public MsiPatchMetadataSymbol() : base(SymbolDefinitions.MsiPatchMetadata, null, null) 61 public MsiPatchMetadataSymbol() : base(SymbolDefinitions.MsiPatchMetadata, null, null)
@@ -57,4 +86,4 @@ namespace WixToolset.Data.Symbols
57 set => this.Set((int)MsiPatchMetadataSymbolFields.Value, value); 86 set => this.Set((int)MsiPatchMetadataSymbolFields.Value, value);
58 } 87 }
59 } 88 }
60} \ No newline at end of file 89}
diff --git a/src/api/wix/WixToolset.Data/Symbols/PatchMetadataSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/PatchMetadataSymbol.cs
index 201b8444..ec8b9a5e 100644
--- a/src/api/wix/WixToolset.Data/Symbols/PatchMetadataSymbol.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/PatchMetadataSymbol.cs
@@ -2,10 +2,12 @@
2 2
3namespace WixToolset.Data 3namespace WixToolset.Data
4{ 4{
5 using System;
5 using WixToolset.Data.Symbols; 6 using WixToolset.Data.Symbols;
6 7
7 public static partial class SymbolDefinitions 8 public static partial class SymbolDefinitions
8 { 9 {
10 [Obsolete]
9 public static readonly IntermediateSymbolDefinition PatchMetadata = new IntermediateSymbolDefinition( 11 public static readonly IntermediateSymbolDefinition PatchMetadata = new IntermediateSymbolDefinition(
10 SymbolDefinitionType.PatchMetadata, 12 SymbolDefinitionType.PatchMetadata,
11 new[] 13 new[]
@@ -22,6 +24,7 @@ namespace WixToolset.Data.Symbols
22{ 24{
23 using System; 25 using System;
24 26
27 [Obsolete]
25 public enum PatchMetadataSymbolFields 28 public enum PatchMetadataSymbolFields
26 { 29 {
27 Company, 30 Company,
@@ -29,33 +32,7 @@ namespace WixToolset.Data.Symbols
29 Value, 32 Value,
30 } 33 }
31 34
32 /// <summary> 35 [Obsolete]
33 /// Values for the OptimizeCA MsiPatchMetdata property, which indicates whether custom actions can be skipped when applying the patch.
34 /// </summary>
35 [Flags]
36 public enum OptimizeCAFlags
37 {
38 /// <summary>
39 /// No custom actions are skipped.
40 /// </summary>
41 None = 0,
42
43 /// <summary>
44 /// Skip property (type 51) and directory (type 35) assignment custom actions.
45 /// </summary>
46 SkipAssignment = 1,
47
48 /// <summary>
49 /// Skip immediate custom actions that are not property or directory assignment custom actions.
50 /// </summary>
51 SkipImmediate = 2,
52
53 /// <summary>
54 /// Skip custom actions that run within the script.
55 /// </summary>
56 SkipDeferred = 4
57 }
58
59 public class PatchMetadataSymbol : IntermediateSymbol 36 public class PatchMetadataSymbol : IntermediateSymbol
60 { 37 {
61 public PatchMetadataSymbol() : base(SymbolDefinitions.PatchMetadata, null, null) 38 public PatchMetadataSymbol() : base(SymbolDefinitions.PatchMetadata, null, null)
diff --git a/src/api/wix/WixToolset.Data/Symbols/PatchPackageSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/PatchPackageSymbol.cs
index 0efdfd25..2d8b3f81 100644
--- a/src/api/wix/WixToolset.Data/Symbols/PatchPackageSymbol.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/PatchPackageSymbol.cs
@@ -49,4 +49,4 @@ namespace WixToolset.Data.Symbols
49 set => this.Set((int)PatchPackageSymbolFields.MediaDiskIdRef, value); 49 set => this.Set((int)PatchPackageSymbolFields.MediaDiskIdRef, value);
50 } 50 }
51 } 51 }
52} \ No newline at end of file 52}
diff --git a/src/api/wix/WixToolset.Data/Symbols/PatchSequenceSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/PatchSequenceSymbol.cs
index a4cbca61..d769651f 100644
--- a/src/api/wix/WixToolset.Data/Symbols/PatchSequenceSymbol.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/PatchSequenceSymbol.cs
@@ -2,10 +2,12 @@
2 2
3namespace WixToolset.Data 3namespace WixToolset.Data
4{ 4{
5 using System;
5 using WixToolset.Data.Symbols; 6 using WixToolset.Data.Symbols;
6 7
7 public static partial class SymbolDefinitions 8 public static partial class SymbolDefinitions
8 { 9 {
10 [Obsolete]
9 public static readonly IntermediateSymbolDefinition PatchSequence = new IntermediateSymbolDefinition( 11 public static readonly IntermediateSymbolDefinition PatchSequence = new IntermediateSymbolDefinition(
10 SymbolDefinitionType.PatchSequence, 12 SymbolDefinitionType.PatchSequence,
11 new[] 13 new[]
@@ -21,6 +23,9 @@ namespace WixToolset.Data
21 23
22namespace WixToolset.Data.Symbols 24namespace WixToolset.Data.Symbols
23{ 25{
26 using System;
27
28 [Obsolete]
24 public enum PatchSequenceSymbolFields 29 public enum PatchSequenceSymbolFields
25 { 30 {
26 PatchFamily, 31 PatchFamily,
@@ -29,6 +34,7 @@ namespace WixToolset.Data.Symbols
29 Supersede, 34 Supersede,
30 } 35 }
31 36
37 [Obsolete]
32 public class PatchSequenceSymbol : IntermediateSymbol 38 public class PatchSequenceSymbol : IntermediateSymbol
33 { 39 {
34 public PatchSequenceSymbol() : base(SymbolDefinitions.PatchSequence, null, null) 40 public PatchSequenceSymbol() : base(SymbolDefinitions.PatchSequence, null, null)
@@ -65,4 +71,4 @@ namespace WixToolset.Data.Symbols
65 set => this.Set((int)PatchSequenceSymbolFields.Supersede, value); 71 set => this.Set((int)PatchSequenceSymbolFields.Supersede, value);
66 } 72 }
67 } 73 }
68} \ No newline at end of file 74}
diff --git a/src/api/wix/WixToolset.Data/Symbols/SymbolDefinitions.cs b/src/api/wix/WixToolset.Data/Symbols/SymbolDefinitions.cs
index 64c1a2a5..ad4b2e11 100644
--- a/src/api/wix/WixToolset.Data/Symbols/SymbolDefinitions.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/SymbolDefinitions.cs
@@ -4,6 +4,7 @@ namespace WixToolset.Data
4{ 4{
5 using System; 5 using System;
6 6
7#pragma warning disable CS0612 // includes some obsolete symbol definitions
7 public enum SymbolDefinitionType 8 public enum SymbolDefinitionType
8 { 9 {
9 SummaryInformation, 10 SummaryInformation,
@@ -34,7 +35,9 @@ namespace WixToolset.Data
34 Error, 35 Error,
35 EventMapping, 36 EventMapping,
36 Extension, 37 Extension,
38 [Obsolete]
37 ExternalFiles, 39 ExternalFiles,
40 [Obsolete]
38 FamilyFileRanges, 41 FamilyFileRanges,
39 Feature, 42 Feature,
40 FeatureComponents, 43 FeatureComponents,
@@ -86,8 +89,10 @@ namespace WixToolset.Data
86 ODBCSourceAttribute, 89 ODBCSourceAttribute,
87 ODBCTranslator, 90 ODBCTranslator,
88 Patch, 91 Patch,
92 [Obsolete]
89 PatchMetadata, 93 PatchMetadata,
90 PatchPackage, 94 PatchPackage,
95 [Obsolete]
91 PatchSequence, 96 PatchSequence,
92 ProgId, 97 ProgId,
93 Properties, 98 Properties,
@@ -106,14 +111,19 @@ namespace WixToolset.Data
106 Shortcut, 111 Shortcut,
107 Signature, 112 Signature,
108 SoftwareIdentificationTag, 113 SoftwareIdentificationTag,
114 [Obsolete]
109 TargetFilesOptionalData, 115 TargetFilesOptionalData,
116 [Obsolete]
110 TargetImages, 117 TargetImages,
111 TextStyle, 118 TextStyle,
112 TypeLib, 119 TypeLib,
113 UIText, 120 UIText,
114 Upgrade, 121 Upgrade,
122 [Obsolete]
115 UpgradedFilesOptionalData, 123 UpgradedFilesOptionalData,
124 [Obsolete]
116 UpgradedFilesToIgnore, 125 UpgradedFilesToIgnore,
126 [Obsolete]
117 UpgradedImages, 127 UpgradedImages,
118 Verb, 128 Verb,
119 WixAction, 129 WixAction,
diff --git a/src/api/wix/WixToolset.Data/Symbols/TargetFilesOptionalDataSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/TargetFilesOptionalDataSymbol.cs
index 66fdc30c..fe3800ff 100644
--- a/src/api/wix/WixToolset.Data/Symbols/TargetFilesOptionalDataSymbol.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/TargetFilesOptionalDataSymbol.cs
@@ -2,10 +2,12 @@
2 2
3namespace WixToolset.Data 3namespace WixToolset.Data
4{ 4{
5 using System;
5 using WixToolset.Data.Symbols; 6 using WixToolset.Data.Symbols;
6 7
7 public static partial class SymbolDefinitions 8 public static partial class SymbolDefinitions
8 { 9 {
10 [Obsolete]
9 public static readonly IntermediateSymbolDefinition TargetFilesOptionalData = new IntermediateSymbolDefinition( 11 public static readonly IntermediateSymbolDefinition TargetFilesOptionalData = new IntermediateSymbolDefinition(
10 SymbolDefinitionType.TargetFilesOptionalData, 12 SymbolDefinitionType.TargetFilesOptionalData,
11 new[] 13 new[]
@@ -23,6 +25,9 @@ namespace WixToolset.Data
23 25
24namespace WixToolset.Data.Symbols 26namespace WixToolset.Data.Symbols
25{ 27{
28 using System;
29
30 [Obsolete]
26 public enum TargetFilesOptionalDataSymbolFields 31 public enum TargetFilesOptionalDataSymbolFields
27 { 32 {
28 Target, 33 Target,
@@ -33,6 +38,7 @@ namespace WixToolset.Data.Symbols
33 RetainOffsets, 38 RetainOffsets,
34 } 39 }
35 40
41 [Obsolete]
36 public class TargetFilesOptionalDataSymbol : IntermediateSymbol 42 public class TargetFilesOptionalDataSymbol : IntermediateSymbol
37 { 43 {
38 public TargetFilesOptionalDataSymbol() : base(SymbolDefinitions.TargetFilesOptionalData, null, null) 44 public TargetFilesOptionalDataSymbol() : base(SymbolDefinitions.TargetFilesOptionalData, null, null)
@@ -81,4 +87,4 @@ namespace WixToolset.Data.Symbols
81 set => this.Set((int)TargetFilesOptionalDataSymbolFields.RetainOffsets, value); 87 set => this.Set((int)TargetFilesOptionalDataSymbolFields.RetainOffsets, value);
82 } 88 }
83 } 89 }
84} \ No newline at end of file 90}
diff --git a/src/api/wix/WixToolset.Data/Symbols/TargetImagesSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/TargetImagesSymbol.cs
index 4748b1f3..20b3ec5d 100644
--- a/src/api/wix/WixToolset.Data/Symbols/TargetImagesSymbol.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/TargetImagesSymbol.cs
@@ -2,10 +2,12 @@
2 2
3namespace WixToolset.Data 3namespace WixToolset.Data
4{ 4{
5 using System;
5 using WixToolset.Data.Symbols; 6 using WixToolset.Data.Symbols;
6 7
7 public static partial class SymbolDefinitions 8 public static partial class SymbolDefinitions
8 { 9 {
10 [Obsolete]
9 public static readonly IntermediateSymbolDefinition TargetImages = new IntermediateSymbolDefinition( 11 public static readonly IntermediateSymbolDefinition TargetImages = new IntermediateSymbolDefinition(
10 SymbolDefinitionType.TargetImages, 12 SymbolDefinitionType.TargetImages,
11 new[] 13 new[]
@@ -24,6 +26,9 @@ namespace WixToolset.Data
24 26
25namespace WixToolset.Data.Symbols 27namespace WixToolset.Data.Symbols
26{ 28{
29 using System;
30
31 [Obsolete]
27 public enum TargetImagesSymbolFields 32 public enum TargetImagesSymbolFields
28 { 33 {
29 Target, 34 Target,
@@ -35,6 +40,7 @@ namespace WixToolset.Data.Symbols
35 IgnoreMissingSrcFiles, 40 IgnoreMissingSrcFiles,
36 } 41 }
37 42
43 [Obsolete]
38 public class TargetImagesSymbol : IntermediateSymbol 44 public class TargetImagesSymbol : IntermediateSymbol
39 { 45 {
40 public TargetImagesSymbol() : base(SymbolDefinitions.TargetImages, null, null) 46 public TargetImagesSymbol() : base(SymbolDefinitions.TargetImages, null, null)
@@ -89,4 +95,4 @@ namespace WixToolset.Data.Symbols
89 set => this.Set((int)TargetImagesSymbolFields.IgnoreMissingSrcFiles, value); 95 set => this.Set((int)TargetImagesSymbolFields.IgnoreMissingSrcFiles, value);
90 } 96 }
91 } 97 }
92} \ No newline at end of file 98}
diff --git a/src/api/wix/WixToolset.Data/Symbols/UpgradedFilesOptionalDataSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/UpgradedFilesOptionalDataSymbol.cs
index 9e669ec3..8f2ccf00 100644
--- a/src/api/wix/WixToolset.Data/Symbols/UpgradedFilesOptionalDataSymbol.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/UpgradedFilesOptionalDataSymbol.cs
@@ -2,10 +2,12 @@
2 2
3namespace WixToolset.Data 3namespace WixToolset.Data
4{ 4{
5 using System;
5 using WixToolset.Data.Symbols; 6 using WixToolset.Data.Symbols;
6 7
7 public static partial class SymbolDefinitions 8 public static partial class SymbolDefinitions
8 { 9 {
10 [Obsolete]
9 public static readonly IntermediateSymbolDefinition UpgradedFilesOptionalData = new IntermediateSymbolDefinition( 11 public static readonly IntermediateSymbolDefinition UpgradedFilesOptionalData = new IntermediateSymbolDefinition(
10 SymbolDefinitionType.UpgradedFilesOptionalData, 12 SymbolDefinitionType.UpgradedFilesOptionalData,
11 new[] 13 new[]
@@ -22,6 +24,9 @@ namespace WixToolset.Data
22 24
23namespace WixToolset.Data.Symbols 25namespace WixToolset.Data.Symbols
24{ 26{
27 using System;
28
29 [Obsolete]
25 public enum UpgradedFilesOptionalDataSymbolFields 30 public enum UpgradedFilesOptionalDataSymbolFields
26 { 31 {
27 Upgraded, 32 Upgraded,
@@ -31,6 +36,7 @@ namespace WixToolset.Data.Symbols
31 IncludeWholeFile, 36 IncludeWholeFile,
32 } 37 }
33 38
39 [Obsolete]
34 public class UpgradedFilesOptionalDataSymbol : IntermediateSymbol 40 public class UpgradedFilesOptionalDataSymbol : IntermediateSymbol
35 { 41 {
36 public UpgradedFilesOptionalDataSymbol() : base(SymbolDefinitions.UpgradedFilesOptionalData, null, null) 42 public UpgradedFilesOptionalDataSymbol() : base(SymbolDefinitions.UpgradedFilesOptionalData, null, null)
diff --git a/src/api/wix/WixToolset.Data/Symbols/UpgradedFilesToIgnoreSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/UpgradedFilesToIgnoreSymbol.cs
index e21af6a2..1afcb980 100644
--- a/src/api/wix/WixToolset.Data/Symbols/UpgradedFilesToIgnoreSymbol.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/UpgradedFilesToIgnoreSymbol.cs
@@ -2,10 +2,12 @@
2 2
3namespace WixToolset.Data 3namespace WixToolset.Data
4{ 4{
5 using System;
5 using WixToolset.Data.Symbols; 6 using WixToolset.Data.Symbols;
6 7
7 public static partial class SymbolDefinitions 8 public static partial class SymbolDefinitions
8 { 9 {
10 [Obsolete]
9 public static readonly IntermediateSymbolDefinition UpgradedFilesToIgnore = new IntermediateSymbolDefinition( 11 public static readonly IntermediateSymbolDefinition UpgradedFilesToIgnore = new IntermediateSymbolDefinition(
10 SymbolDefinitionType.UpgradedFilesToIgnore, 12 SymbolDefinitionType.UpgradedFilesToIgnore,
11 new[] 13 new[]
@@ -19,12 +21,16 @@ namespace WixToolset.Data
19 21
20namespace WixToolset.Data.Symbols 22namespace WixToolset.Data.Symbols
21{ 23{
24 using System;
25
26 [Obsolete]
22 public enum UpgradedFilesToIgnoreSymbolFields 27 public enum UpgradedFilesToIgnoreSymbolFields
23 { 28 {
24 Upgraded, 29 Upgraded,
25 FTK, 30 FTK,
26 } 31 }
27 32
33 [Obsolete]
28 public class UpgradedFilesToIgnoreSymbol : IntermediateSymbol 34 public class UpgradedFilesToIgnoreSymbol : IntermediateSymbol
29 { 35 {
30 public UpgradedFilesToIgnoreSymbol() : base(SymbolDefinitions.UpgradedFilesToIgnore, null, null) 36 public UpgradedFilesToIgnoreSymbol() : base(SymbolDefinitions.UpgradedFilesToIgnore, null, null)
@@ -49,4 +55,4 @@ namespace WixToolset.Data.Symbols
49 set => this.Set((int)UpgradedFilesToIgnoreSymbolFields.FTK, value); 55 set => this.Set((int)UpgradedFilesToIgnoreSymbolFields.FTK, value);
50 } 56 }
51 } 57 }
52} \ No newline at end of file 58}
diff --git a/src/api/wix/WixToolset.Data/Symbols/UpgradedImagesSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/UpgradedImagesSymbol.cs
index 28eae08a..438ca493 100644
--- a/src/api/wix/WixToolset.Data/Symbols/UpgradedImagesSymbol.cs
+++ b/src/api/wix/WixToolset.Data/Symbols/UpgradedImagesSymbol.cs
@@ -2,10 +2,12 @@
2 2
3namespace WixToolset.Data 3namespace WixToolset.Data
4{ 4{
5 using System;
5 using WixToolset.Data.Symbols; 6 using WixToolset.Data.Symbols;
6 7
7 public static partial class SymbolDefinitions 8 public static partial class SymbolDefinitions
8 { 9 {
10 [Obsolete]
9 public static readonly IntermediateSymbolDefinition UpgradedImages = new IntermediateSymbolDefinition( 11 public static readonly IntermediateSymbolDefinition UpgradedImages = new IntermediateSymbolDefinition(
10 SymbolDefinitionType.UpgradedImages, 12 SymbolDefinitionType.UpgradedImages,
11 new[] 13 new[]
@@ -22,6 +24,9 @@ namespace WixToolset.Data
22 24
23namespace WixToolset.Data.Symbols 25namespace WixToolset.Data.Symbols
24{ 26{
27 using System;
28
29 [Obsolete]
25 public enum UpgradedImagesSymbolFields 30 public enum UpgradedImagesSymbolFields
26 { 31 {
27 Upgraded, 32 Upgraded,
@@ -31,6 +36,7 @@ namespace WixToolset.Data.Symbols
31 Family, 36 Family,
32 } 37 }
33 38
39 [Obsolete]
34 public class UpgradedImagesSymbol : IntermediateSymbol 40 public class UpgradedImagesSymbol : IntermediateSymbol
35 { 41 {
36 public UpgradedImagesSymbol() : base(SymbolDefinitions.UpgradedImages, null, null) 42 public UpgradedImagesSymbol() : base(SymbolDefinitions.UpgradedImages, null, null)
@@ -73,4 +79,4 @@ namespace WixToolset.Data.Symbols
73 set => this.Set((int)UpgradedImagesSymbolFields.Family, value); 79 set => this.Set((int)UpgradedImagesSymbolFields.Family, value);
74 } 80 }
75 } 81 }
76} \ No newline at end of file 82}
diff --git a/src/api/wix/WixToolset.Data/WarningMessages.cs b/src/api/wix/WixToolset.Data/WarningMessages.cs
index 83d9dc51..67915620 100644
--- a/src/api/wix/WixToolset.Data/WarningMessages.cs
+++ b/src/api/wix/WixToolset.Data/WarningMessages.cs
@@ -167,11 +167,6 @@ namespace WixToolset.Data
167 return Message(sourceLineNumbers, Ids.DeprecatedLongNameAttribute, "The {0}/@{1} attribute has been deprecated. Since WiX now has the ability to generate short file/directory names, the desired name should be specified in the {2} attribute instead. If the name specified in the {2} attribute is a short name, then WiX will not generate a short name. If the name specified in the {2} attribute is a long name and you want to manually specify the short name, please set the short name value in the {3} attribute.", elementName, longNameAttributeName, nameAttributeName, shortNameAttributeName); 167 return Message(sourceLineNumbers, Ids.DeprecatedLongNameAttribute, "The {0}/@{1} attribute has been deprecated. Since WiX now has the ability to generate short file/directory names, the desired name should be specified in the {2} attribute instead. If the name specified in the {2} attribute is a short name, then WiX will not generate a short name. If the name specified in the {2} attribute is a long name and you want to manually specify the short name, please set the short name value in the {3} attribute.", elementName, longNameAttributeName, nameAttributeName, shortNameAttributeName);
168 } 168 }
169 169
170 public static Message DeprecatedPatchSequenceTargetAttribute(SourceLineNumber sourceLineNumbers, string elementName, string attributeName)
171 {
172 return Message(sourceLineNumbers, Ids.DeprecatedPatchSequenceTargetAttribute, "The {0}/@{1} attribute has been deprecated in favor of the more strongly-typed ProductCode or TargetImage attributes. Please use the ProductCode attribute for indicating the ProductCode of a patch family directly, or the TargetImage attribute to specify the TargetImage which in turn will retrieve the ProductCode of the patch family.", elementName, attributeName);
173 }
174
175 public static Message DeprecatedPreProcVariable(SourceLineNumber sourceLineNumbers, string oldName, string newName) 170 public static Message DeprecatedPreProcVariable(SourceLineNumber sourceLineNumbers, string oldName, string newName)
176 { 171 {
177 return Message(sourceLineNumbers, Ids.DeprecatedPreProcVariable, "The built-in preprocessor variable '{0}' is deprecated. Please correct your authoring to use the new '{1}' preprocessor variable instead.", oldName, newName); 172 return Message(sourceLineNumbers, Ids.DeprecatedPreProcVariable, "The built-in preprocessor variable '{0}' is deprecated. Please correct your authoring to use the new '{1}' preprocessor variable instead.", oldName, newName);
@@ -332,11 +327,6 @@ namespace WixToolset.Data
332 return Message(sourceLineNumbers, Ids.IllegalColumnValue, "The {0}.{1} column's value, '{2}', is not a recognized legal value. This information will be left out of the decompiled output.", tableName, columnName, value); 327 return Message(sourceLineNumbers, Ids.IllegalColumnValue, "The {0}.{1} column's value, '{2}', is not a recognized legal value. This information will be left out of the decompiled output.", tableName, columnName, value);
333 } 328 }
334 329
335 public static Message IllegalPatchCreationTable(SourceLineNumber sourceLineNumbers, string tableName)
336 {
337 return Message(sourceLineNumbers, Ids.IllegalPatchCreationTable, "The {0} table is not legal in a patch creation file. The information in this table will be left out of the decompiled output.", tableName);
338 }
339
340 public static Message IllegalRegistryKeyPath(SourceLineNumber sourceLineNumbers, string componentName, string registryId) 330 public static Message IllegalRegistryKeyPath(SourceLineNumber sourceLineNumbers, string componentName, string registryId)
341 { 331 {
342 return Message(sourceLineNumbers, Ids.IllegalRegistryKeyPath, "Component '{0}' specifies an illegal registry keypath of '{1}'. Since this entry actually represents a registry key, not a registry value, it cannot be the keypath.", componentName, registryId); 332 return Message(sourceLineNumbers, Ids.IllegalRegistryKeyPath, "Component '{0}' specifies an illegal registry keypath of '{1}'. Since this entry actually represents a registry key, not a registry value, it cannot be the keypath.", componentName, registryId);
@@ -542,11 +532,6 @@ namespace WixToolset.Data
542 return Message(sourceLineNumbers, Ids.SkippingMergeModuleTable, "The {0} table can only be represented in WiX for merge modules. The information in this table will be left out of the decompiled output.", tableName); 532 return Message(sourceLineNumbers, Ids.SkippingMergeModuleTable, "The {0} table can only be represented in WiX for merge modules. The information in this table will be left out of the decompiled output.", tableName);
543 } 533 }
544 534
545 public static Message SkippingPatchCreationTable(SourceLineNumber sourceLineNumbers, string tableName)
546 {
547 return Message(sourceLineNumbers, Ids.SkippingPatchCreationTable, "The {0} table can only be represented in WiX for patch creation files. The information in this table will be left out of the decompiled output.", tableName);
548 }
549
550 public static Message StandardDirectoryConflictInMergeModule(SourceLineNumber sourceLineNumbers, string directory, string standardDirectory) 535 public static Message StandardDirectoryConflictInMergeModule(SourceLineNumber sourceLineNumbers, string directory, string standardDirectory)
551 { 536 {
552 return Message(sourceLineNumbers, Ids.StandardDirectoryConflictInMergeModule, "The Directory '{0}' starts with the same Id as the standard folder in Windows Installer '{1}'. A directory Id that begins with the same Id as a standard folder that is in an MSM may encounter a conflict when merging the MSM into an MSI. This may result in the contents of this merge module being installed to an unexpected location. To eliminate this warning, change your directory Id to not start with the same Id as any standard folders.", directory, standardDirectory); 537 return Message(sourceLineNumbers, Ids.StandardDirectoryConflictInMergeModule, "The Directory '{0}' starts with the same Id as the standard folder in Windows Installer '{1}'. A directory Id that begins with the same Id as a standard folder that is in an MSM may encounter a conflict when merging the MSM into an MSI. This may result in the contents of this merge module being installed to an unexpected location. To eliminate this warning, change your directory Id to not start with the same Id as any standard folders.", directory, standardDirectory);
@@ -762,9 +747,7 @@ namespace WixToolset.Data
762 IllegalActionInSequence = 1058, 747 IllegalActionInSequence = 1058,
763 ExpectedForeignRow = 1059, 748 ExpectedForeignRow = 1059,
764 DecompilingAsCustomTable = 1060, 749 DecompilingAsCustomTable = 1060,
765 IllegalPatchCreationTable = 1061,
766 SkippingMergeModuleTable = 1062, 750 SkippingMergeModuleTable = 1062,
767 SkippingPatchCreationTable = 1063,
768 UnrepresentableColumnValue = 1064, 751 UnrepresentableColumnValue = 1064,
769 DeprecatedTable = 1065, 752 DeprecatedTable = 1065,
770 PatchTable = 1066, 753 PatchTable = 1066,
@@ -782,7 +765,6 @@ namespace WixToolset.Data
782 EmptyCabinet = 1079, 765 EmptyCabinet = 1079,
783 DeprecatedRegistryElement = 1080, 766 DeprecatedRegistryElement = 1080,
784 IllegalRegistryKeyPath = 1081, 767 IllegalRegistryKeyPath = 1081,
785 DeprecatedPatchSequenceTargetAttribute = 1082,
786 ProductIdAuthored = 1083, 768 ProductIdAuthored = 1083,
787 ImplicitMergeModulePrimaryFeature = 1084, 769 ImplicitMergeModulePrimaryFeature = 1084,
788 DeprecatedIgnoreModularizationElement = 1085, 770 DeprecatedIgnoreModularizationElement = 1085,
diff --git a/src/api/wix/WixToolset.Data/WindowsInstaller/WindowsInstallerData.cs b/src/api/wix/WixToolset.Data/WindowsInstaller/WindowsInstallerData.cs
index fbb38501..2f27e45d 100644
--- a/src/api/wix/WixToolset.Data/WindowsInstaller/WindowsInstallerData.cs
+++ b/src/api/wix/WixToolset.Data/WindowsInstaller/WindowsInstallerData.cs
@@ -214,9 +214,11 @@ namespace WixToolset.Data.WindowsInstaller
214 case "Patch": 214 case "Patch":
215 output.Type = OutputType.Patch; 215 output.Type = OutputType.Patch;
216 break; 216 break;
217#pragma warning disable CS0612 // still supported backward compatiblity
217 case "PatchCreation": 218 case "PatchCreation":
218 output.Type = OutputType.PatchCreation; 219 output.Type = OutputType.PatchCreation;
219 break; 220 break;
221#pragma warning restore CS0612
220 case "Package": 222 case "Package":
221 case "Product": 223 case "Product":
222 output.Type = OutputType.Package; 224 output.Type = OutputType.Package;
diff --git a/src/api/wix/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs b/src/api/wix/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs
index 9f0cdd96..96ae929d 100644
--- a/src/api/wix/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs
+++ b/src/api/wix/WixToolset.Data/WindowsInstaller/WindowsInstallerTableDefinitions.cs
@@ -2,6 +2,7 @@
2 2
3namespace WixToolset.Data.WindowsInstaller 3namespace WixToolset.Data.WindowsInstaller
4{ 4{
5 using System;
5 using WixToolset.Data.WindowsInstaller.Rows; 6 using WixToolset.Data.WindowsInstaller.Rows;
6 7
7 public static class WindowsInstallerTableDefinitions 8 public static class WindowsInstallerTableDefinitions
@@ -861,6 +862,7 @@ namespace WixToolset.Data.WindowsInstaller
861 symbolIdIsPrimaryKey: false 862 symbolIdIsPrimaryKey: false
862 ); 863 );
863 864
865 [Obsolete]
864 public static readonly TableDefinition PatchMetadata = new TableDefinition( 866 public static readonly TableDefinition PatchMetadata = new TableDefinition(
865 "PatchMetadata", 867 "PatchMetadata",
866 SymbolDefinitions.PatchMetadata, 868 SymbolDefinitions.PatchMetadata,
@@ -908,6 +910,7 @@ namespace WixToolset.Data.WindowsInstaller
908 symbolIdIsPrimaryKey: false 910 symbolIdIsPrimaryKey: false
909 ); 911 );
910 912
913 [Obsolete]
911 public static readonly TableDefinition PatchSequence = new TableDefinition( 914 public static readonly TableDefinition PatchSequence = new TableDefinition(
912 "PatchSequence", 915 "PatchSequence",
913 SymbolDefinitions.PatchSequence, 916 SymbolDefinitions.PatchSequence,
@@ -1560,6 +1563,7 @@ namespace WixToolset.Data.WindowsInstaller
1560 symbolIdIsPrimaryKey: false 1563 symbolIdIsPrimaryKey: false
1561 ); 1564 );
1562 1565
1566 [Obsolete]
1563 public static readonly TableDefinition ImageFamilies = new TableDefinition( 1567 public static readonly TableDefinition ImageFamilies = new TableDefinition(
1564 "ImageFamilies", 1568 "ImageFamilies",
1565 SymbolDefinitions.ImageFamilies, 1569 SymbolDefinitions.ImageFamilies,
@@ -1575,6 +1579,7 @@ namespace WixToolset.Data.WindowsInstaller
1575 symbolIdIsPrimaryKey: false 1579 symbolIdIsPrimaryKey: false
1576 ); 1580 );
1577 1581
1582 [Obsolete]
1578 public static readonly TableDefinition UpgradedImages = new TableDefinition( 1583 public static readonly TableDefinition UpgradedImages = new TableDefinition(
1579 "UpgradedImages", 1584 "UpgradedImages",
1580 SymbolDefinitions.UpgradedImages, 1585 SymbolDefinitions.UpgradedImages,
@@ -1589,6 +1594,7 @@ namespace WixToolset.Data.WindowsInstaller
1589 symbolIdIsPrimaryKey: false 1594 symbolIdIsPrimaryKey: false
1590 ); 1595 );
1591 1596
1597 [Obsolete]
1592 public static readonly TableDefinition UpgradedFilesToIgnore = new TableDefinition( 1598 public static readonly TableDefinition UpgradedFilesToIgnore = new TableDefinition(
1593 "UpgradedFilesToIgnore", 1599 "UpgradedFilesToIgnore",
1594 SymbolDefinitions.UpgradedFilesToIgnore, 1600 SymbolDefinitions.UpgradedFilesToIgnore,
@@ -1600,6 +1606,7 @@ namespace WixToolset.Data.WindowsInstaller
1600 symbolIdIsPrimaryKey: false 1606 symbolIdIsPrimaryKey: false
1601 ); 1607 );
1602 1608
1609 [Obsolete]
1603 public static readonly TableDefinition UpgradedFilesOptionalData = new TableDefinition( 1610 public static readonly TableDefinition UpgradedFilesOptionalData = new TableDefinition(
1604 "UpgradedFiles_OptionalData", 1611 "UpgradedFiles_OptionalData",
1605 SymbolDefinitions.UpgradedFilesOptionalData, 1612 SymbolDefinitions.UpgradedFilesOptionalData,
@@ -1614,6 +1621,7 @@ namespace WixToolset.Data.WindowsInstaller
1614 symbolIdIsPrimaryKey: false 1621 symbolIdIsPrimaryKey: false
1615 ); 1622 );
1616 1623
1624 [Obsolete]
1617 public static readonly TableDefinition TargetImages = new TableDefinition( 1625 public static readonly TableDefinition TargetImages = new TableDefinition(
1618 "TargetImages", 1626 "TargetImages",
1619 SymbolDefinitions.TargetImages, 1627 SymbolDefinitions.TargetImages,
@@ -1630,6 +1638,7 @@ namespace WixToolset.Data.WindowsInstaller
1630 symbolIdIsPrimaryKey: false 1638 symbolIdIsPrimaryKey: false
1631 ); 1639 );
1632 1640
1641 [Obsolete]
1633 public static readonly TableDefinition TargetFilesOptionalData = new TableDefinition( 1642 public static readonly TableDefinition TargetFilesOptionalData = new TableDefinition(
1634 "TargetFiles_OptionalData", 1643 "TargetFiles_OptionalData",
1635 SymbolDefinitions.TargetFilesOptionalData, 1644 SymbolDefinitions.TargetFilesOptionalData,
@@ -1645,6 +1654,7 @@ namespace WixToolset.Data.WindowsInstaller
1645 symbolIdIsPrimaryKey: false 1654 symbolIdIsPrimaryKey: false
1646 ); 1655 );
1647 1656
1657 [Obsolete]
1648 public static readonly TableDefinition FamilyFileRanges = new TableDefinition( 1658 public static readonly TableDefinition FamilyFileRanges = new TableDefinition(
1649 "FamilyFileRanges", 1659 "FamilyFileRanges",
1650 SymbolDefinitions.FamilyFileRanges, 1660 SymbolDefinitions.FamilyFileRanges,
@@ -1658,6 +1668,7 @@ namespace WixToolset.Data.WindowsInstaller
1658 symbolIdIsPrimaryKey: false 1668 symbolIdIsPrimaryKey: false
1659 ); 1669 );
1660 1670
1671 [Obsolete]
1661 public static readonly TableDefinition ExternalFiles = new TableDefinition( 1672 public static readonly TableDefinition ExternalFiles = new TableDefinition(
1662 "ExternalFiles", 1673 "ExternalFiles",
1663 SymbolDefinitions.ExternalFiles, 1674 SymbolDefinitions.ExternalFiles,
@@ -1772,6 +1783,7 @@ namespace WixToolset.Data.WindowsInstaller
1772 symbolIdIsPrimaryKey: false 1783 symbolIdIsPrimaryKey: false
1773 ); 1784 );
1774 1785
1786#pragma warning disable CS0612 // includes some obsolete table definitions
1775 public static readonly TableDefinition[] All = new[] 1787 public static readonly TableDefinition[] All = new[]
1776 { 1788 {
1777 ActionText, 1789 ActionText,
@@ -1903,5 +1915,6 @@ namespace WixToolset.Data.WindowsInstaller
1903 WixDependencyProvider, 1915 WixDependencyProvider,
1904 WixDependencyRef, 1916 WixDependencyRef,
1905 }; 1917 };
1918#pragma warning restore CS0618
1906 } 1919 }
1907} 1920}
diff --git a/src/api/wix/WixToolset.Data/WindowsInstaller/Xsd/data.xsd b/src/api/wix/WixToolset.Data/WindowsInstaller/Xsd/data.xsd
index 2ee214d8..c4109dc1 100644
--- a/src/api/wix/WixToolset.Data/WindowsInstaller/Xsd/data.xsd
+++ b/src/api/wix/WixToolset.Data/WindowsInstaller/Xsd/data.xsd
@@ -37,7 +37,6 @@
37 <xs:enumeration value="Bundle" /> 37 <xs:enumeration value="Bundle" />
38 <xs:enumeration value="Module" /> 38 <xs:enumeration value="Module" />
39 <xs:enumeration value="Patch" /> 39 <xs:enumeration value="Patch" />
40 <xs:enumeration value="PatchCreation" />
41 <xs:enumeration value="Package" /> 40 <xs:enumeration value="Package" />
42 <xs:enumeration value="Product" /> 41 <xs:enumeration value="Product" />
43 <xs:enumeration value="Transform" /> 42 <xs:enumeration value="Transform" />
diff --git a/src/api/wix/WixToolset.Data/WindowsInstaller/Xsd/objects.xsd b/src/api/wix/WixToolset.Data/WindowsInstaller/Xsd/objects.xsd
index 84b59321..404290f1 100644
--- a/src/api/wix/WixToolset.Data/WindowsInstaller/Xsd/objects.xsd
+++ b/src/api/wix/WixToolset.Data/WindowsInstaller/Xsd/objects.xsd
@@ -121,7 +121,6 @@
121 <xs:enumeration value="module" /> 121 <xs:enumeration value="module" />
122 <xs:enumeration value="package" /> 122 <xs:enumeration value="package" />
123 <xs:enumeration value="product" /> 123 <xs:enumeration value="product" />
124 <xs:enumeration value="patchCreation" />
125 <xs:enumeration value="patch" /> 124 <xs:enumeration value="patch" />
126 </xs:restriction> 125 </xs:restriction>
127 </xs:simpleType> 126 </xs:simpleType>