diff options
Diffstat (limited to 'tools/wixl/builder.vala')
-rw-r--r-- | tools/wixl/builder.vala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/wixl/builder.vala b/tools/wixl/builder.vala index 0231c60..4b100f9 100644 --- a/tools/wixl/builder.vala +++ b/tools/wixl/builder.vala @@ -701,6 +701,12 @@ namespace Wixl { var before = table.get_action (action.Before); before.add_dep (node); } + + if (action.children.length () > 0) { + return_if_fail (action.children.length () == 1); + var text = action.children.first ().data as WixText; + node.condition = text.Text; + } } public override void visit_progid (WixProgId progid) throws GLib.Error { |