aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Mba.Core/Engine.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Mba.Core/Engine.cs')
-rw-r--r--src/WixToolset.Mba.Core/Engine.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Mba.Core/Engine.cs b/src/WixToolset.Mba.Core/Engine.cs
index 408278ed..2c544f29 100644
--- a/src/WixToolset.Mba.Core/Engine.cs
+++ b/src/WixToolset.Mba.Core/Engine.cs
@@ -79,7 +79,7 @@ namespace WixToolset.Mba.Core
79 IntPtr pValue = Marshal.SecureStringToCoTaskMemUnicode(value); 79 IntPtr pValue = Marshal.SecureStringToCoTaskMemUnicode(value);
80 try 80 try
81 { 81 {
82 this.engine.SetVariableString(name, pValue); 82 this.engine.SetVariableString(name, pValue, true);
83 } 83 }
84 finally 84 finally
85 { 85 {
@@ -115,7 +115,7 @@ namespace WixToolset.Mba.Core
115 IntPtr pValue = Marshal.StringToCoTaskMemUni(value); 115 IntPtr pValue = Marshal.StringToCoTaskMemUni(value);
116 try 116 try
117 { 117 {
118 this.engine.SetVariableString(name, pValue); 118 this.engine.SetVariableString(name, pValue, true);
119 } 119 }
120 finally 120 finally
121 { 121 {