aboutsummaryrefslogtreecommitdiff
path: root/src/balutil/balutil.cpp
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-08-01 10:20:31 -0600
committerSean Hall <r.sean.hall@gmail.com>2020-08-09 10:47:30 -0600
commita37013d41f0702cbdf2aee6dce95d26dafc069b4 (patch)
tree16cc67c99f5319279a32a07c1fd1b52dccd13867 /src/balutil/balutil.cpp
parent2ded319a01a9ec42b637a677813d394cd7eda6b9 (diff)
downloadwix-a37013d41f0702cbdf2aee6dce95d26dafc069b4.tar.gz
wix-a37013d41f0702cbdf2aee6dce95d26dafc069b4.tar.bz2
wix-a37013d41f0702cbdf2aee6dce95d26dafc069b4.zip
WIXFEAT:4763 Change "string" variable type to literal and add "formatted".
Diffstat (limited to 'src/balutil/balutil.cpp')
-rw-r--r--src/balutil/balutil.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/balutil/balutil.cpp b/src/balutil/balutil.cpp
index 7567752c..ebfaede4 100644
--- a/src/balutil/balutil.cpp
+++ b/src/balutil/balutil.cpp
@@ -225,7 +225,8 @@ LExit:
225 225
226DAPI_(HRESULT) BalSetStringVariable( 226DAPI_(HRESULT) BalSetStringVariable(
227 __in_z LPCWSTR wzVariable, 227 __in_z LPCWSTR wzVariable,
228 __in_z_opt LPCWSTR wzValue 228 __in_z_opt LPCWSTR wzValue,
229 __in BOOL fFormatted
229 ) 230 )
230{ 231{
231 HRESULT hr = S_OK; 232 HRESULT hr = S_OK;
@@ -236,7 +237,7 @@ DAPI_(HRESULT) BalSetStringVariable(
236 ExitOnRootFailure(hr, "BalInitialize() must be called first."); 237 ExitOnRootFailure(hr, "BalInitialize() must be called first.");
237 } 238 }
238 239
239 hr = vpEngine->SetVariableString(wzVariable, wzValue); 240 hr = vpEngine->SetVariableString(wzVariable, wzValue, fFormatted);
240 241
241LExit: 242LExit:
242 return hr; 243 return hr;