[msitools] wixl: name Custom actions correctly



commit 4493f859d73d45b54f9861b558570dc8993e31e9
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date:   Thu Jan 24 23:43:29 2013 +0100

    wixl: name Custom actions correctly

 tools/wixl/builder.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tools/wixl/builder.vala b/tools/wixl/builder.vala
index 5db0f21..d30c7a2 100644
--- a/tools/wixl/builder.vala
+++ b/tools/wixl/builder.vala
@@ -687,6 +687,9 @@ namespace Wixl {
             var parent = action.parent as WixSequence;
             var table = db.tables.lookup (parent.name) as MsiTableSequence;
 
+            if (action.name == "Custom")
+                action.name = action.Action;
+
             var node = table.get_action (action.name);
             warn_if_fail (node.action == null);
             node.action = action;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]