From c2bc01b47cca2a70ddeb2cc9e9b2e3b9906bb647 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Tue, 21 Jan 2020 19:12:53 -0500 Subject: Fix ServiceControl/@Wait translation. --- .../Bind/CreateOutputFromIRCommand.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/WixToolset.Core.WindowsInstaller/Bind') diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs index 16517e91..31d0b3a6 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs @@ -803,7 +803,10 @@ namespace WixToolset.Core.WindowsInstaller.Bind row[1] = tuple.Name; row[2] = events; row[3] = tuple.Arguments; - row[4] = tuple.Wait; + if (tuple.Wait.HasValue) + { + row[4] = tuple.Wait.Value ? 1 : 0; + } row[5] = tuple.ComponentRef; } -- cgit v1.2.3-55-g6feb