diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-03-26 19:26:01 +1000 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-03-30 21:23:16 +1000 |
| commit | 66b668b4c5d37f572dfca86446f7dddc5dd3d85f (patch) | |
| tree | 8e63232c28c29c2467986c86ba049f94d8da7e7e /src | |
| parent | 39df3cf47aa22abfea57a74b7f985f44cb9beba5 (diff) | |
| download | wix-66b668b4c5d37f572dfca86446f7dddc5dd3d85f.tar.gz wix-66b668b4c5d37f572dfca86446f7dddc5dd3d85f.tar.bz2 wix-66b668b4c5d37f572dfca86446f7dddc5dd3d85f.zip | |
Add support for bundle extension searches.
Add MissingBundleSearch error message.
Add BundleExtensionRef to WixSearchTuple.
Add BundleExtensionSearchTupleDefinitionTag.
Diffstat (limited to 'src')
| -rw-r--r-- | src/WixToolset.Data/Burn/BurnConstants.cs | 1 | ||||
| -rw-r--r-- | src/WixToolset.Data/ErrorMessages.cs | 6 | ||||
| -rw-r--r-- | src/WixToolset.Data/Tuples/WixSearchTuple.cs | 8 |
3 files changed, 15 insertions, 0 deletions
diff --git a/src/WixToolset.Data/Burn/BurnConstants.cs b/src/WixToolset.Data/Burn/BurnConstants.cs index 9803a73a..1a0db73e 100644 --- a/src/WixToolset.Data/Burn/BurnConstants.cs +++ b/src/WixToolset.Data/Burn/BurnConstants.cs | |||
| @@ -9,6 +9,7 @@ namespace WixToolset.Data.Burn | |||
| 9 | public const string BundleLayoutOnlyPayloadsName = "BundleLayoutOnlyPayloads"; | 9 | public const string BundleLayoutOnlyPayloadsName = "BundleLayoutOnlyPayloads"; |
| 10 | 10 | ||
| 11 | public const string BootstrapperApplicationDataTupleDefinitionTag = "WixBootstrapperApplicationData"; | 11 | public const string BootstrapperApplicationDataTupleDefinitionTag = "WixBootstrapperApplicationData"; |
| 12 | public const string BundleExtensionSearchTupleDefinitionTag = "WixBundleExtensionSearch"; | ||
| 12 | 13 | ||
| 13 | // The following constants must stay in sync with src\burn\engine\core.h | 14 | // The following constants must stay in sync with src\burn\engine\core.h |
| 14 | public const string BURN_BUNDLE_NAME = "WixBundleName"; | 15 | public const string BURN_BUNDLE_NAME = "WixBundleName"; |
diff --git a/src/WixToolset.Data/ErrorMessages.cs b/src/WixToolset.Data/ErrorMessages.cs index 23d32b4f..4d972903 100644 --- a/src/WixToolset.Data/ErrorMessages.cs +++ b/src/WixToolset.Data/ErrorMessages.cs | |||
| @@ -1469,6 +1469,11 @@ namespace WixToolset.Data | |||
| 1469 | return Message(null, Ids.MissingBundleInformation, "The Bundle is missing '{0}' data, and cannot continue.", data); | 1469 | return Message(null, Ids.MissingBundleInformation, "The Bundle is missing '{0}' data, and cannot continue.", data); |
| 1470 | } | 1470 | } |
| 1471 | 1471 | ||
| 1472 | public static Message MissingBundleSearch(SourceLineNumber sourceLineNumbers, string searchId) | ||
| 1473 | { | ||
| 1474 | return Message(sourceLineNumbers, Ids.MissingBundleSearch, "Bundle Search with id '{0}' has no corresponding implementation tuple.", searchId); | ||
| 1475 | } | ||
| 1476 | |||
| 1472 | public static Message MissingDependencyVersion(string packageId) | 1477 | public static Message MissingDependencyVersion(string packageId) |
| 1473 | { | 1478 | { |
| 1474 | return Message(null, Ids.MissingDependencyVersion, "The provider dependency version was not authored for the package with Id '{0}'. Please author the Provides/@Version attribute for this package.", packageId); | 1479 | return Message(null, Ids.MissingDependencyVersion, "The provider dependency version was not authored for the package with Id '{0}'. Please author the Provides/@Version attribute for this package.", packageId); |
| @@ -2658,6 +2663,7 @@ namespace WixToolset.Data | |||
| 2658 | CouldNotDetermineProductCodeFromTransformSummaryInfo = 394, | 2663 | CouldNotDetermineProductCodeFromTransformSummaryInfo = 394, |
| 2659 | IntermediatesMustBeCompiled = 395, | 2664 | IntermediatesMustBeCompiled = 395, |
| 2660 | IntermediatesMustBeResolved = 396, | 2665 | IntermediatesMustBeResolved = 396, |
| 2666 | MissingBundleSearch = 397, | ||
| 2661 | } | 2667 | } |
| 2662 | } | 2668 | } |
| 2663 | } | 2669 | } |
diff --git a/src/WixToolset.Data/Tuples/WixSearchTuple.cs b/src/WixToolset.Data/Tuples/WixSearchTuple.cs index fd1ae5bf..6f58f62e 100644 --- a/src/WixToolset.Data/Tuples/WixSearchTuple.cs +++ b/src/WixToolset.Data/Tuples/WixSearchTuple.cs | |||
| @@ -12,6 +12,7 @@ namespace WixToolset.Data | |||
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixSearchTupleFields.Variable), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixSearchTupleFields.Variable), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixSearchTupleFields.Condition), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixSearchTupleFields.Condition), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixSearchTupleFields.BundleExtensionRef), IntermediateFieldType.String), | ||
| 15 | }, | 16 | }, |
| 16 | typeof(WixSearchTuple)); | 17 | typeof(WixSearchTuple)); |
| 17 | } | 18 | } |
| @@ -23,6 +24,7 @@ namespace WixToolset.Data.Tuples | |||
| 23 | { | 24 | { |
| 24 | Variable, | 25 | Variable, |
| 25 | Condition, | 26 | Condition, |
| 27 | BundleExtensionRef, | ||
| 26 | } | 28 | } |
| 27 | 29 | ||
| 28 | public class WixSearchTuple : IntermediateTuple | 30 | public class WixSearchTuple : IntermediateTuple |
| @@ -48,5 +50,11 @@ namespace WixToolset.Data.Tuples | |||
| 48 | get => (string)this.Fields[(int)WixSearchTupleFields.Condition]; | 50 | get => (string)this.Fields[(int)WixSearchTupleFields.Condition]; |
| 49 | set => this.Set((int)WixSearchTupleFields.Condition, value); | 51 | set => this.Set((int)WixSearchTupleFields.Condition, value); |
| 50 | } | 52 | } |
| 53 | |||
| 54 | public string BundleExtensionRef | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)WixSearchTupleFields.BundleExtensionRef]; | ||
| 57 | set => this.Set((int)WixSearchTupleFields.BundleExtensionRef, value); | ||
| 58 | } | ||
| 51 | } | 59 | } |
| 52 | } \ No newline at end of file | 60 | } \ No newline at end of file |
