From c99ba1a05efffd7c43edd87380bc1442942de7a9 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Fri, 8 Dec 2017 10:10:26 -0800 Subject: Support and test preprocessor variables without "var." prefix --- src/WixToolset.Core/ExtensibilityServices/PreprocessHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/WixToolset.Core/ExtensibilityServices/PreprocessHelper.cs') diff --git a/src/WixToolset.Core/ExtensibilityServices/PreprocessHelper.cs b/src/WixToolset.Core/ExtensibilityServices/PreprocessHelper.cs index 3b8011c4..bcbd6a67 100644 --- a/src/WixToolset.Core/ExtensibilityServices/PreprocessHelper.cs +++ b/src/WixToolset.Core/ExtensibilityServices/PreprocessHelper.cs @@ -86,7 +86,7 @@ namespace WixToolset.Core.ExtensibilityServices // the use of open and closed parens inside variable names. Example: $(env.ProgramFiles(x86)) should resolve. if (result == null) { - result = this.GetVariableValue(context, function, false); + result = this.GetVariableValue(context, function, true); } return result; @@ -403,7 +403,7 @@ namespace WixToolset.Core.ExtensibilityServices } else { - result = this.GetVariableValue(context, subString, false); + result = this.GetVariableValue(context, subString, true); } if (null == result) -- cgit v1.2.3-55-g6feb