diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-03-21 23:22:23 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-03-22 12:26:48 -0500 |
commit | fc3e4722307c86b5d06918f0721b98323735bb40 (patch) | |
tree | 1a8c6fa25274cce22f0e274a6b3b1c5c06614745 /src/api | |
parent | 9bb420a19538321789b8300051cd595d6c00c710 (diff) | |
download | wix-fc3e4722307c86b5d06918f0721b98323735bb40.tar.gz wix-fc3e4722307c86b5d06918f0721b98323735bb40.tar.bz2 wix-fc3e4722307c86b5d06918f0721b98323735bb40.zip |
Add `ExePackage/@Bundle` to opt-in to v3 behavior.
Automatically add '-norestart' for bundle ExePackages.
Fixes 6252
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/wix/WixToolset.Data/Symbols/WixBundleExePackageSymbol.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/api/wix/WixToolset.Data/Symbols/WixBundleExePackageSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/WixBundleExePackageSymbol.cs index 64a21321..fc891f13 100644 --- a/src/api/wix/WixToolset.Data/Symbols/WixBundleExePackageSymbol.cs +++ b/src/api/wix/WixToolset.Data/Symbols/WixBundleExePackageSymbol.cs | |||
@@ -39,6 +39,7 @@ namespace WixToolset.Data.Symbols | |||
39 | public enum WixBundleExePackageAttributes | 39 | public enum WixBundleExePackageAttributes |
40 | { | 40 | { |
41 | None = 0, | 41 | None = 0, |
42 | Bundle = 1, | ||
42 | } | 43 | } |
43 | 44 | ||
44 | public class WixBundleExePackageSymbol : IntermediateSymbol | 45 | public class WixBundleExePackageSymbol : IntermediateSymbol |
@@ -89,6 +90,8 @@ namespace WixToolset.Data.Symbols | |||
89 | set => this.Set((int)WixBundleExePackageSymbolFields.ExeProtocol, value); | 90 | set => this.Set((int)WixBundleExePackageSymbolFields.ExeProtocol, value); |
90 | } | 91 | } |
91 | 92 | ||
93 | public bool IsBundle => this.Attributes.HasFlag(WixBundleExePackageAttributes.Bundle); | ||
94 | |||
92 | public bool Repairable => this.RepairCommand != null; | 95 | public bool Repairable => this.RepairCommand != null; |
93 | 96 | ||
94 | public bool Uninstallable => this.UninstallCommand != null; | 97 | public bool Uninstallable => this.UninstallCommand != null; |