From d21eed76c48960707561c45c492c10a6a23c052e Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 31 Jul 2020 17:06:35 -0600 Subject: WIXFEAT:4763 Change "string" variable type to literal and add "formatted". --- src/engine/registration.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/engine/registration.cpp') diff --git a/src/engine/registration.cpp b/src/engine/registration.cpp index bbde92b3..eace62ce 100644 --- a/src/engine/registration.cpp +++ b/src/engine/registration.cpp @@ -426,14 +426,14 @@ extern "C" HRESULT RegistrationSetVariables( if (pRegistration->sczActiveParent && *pRegistration->sczActiveParent) { - hr = VariableSetString(pVariables, BURN_BUNDLE_ACTIVE_PARENT, pRegistration->sczActiveParent, TRUE); + hr = VariableSetString(pVariables, BURN_BUNDLE_ACTIVE_PARENT, pRegistration->sczActiveParent, TRUE, FALSE); ExitOnFailure(hr, "Failed to overwrite the bundle active parent built-in variable."); } - hr = VariableSetString(pVariables, BURN_BUNDLE_PROVIDER_KEY, pRegistration->sczProviderKey, TRUE); + hr = VariableSetString(pVariables, BURN_BUNDLE_PROVIDER_KEY, pRegistration->sczProviderKey, TRUE, FALSE); ExitOnFailure(hr, "Failed to overwrite the bundle provider key built-in variable."); - hr = VariableSetString(pVariables, BURN_BUNDLE_TAG, pRegistration->sczTag, TRUE); + hr = VariableSetString(pVariables, BURN_BUNDLE_TAG, pRegistration->sczTag, TRUE, FALSE); ExitOnFailure(hr, "Failed to overwrite the bundle tag built-in variable."); hr = VariableSetVersion(pVariables, BURN_BUNDLE_VERSION, pRegistration->qwVersion, TRUE); @@ -1129,7 +1129,7 @@ static HRESULT GetBundleManufacturer( hr = VariableGetString(pVariables, BURN_BUNDLE_MANUFACTURER, psczBundleManufacturer); if (E_NOTFOUND == hr) { - hr = VariableSetLiteralString(pVariables, BURN_BUNDLE_MANUFACTURER, pRegistration->sczPublisher, FALSE); + hr = VariableSetString(pVariables, BURN_BUNDLE_MANUFACTURER, pRegistration->sczPublisher, FALSE, FALSE); ExitOnFailure(hr, "Failed to set bundle manufacturer."); hr = StrAllocString(psczBundleManufacturer, pRegistration->sczPublisher, 0); @@ -1151,7 +1151,7 @@ static HRESULT GetBundleName( hr = VariableGetString(pVariables, BURN_BUNDLE_NAME, psczBundleName); if (E_NOTFOUND == hr) { - hr = VariableSetLiteralString(pVariables, BURN_BUNDLE_NAME, pRegistration->sczDisplayName, FALSE); + hr = VariableSetString(pVariables, BURN_BUNDLE_NAME, pRegistration->sczDisplayName, FALSE, FALSE); ExitOnFailure(hr, "Failed to set bundle name."); hr = StrAllocString(psczBundleName, pRegistration->sczDisplayName, 0); -- cgit v1.2.3-55-g6feb