diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-07-11 18:18:45 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-07-11 18:26:24 +0200 |
commit | 12f5b505af3a28ec59f1e253544502367564afe8 (patch) | |
tree | 7bc47bc8f3ca6335e80be6e6a0f665aca373104a /tools/wixl/wix.vala | |
parent | 3d838b3c20ba8bdd18681452bc681d970d5777cd (diff) | |
download | msitools-12f5b505af3a28ec59f1e253544502367564afe8.tar.gz msitools-12f5b505af3a28ec59f1e253544502367564afe8.tar.xz msitools-12f5b505af3a28ec59f1e253544502367564afe8.zip |
wixl: Start basic MajorUpgrade element
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), }); } |