[msitools: 1/2] wixl: Support ASYNC for CustomAction.Return



commit f288d8d7a0c33aefad81a8ece6bf09c85a078506
Author: ShinyV <shinyv shadowv com>
Date:   Thu Mar 19 14:03:39 2020 +0000

    wixl: Support ASYNC for CustomAction.Return

 tools/wixl/builder.vala | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/tools/wixl/builder.vala b/tools/wixl/builder.vala
index 708cda5..63d3099 100644
--- a/tools/wixl/builder.vala
+++ b/tools/wixl/builder.vala
@@ -1083,6 +1083,12 @@ namespace Wixl {
 
             if (action.Return == "ignore")
                 type |= CustomActionType.CONTINUE;
+            else if (action.Return == "asyncWait")
+                type |= CustomActionType.ASYNC;
+            else if (action.Return == "asyncNoWait") {
+                type |= CustomActionType.CONTINUE;
+                type |= CustomActionType.ASYNC;
+            }
             if (action.Execute == "deferred")
                 type |= CustomActionType.IN_SCRIPT;
             if (!parse_yesno (action.Impersonate))


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