diff options
Diffstat (limited to 'tools/wixl/wix.vala')
-rw-r--r-- | tools/wixl/wix.vala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/wixl/wix.vala b/tools/wixl/wix.vala index 1419090..93ff935 100644 --- a/tools/wixl/wix.vala +++ b/tools/wixl/wix.vala @@ -64,6 +64,7 @@ namespace Wixl { public abstract void visit_registry_search (WixRegistrySearch search) throws GLib.Error; public abstract void visit_custom_action (WixCustomAction action) throws GLib.Error; public abstract void visit_binary (WixBinary binary) throws GLib.Error; + public abstract void visit_major_upgrade (WixMajorUpgrade major) throws GLib.Error; } public abstract class WixNode: Object { @@ -937,6 +938,18 @@ namespace Wixl { } } + public class WixMajorUpgrade: WixElement { + static construct { + name = "MajorUpgrade"; + } + + public string DowngradeErrorMessage { get; set; } + + public override void accept (WixNodeVisitor visitor) throws GLib.Error { + visitor.visit_major_upgrade (this); + } + } + public class WixProduct: WixElement { static construct { name = "Product"; @@ -958,6 +971,7 @@ namespace Wixl { typeof (WixUpgrade), typeof (WixCustomAction), typeof (WixBinary), + typeof (WixMajorUpgrade), }); } |