summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-04-12 04:51:42 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-04-12 05:16:30 +0200
commit53866525b5c0388778ac973f35fec5111a8480e7 (patch)
tree4e1c9ac4ac29c79c8b2fb69c0038f64d63be079d /tools
parentd74e177d0b9bbdf3663ac0e53f6bd3f41832a720 (diff)
downloadmsitools-53866525b5c0388778ac973f35fec5111a8480e7.zip
msitools-53866525b5c0388778ac973f35fec5111a8480e7.tar.gz
msitools-53866525b5c0388778ac973f35fec5111a8480e7.tar.xz
wixl: add component Win64 attribute
Diffstat (limited to 'tools')
-rw-r--r--tools/wixl/builder.vala3
-rw-r--r--tools/wixl/wix.vala1
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/wixl/builder.vala b/tools/wixl/builder.vala
index 9084bcb..0be32b0 100644
--- a/tools/wixl/builder.vala
+++ b/tools/wixl/builder.vala
@@ -393,6 +393,9 @@ namespace Wixl {
else
uuid = get_uuid (comp.Guid);
+ if (parse_yesno (comp.Win64))
+ attr |= ComponentAttribute.64BIT;
+
db.table_component.add (comp.Id, uuid, parent.Id, attr,
comp.key != null ? comp.key.Id : null);
diff --git a/tools/wixl/wix.vala b/tools/wixl/wix.vala
index 200753c..52ec667 100644
--- a/tools/wixl/wix.vala
+++ b/tools/wixl/wix.vala
@@ -1003,6 +1003,7 @@ namespace Wixl {
}
public string Guid { get; set; }
+ public string Win64 { get; set; }
public WixKeyElement? key;
public List<WixFeature> in_feature;