diff options
author | Rob Mensching <rob@firegiant.com> | 2022-06-15 13:44:05 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2022-06-29 23:01:15 -0700 |
commit | db17200a99cfcc2ec5af4a5893be44f11087dc7a (patch) | |
tree | b8b6ead8b8e2852cc39ae6767f0b9e181475c459 /src/api | |
parent | 5ea1c1b91ec31461fa26d4104b7113fc326cdbcb (diff) | |
download | wix-db17200a99cfcc2ec5af4a5893be44f11087dc7a.tar.gz wix-db17200a99cfcc2ec5af4a5893be44f11087dc7a.tar.bz2 wix-db17200a99cfcc2ec5af4a5893be44f11087dc7a.zip |
Remove MsuPackage/@KB and Permanent attributes
Windows no longer allows for the silent removal of MSUs which
renders the KB and Permanent attributes irrelevant. This removes
both.
Fixes 6749
Fixes 6801
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/wix/WixToolset.Data/Symbols/WixBundleMsuPackageSymbol.cs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/api/wix/WixToolset.Data/Symbols/WixBundleMsuPackageSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/WixBundleMsuPackageSymbol.cs index e52a9b2d..04ebe748 100644 --- a/src/api/wix/WixToolset.Data/Symbols/WixBundleMsuPackageSymbol.cs +++ b/src/api/wix/WixToolset.Data/Symbols/WixBundleMsuPackageSymbol.cs | |||
@@ -10,8 +10,7 @@ namespace WixToolset.Data | |||
10 | SymbolDefinitionType.WixBundleMsuPackage, | 10 | SymbolDefinitionType.WixBundleMsuPackage, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(WixBundleMsuPackageSymbolFields.DetectCondition), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundleMsuPackageSymbolFields.DetectCondition), IntermediateFieldType.String) |
14 | new IntermediateFieldDefinition(nameof(WixBundleMsuPackageSymbolFields.MsuKB), IntermediateFieldType.String), | ||
15 | }, | 14 | }, |
16 | typeof(WixBundleMsuPackageSymbol)); | 15 | typeof(WixBundleMsuPackageSymbol)); |
17 | } | 16 | } |
@@ -22,7 +21,6 @@ namespace WixToolset.Data.Symbols | |||
22 | public enum WixBundleMsuPackageSymbolFields | 21 | public enum WixBundleMsuPackageSymbolFields |
23 | { | 22 | { |
24 | DetectCondition, | 23 | DetectCondition, |
25 | MsuKB, | ||
26 | } | 24 | } |
27 | 25 | ||
28 | public class WixBundleMsuPackageSymbol : IntermediateSymbol | 26 | public class WixBundleMsuPackageSymbol : IntermediateSymbol |
@@ -42,11 +40,5 @@ namespace WixToolset.Data.Symbols | |||
42 | get => (string)this.Fields[(int)WixBundleMsuPackageSymbolFields.DetectCondition]; | 40 | get => (string)this.Fields[(int)WixBundleMsuPackageSymbolFields.DetectCondition]; |
43 | set => this.Set((int)WixBundleMsuPackageSymbolFields.DetectCondition, value); | 41 | set => this.Set((int)WixBundleMsuPackageSymbolFields.DetectCondition, value); |
44 | } | 42 | } |
45 | |||
46 | public string MsuKB | ||
47 | { | ||
48 | get => (string)this.Fields[(int)WixBundleMsuPackageSymbolFields.MsuKB]; | ||
49 | set => this.Set((int)WixBundleMsuPackageSymbolFields.MsuKB, value); | ||
50 | } | ||
51 | } | 43 | } |
52 | } \ No newline at end of file | 44 | } \ No newline at end of file |