aboutsummaryrefslogtreecommitdiff
path: root/src/balutil
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-10-18 22:37:12 -0500
committerSean Hall <r.sean.hall@gmail.com>2020-10-24 20:17:06 -0500
commitc9d14eb51e4b8458fd5e2738fcc7d1c1129ad22e (patch)
tree4d0d29316adce60e5a568806b478fc3e4d88d134 /src/balutil
parentdcf13e60f0b165a8942e7e7d98f5f0702f7d1e84 (diff)
downloadwix-c9d14eb51e4b8458fd5e2738fcc7d1c1129ad22e.tar.gz
wix-c9d14eb51e4b8458fd5e2738fcc7d1c1129ad22e.tar.bz2
wix-c9d14eb51e4b8458fd5e2738fcc7d1c1129ad22e.zip
WIXFEAT:6210 Change data type of versions to strings.
Diffstat (limited to 'src/balutil')
-rw-r--r--src/balutil/BalBootstrapperEngine.cpp14
-rw-r--r--src/balutil/balutil.vcxproj8
-rw-r--r--src/balutil/inc/BalBaseBAFunctions.h12
-rw-r--r--src/balutil/inc/BalBaseBootstrapperApplication.h12
-rw-r--r--src/balutil/inc/BalBaseBootstrapperApplicationProc.h12
-rw-r--r--src/balutil/inc/IBootstrapperApplication.h12
-rw-r--r--src/balutil/inc/IBootstrapperEngine.h5
-rw-r--r--src/balutil/packages.config4
8 files changed, 41 insertions, 38 deletions
diff --git a/src/balutil/BalBootstrapperEngine.cpp b/src/balutil/BalBootstrapperEngine.cpp
index 6a0c66d6..b68ea7c2 100644
--- a/src/balutil/BalBootstrapperEngine.cpp
+++ b/src/balutil/BalBootstrapperEngine.cpp
@@ -133,26 +133,28 @@ public: // IBootstrapperEngine
133 133
134 virtual STDMETHODIMP GetVariableVersion( 134 virtual STDMETHODIMP GetVariableVersion(
135 __in_z LPCWSTR wzVariable, 135 __in_z LPCWSTR wzVariable,
136 __out DWORD64* pqwValue 136 __out_ecount_opt(*pcchValue) LPWSTR wzValue,
137 __inout DWORD* pcchValue
137 ) 138 )
138 { 139 {
139 HRESULT hr = S_OK; 140 HRESULT hr = S_OK;
140 BAENGINE_GETVARIABLEVERSION_ARGS args = { }; 141 BAENGINE_GETVARIABLEVERSION_ARGS args = { };
141 BAENGINE_GETVARIABLEVERSION_RESULTS results = { }; 142 BAENGINE_GETVARIABLEVERSION_RESULTS results = { };
142 143
143 ExitOnNull(pqwValue, hr, E_INVALIDARG, "pqwValue is required"); 144 ExitOnNull(pcchValue, hr, E_INVALIDARG, "pcchValue is required");
144 145
145 args.cbSize = sizeof(args); 146 args.cbSize = sizeof(args);
146 args.wzVariable = wzVariable; 147 args.wzVariable = wzVariable;
147 148
148 results.cbSize = sizeof(results); 149 results.cbSize = sizeof(results);
150 results.wzValue = wzValue;
151 results.cchValue = *pcchValue;
149 152
150 hr = m_pfnBAEngineProc(BOOTSTRAPPER_ENGINE_MESSAGE_GETVARIABLEVERSION, &args, &results, m_pvBAEngineProcContext); 153 hr = m_pfnBAEngineProc(BOOTSTRAPPER_ENGINE_MESSAGE_GETVARIABLEVERSION, &args, &results, m_pvBAEngineProcContext);
151 154
152 *pqwValue = results.qwValue; 155 *pcchValue = results.cchValue;
153 156
154 LExit: 157 LExit:
155 SecureZeroMemory(&results, sizeof(results));
156 return hr; 158 return hr;
157 } 159 }
158 160
@@ -410,7 +412,7 @@ public: // IBootstrapperEngine
410 412
411 virtual STDMETHODIMP SetVariableVersion( 413 virtual STDMETHODIMP SetVariableVersion(
412 __in_z LPCWSTR wzVariable, 414 __in_z LPCWSTR wzVariable,
413 __in DWORD64 qwValue 415 __in_z_opt LPCWSTR wzValue
414 ) 416 )
415 { 417 {
416 BAENGINE_SETVARIABLEVERSION_ARGS args = { }; 418 BAENGINE_SETVARIABLEVERSION_ARGS args = { };
@@ -418,7 +420,7 @@ public: // IBootstrapperEngine
418 420
419 args.cbSize = sizeof(args); 421 args.cbSize = sizeof(args);
420 args.wzVariable = wzVariable; 422 args.wzVariable = wzVariable;
421 args.qwValue = qwValue; 423 args.wzValue = wzValue;
422 424
423 results.cbSize = sizeof(results); 425 results.cbSize = sizeof(results);
424 426
diff --git a/src/balutil/balutil.vcxproj b/src/balutil/balutil.vcxproj
index 8697b5ab..7373040a 100644
--- a/src/balutil/balutil.vcxproj
+++ b/src/balutil/balutil.vcxproj
@@ -2,8 +2,8 @@
2<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> 2<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3 3
4<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 4<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
5 <Import Project="..\..\packages\WixToolset.BootstrapperCore.Native.4.0.33\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.33\build\WixToolset.BootstrapperCore.Native.props')" /> 5 <Import Project="..\..\packages\WixToolset.BootstrapperCore.Native.4.0.37\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.37\build\WixToolset.BootstrapperCore.Native.props')" />
6 <Import Project="..\..\packages\WixToolset.DUtil.4.0.51\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.51\build\WixToolset.DUtil.props')" /> 6 <Import Project="..\..\packages\WixToolset.DUtil.4.0.55\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.55\build\WixToolset.DUtil.props')" />
7 7
8 <ItemGroup Label="ProjectConfigurations"> 8 <ItemGroup Label="ProjectConfigurations">
9 <ProjectConfiguration Include="Debug|ARM64"> 9 <ProjectConfiguration Include="Debug|ARM64">
@@ -98,8 +98,8 @@
98 <PropertyGroup> 98 <PropertyGroup>
99 <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> 99 <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
100 </PropertyGroup> 100 </PropertyGroup>
101 <Error Condition="!Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.33\build\WixToolset.BootstrapperCore.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BootstrapperCore.Native.4.0.33\build\WixToolset.BootstrapperCore.Native.props'))" /> 101 <Error Condition="!Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.37\build\WixToolset.BootstrapperCore.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BootstrapperCore.Native.4.0.37\build\WixToolset.BootstrapperCore.Native.props'))" />
102 <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.51\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.51\build\WixToolset.DUtil.props'))" /> 102 <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.55\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.55\build\WixToolset.DUtil.props'))" />
103 <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets'))" /> 103 <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets'))" />
104 </Target> 104 </Target>
105</Project> 105</Project>
diff --git a/src/balutil/inc/BalBaseBAFunctions.h b/src/balutil/inc/BalBaseBAFunctions.h
index 4e095fb8..72edadd5 100644
--- a/src/balutil/inc/BalBaseBAFunctions.h
+++ b/src/balutil/inc/BalBaseBAFunctions.h
@@ -103,7 +103,7 @@ public: // IBootstrapperApplication
103 __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/, 103 __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
104 __in_z LPCWSTR /*wzBundleTag*/, 104 __in_z LPCWSTR /*wzBundleTag*/,
105 __in BOOL /*fPerMachine*/, 105 __in BOOL /*fPerMachine*/,
106 __in DWORD64 /*dw64Version*/, 106 __in LPCWSTR /*wzVersion*/,
107 __inout BOOL* /*pfCancel*/, 107 __inout BOOL* /*pfCancel*/,
108 __inout BOOL* /*pfIgnoreBundle*/ 108 __inout BOOL* /*pfIgnoreBundle*/
109 ) 109 )
@@ -123,7 +123,7 @@ public: // IBootstrapperApplication
123 virtual STDMETHODIMP OnDetectUpdate( 123 virtual STDMETHODIMP OnDetectUpdate(
124 __in_z LPCWSTR /*wzUpdateLocation*/, 124 __in_z LPCWSTR /*wzUpdateLocation*/,
125 __in DWORD64 /*dw64Size*/, 125 __in DWORD64 /*dw64Size*/,
126 __in DWORD64 /*dw64Version*/, 126 __in LPCWSTR /*wzVersion*/,
127 __in_z LPCWSTR /*wzTitle*/, 127 __in_z LPCWSTR /*wzTitle*/,
128 __in_z LPCWSTR /*wzSummary*/, 128 __in_z LPCWSTR /*wzSummary*/,
129 __in_z LPCWSTR /*wzContentType*/, 129 __in_z LPCWSTR /*wzContentType*/,
@@ -148,7 +148,7 @@ public: // IBootstrapperApplication
148 __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/, 148 __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
149 __in_z LPCWSTR /*wzBundleTag*/, 149 __in_z LPCWSTR /*wzBundleTag*/,
150 __in BOOL /*fPerMachine*/, 150 __in BOOL /*fPerMachine*/,
151 __in DWORD64 /*dw64Version*/, 151 __in LPCWSTR /*wzVersion*/,
152 __in BOOTSTRAPPER_RELATED_OPERATION /*operation*/, 152 __in BOOTSTRAPPER_RELATED_OPERATION /*operation*/,
153 __inout BOOL* /*pfCancel*/ 153 __inout BOOL* /*pfCancel*/
154 ) 154 )
@@ -167,7 +167,7 @@ public: // IBootstrapperApplication
167 virtual STDMETHODIMP OnDetectCompatibleMsiPackage( 167 virtual STDMETHODIMP OnDetectCompatibleMsiPackage(
168 __in_z LPCWSTR /*wzPackageId*/, 168 __in_z LPCWSTR /*wzPackageId*/,
169 __in_z LPCWSTR /*wzCompatiblePackageId*/, 169 __in_z LPCWSTR /*wzCompatiblePackageId*/,
170 __in DWORD64 /*dw64CompatiblePackageVersion*/, 170 __in LPCWSTR /*wzCompatiblePackageVersion*/,
171 __inout BOOL* /*pfCancel*/ 171 __inout BOOL* /*pfCancel*/
172 ) 172 )
173 { 173 {
@@ -179,7 +179,7 @@ public: // IBootstrapperApplication
179 __in_z LPCWSTR /*wzUpgradeCode*/, 179 __in_z LPCWSTR /*wzUpgradeCode*/,
180 __in_z LPCWSTR /*wzProductCode*/, 180 __in_z LPCWSTR /*wzProductCode*/,
181 __in BOOL /*fPerMachine*/, 181 __in BOOL /*fPerMachine*/,
182 __in DWORD64 /*dw64Version*/, 182 __in LPCWSTR /*wzVersion*/,
183 __in BOOTSTRAPPER_RELATED_OPERATION /*operation*/, 183 __in BOOTSTRAPPER_RELATED_OPERATION /*operation*/,
184 __inout BOOL* /*pfCancel*/ 184 __inout BOOL* /*pfCancel*/
185 ) 185 )
@@ -254,7 +254,7 @@ public: // IBootstrapperApplication
254 virtual STDMETHODIMP OnPlanCompatibleMsiPackageBegin( 254 virtual STDMETHODIMP OnPlanCompatibleMsiPackageBegin(
255 __in_z LPCWSTR /*wzPackageId*/, 255 __in_z LPCWSTR /*wzPackageId*/,
256 __in_z LPCWSTR /*wzCompatiblePackageId*/, 256 __in_z LPCWSTR /*wzCompatiblePackageId*/,
257 __in DWORD64 /*dw64CompatiblePackageVersion*/, 257 __in LPCWSTR /*wzCompatiblePackageVersion*/,
258 __in BOOTSTRAPPER_REQUEST_STATE /*recommendedState*/, 258 __in BOOTSTRAPPER_REQUEST_STATE /*recommendedState*/,
259 __inout BOOTSTRAPPER_REQUEST_STATE* /*pRequestedState*/, 259 __inout BOOTSTRAPPER_REQUEST_STATE* /*pRequestedState*/,
260 __inout BOOL* /*pfCancel*/ 260 __inout BOOL* /*pfCancel*/
diff --git a/src/balutil/inc/BalBaseBootstrapperApplication.h b/src/balutil/inc/BalBaseBootstrapperApplication.h
index 1d014419..612faf54 100644
--- a/src/balutil/inc/BalBaseBootstrapperApplication.h
+++ b/src/balutil/inc/BalBaseBootstrapperApplication.h
@@ -101,7 +101,7 @@ public: // IBootstrapperApplication
101 __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/, 101 __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
102 __in_z LPCWSTR /*wzBundleTag*/, 102 __in_z LPCWSTR /*wzBundleTag*/,
103 __in BOOL /*fPerMachine*/, 103 __in BOOL /*fPerMachine*/,
104 __in DWORD64 /*dw64Version*/, 104 __in LPCWSTR /*wzVersion*/,
105 __inout BOOL* pfCancel, 105 __inout BOOL* pfCancel,
106 __inout BOOL* /*pfIgnoreBundle*/ 106 __inout BOOL* /*pfIgnoreBundle*/
107 ) 107 )
@@ -123,7 +123,7 @@ public: // IBootstrapperApplication
123 virtual STDMETHODIMP OnDetectUpdate( 123 virtual STDMETHODIMP OnDetectUpdate(
124 __in_z LPCWSTR /*wzUpdateLocation*/, 124 __in_z LPCWSTR /*wzUpdateLocation*/,
125 __in DWORD64 /*dw64Size*/, 125 __in DWORD64 /*dw64Size*/,
126 __in DWORD64 /*dw64Version*/, 126 __in LPCWSTR /*wzVersion*/,
127 __in_z LPCWSTR /*wzTitle*/, 127 __in_z LPCWSTR /*wzTitle*/,
128 __in_z LPCWSTR /*wzSummary*/, 128 __in_z LPCWSTR /*wzSummary*/,
129 __in_z LPCWSTR /*wzContentType*/, 129 __in_z LPCWSTR /*wzContentType*/,
@@ -149,7 +149,7 @@ public: // IBootstrapperApplication
149 __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/, 149 __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/,
150 __in_z LPCWSTR /*wzBundleTag*/, 150 __in_z LPCWSTR /*wzBundleTag*/,
151 __in BOOL /*fPerMachine*/, 151 __in BOOL /*fPerMachine*/,
152 __in DWORD64 /*dw64Version*/, 152 __in LPCWSTR /*wzVersion*/,
153 __in BOOTSTRAPPER_RELATED_OPERATION /*operation*/, 153 __in BOOTSTRAPPER_RELATED_OPERATION /*operation*/,
154 __inout BOOL* pfCancel 154 __inout BOOL* pfCancel
155 ) 155 )
@@ -170,7 +170,7 @@ public: // IBootstrapperApplication
170 virtual STDMETHODIMP OnDetectCompatibleMsiPackage( 170 virtual STDMETHODIMP OnDetectCompatibleMsiPackage(
171 __in_z LPCWSTR /*wzPackageId*/, 171 __in_z LPCWSTR /*wzPackageId*/,
172 __in_z LPCWSTR /*wzCompatiblePackageId*/, 172 __in_z LPCWSTR /*wzCompatiblePackageId*/,
173 __in DWORD64 /*dw64CompatiblePackageVersion*/, 173 __in LPCWSTR /*wzCompatiblePackageVersion*/,
174 __inout BOOL* pfCancel 174 __inout BOOL* pfCancel
175 ) 175 )
176 { 176 {
@@ -183,7 +183,7 @@ public: // IBootstrapperApplication
183 __in_z LPCWSTR /*wzUpgradeCode*/, 183 __in_z LPCWSTR /*wzUpgradeCode*/,
184 __in_z LPCWSTR /*wzProductCode*/, 184 __in_z LPCWSTR /*wzProductCode*/,
185 __in BOOL /*fPerMachine*/, 185 __in BOOL /*fPerMachine*/,
186 __in DWORD64 /*dw64Version*/, 186 __in LPCWSTR /*wzVersion*/,
187 __in BOOTSTRAPPER_RELATED_OPERATION /*operation*/, 187 __in BOOTSTRAPPER_RELATED_OPERATION /*operation*/,
188 __inout BOOL* pfCancel 188 __inout BOOL* pfCancel
189 ) 189 )
@@ -264,7 +264,7 @@ public: // IBootstrapperApplication
264 virtual STDMETHODIMP OnPlanCompatibleMsiPackageBegin( 264 virtual STDMETHODIMP OnPlanCompatibleMsiPackageBegin(
265 __in_z LPCWSTR /*wzPackageId*/, 265 __in_z LPCWSTR /*wzPackageId*/,
266 __in_z LPCWSTR /*wzCompatiblePackageId*/, 266 __in_z LPCWSTR /*wzCompatiblePackageId*/,
267 __in DWORD64 /*dw64CompatiblePackageVersion*/, 267 __in LPCWSTR /*wzCompatiblePackageVersion*/,
268 __in BOOTSTRAPPER_REQUEST_STATE /*recommendedState*/, 268 __in BOOTSTRAPPER_REQUEST_STATE /*recommendedState*/,
269 __inout BOOTSTRAPPER_REQUEST_STATE* /*pRequestedState*/, 269 __inout BOOTSTRAPPER_REQUEST_STATE* /*pRequestedState*/,
270 __inout BOOL* pfCancel 270 __inout BOOL* pfCancel
diff --git a/src/balutil/inc/BalBaseBootstrapperApplicationProc.h b/src/balutil/inc/BalBaseBootstrapperApplicationProc.h
index d25af1f7..7d5de8e4 100644
--- a/src/balutil/inc/BalBaseBootstrapperApplicationProc.h
+++ b/src/balutil/inc/BalBaseBootstrapperApplicationProc.h
@@ -78,7 +78,7 @@ static HRESULT BalBaseBAProcOnDetectForwardCompatibleBundle(
78 __inout BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_RESULTS* pResults 78 __inout BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_RESULTS* pResults
79 ) 79 )
80{ 80{
81 return pBA->OnDetectForwardCompatibleBundle(pArgs->wzBundleId, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->dw64Version, &pResults->fCancel, &pResults->fIgnoreBundle); 81 return pBA->OnDetectForwardCompatibleBundle(pArgs->wzBundleId, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->wzVersion, &pResults->fCancel, &pResults->fIgnoreBundle);
82} 82}
83 83
84static HRESULT BalBaseBAProcOnDetectUpdateBegin( 84static HRESULT BalBaseBAProcOnDetectUpdateBegin(
@@ -96,7 +96,7 @@ static HRESULT BalBaseBAProcOnDetectUpdate(
96 __inout BA_ONDETECTUPDATE_RESULTS* pResults 96 __inout BA_ONDETECTUPDATE_RESULTS* pResults
97 ) 97 )
98{ 98{
99 return pBA->OnDetectUpdate(pArgs->wzUpdateLocation, pArgs->dw64Size, pArgs->dw64Version, pArgs->wzTitle, pArgs->wzSummary, pArgs->wzContentType, pArgs->wzContent, &pResults->fCancel, &pResults->fStopProcessingUpdates); 99 return pBA->OnDetectUpdate(pArgs->wzUpdateLocation, pArgs->dw64Size, pArgs->wzVersion, pArgs->wzTitle, pArgs->wzSummary, pArgs->wzContentType, pArgs->wzContent, &pResults->fCancel, &pResults->fStopProcessingUpdates);
100} 100}
101 101
102static HRESULT BalBaseBAProcOnDetectUpdateComplete( 102static HRESULT BalBaseBAProcOnDetectUpdateComplete(
@@ -114,7 +114,7 @@ static HRESULT BalBaseBAProcOnDetectRelatedBundle(
114 __inout BA_ONDETECTRELATEDBUNDLE_RESULTS* pResults 114 __inout BA_ONDETECTRELATEDBUNDLE_RESULTS* pResults
115 ) 115 )
116{ 116{
117 return pBA->OnDetectRelatedBundle(pArgs->wzBundleId, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->dw64Version, pArgs->operation, &pResults->fCancel); 117 return pBA->OnDetectRelatedBundle(pArgs->wzBundleId, pArgs->relationType, pArgs->wzBundleTag, pArgs->fPerMachine, pArgs->wzVersion, pArgs->operation, &pResults->fCancel);
118} 118}
119 119
120static HRESULT BalBaseBAProcOnDetectPackageBegin( 120static HRESULT BalBaseBAProcOnDetectPackageBegin(
@@ -132,7 +132,7 @@ static HRESULT BalBaseBAProcOnDetectCompatiblePackage(
132 __inout BA_ONDETECTCOMPATIBLEMSIPACKAGE_RESULTS* pResults 132 __inout BA_ONDETECTCOMPATIBLEMSIPACKAGE_RESULTS* pResults
133 ) 133 )
134{ 134{
135 return pBA->OnDetectCompatibleMsiPackage(pArgs->wzPackageId, pArgs->wzCompatiblePackageId, pArgs->dw64CompatiblePackageVersion, &pResults->fCancel); 135 return pBA->OnDetectCompatibleMsiPackage(pArgs->wzPackageId, pArgs->wzCompatiblePackageId, pArgs->wzCompatiblePackageVersion, &pResults->fCancel);
136} 136}
137 137
138static HRESULT BalBaseBAProcOnDetectRelatedMsiPackage( 138static HRESULT BalBaseBAProcOnDetectRelatedMsiPackage(
@@ -141,7 +141,7 @@ static HRESULT BalBaseBAProcOnDetectRelatedMsiPackage(
141 __inout BA_ONDETECTRELATEDMSIPACKAGE_RESULTS* pResults 141 __inout BA_ONDETECTRELATEDMSIPACKAGE_RESULTS* pResults
142 ) 142 )
143{ 143{
144 return pBA->OnDetectRelatedMsiPackage(pArgs->wzPackageId, pArgs->wzUpgradeCode, pArgs->wzProductCode, pArgs->fPerMachine, pArgs->dw64Version, pArgs->operation, &pResults->fCancel); 144 return pBA->OnDetectRelatedMsiPackage(pArgs->wzPackageId, pArgs->wzUpgradeCode, pArgs->wzProductCode, pArgs->fPerMachine, pArgs->wzVersion, pArgs->operation, &pResults->fCancel);
145} 145}
146 146
147static HRESULT BalBaseBAProcOnDetectTargetMsiPackage( 147static HRESULT BalBaseBAProcOnDetectTargetMsiPackage(
@@ -195,7 +195,7 @@ static HRESULT BalBaseBAProcOnPlanCompatibleMsiPackageBegin(
195 __inout BA_ONPLANCOMPATIBLEMSIPACKAGEBEGIN_RESULTS* pResults 195 __inout BA_ONPLANCOMPATIBLEMSIPACKAGEBEGIN_RESULTS* pResults
196 ) 196 )
197{ 197{
198 return pBA->OnPlanCompatibleMsiPackageBegin(pArgs->wzPackageId, pArgs->wzCompatiblePackageId, pArgs->dw64CompatiblePackageVersion, pArgs->recommendedState, &pResults->requestedState, &pResults->fCancel); 198 return pBA->OnPlanCompatibleMsiPackageBegin(pArgs->wzPackageId, pArgs->wzCompatiblePackageId, pArgs->wzCompatiblePackageVersion, pArgs->recommendedState, &pResults->requestedState, &pResults->fCancel);
199} 199}
200 200
201static HRESULT BalBaseBAProcOnPlanCompatibleMsiPackageComplete( 201static HRESULT BalBaseBAProcOnPlanCompatibleMsiPackageComplete(
diff --git a/src/balutil/inc/IBootstrapperApplication.h b/src/balutil/inc/IBootstrapperApplication.h
index e17d2589..9cc19120 100644
--- a/src/balutil/inc/IBootstrapperApplication.h
+++ b/src/balutil/inc/IBootstrapperApplication.h
@@ -32,7 +32,7 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A
32 __in BOOTSTRAPPER_RELATION_TYPE relationType, 32 __in BOOTSTRAPPER_RELATION_TYPE relationType,
33 __in_z LPCWSTR wzBundleTag, 33 __in_z LPCWSTR wzBundleTag,
34 __in BOOL fPerMachine, 34 __in BOOL fPerMachine,
35 __in DWORD64 dw64Version, 35 __in_z LPCWSTR wzVersion,
36 __inout BOOL* pfCancel, 36 __inout BOOL* pfCancel,
37 __inout BOOL* pfIgnoreBundle 37 __inout BOOL* pfIgnoreBundle
38 ) = 0; 38 ) = 0;
@@ -48,7 +48,7 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A
48 STDMETHOD(OnDetectUpdate)( 48 STDMETHOD(OnDetectUpdate)(
49 __in_z_opt LPCWSTR wzUpdateLocation, 49 __in_z_opt LPCWSTR wzUpdateLocation,
50 __in DWORD64 dw64Size, 50 __in DWORD64 dw64Size,
51 __in DWORD64 dw64Version, 51 __in_z LPCWSTR wzVersion,
52 __in_z_opt LPCWSTR wzTitle, 52 __in_z_opt LPCWSTR wzTitle,
53 __in_z_opt LPCWSTR wzSummary, 53 __in_z_opt LPCWSTR wzSummary,
54 __in_z_opt LPCWSTR wzContentType, 54 __in_z_opt LPCWSTR wzContentType,
@@ -69,7 +69,7 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A
69 __in BOOTSTRAPPER_RELATION_TYPE relationType, 69 __in BOOTSTRAPPER_RELATION_TYPE relationType,
70 __in_z LPCWSTR wzBundleTag, 70 __in_z LPCWSTR wzBundleTag,
71 __in BOOL fPerMachine, 71 __in BOOL fPerMachine,
72 __in DWORD64 dw64Version, 72 __in_z LPCWSTR wzVersion,
73 __in BOOTSTRAPPER_RELATED_OPERATION operation, 73 __in BOOTSTRAPPER_RELATED_OPERATION operation,
74 __inout BOOL* pfCancel 74 __inout BOOL* pfCancel
75 ) = 0; 75 ) = 0;
@@ -84,7 +84,7 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A
84 STDMETHOD(OnDetectCompatibleMsiPackage)( 84 STDMETHOD(OnDetectCompatibleMsiPackage)(
85 __in_z LPCWSTR wzPackageId, 85 __in_z LPCWSTR wzPackageId,
86 __in_z LPCWSTR wzCompatiblePackageId, 86 __in_z LPCWSTR wzCompatiblePackageId,
87 __in DWORD64 dw64CompatiblePackageVersion, 87 __in_z LPCWSTR wzCompatiblePackageVersion,
88 __inout BOOL* pfCancel 88 __inout BOOL* pfCancel
89 ) = 0; 89 ) = 0;
90 90
@@ -94,7 +94,7 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A
94 __in_z LPCWSTR wzUpgradeCode, 94 __in_z LPCWSTR wzUpgradeCode,
95 __in_z LPCWSTR wzProductCode, 95 __in_z LPCWSTR wzProductCode,
96 __in BOOL fPerMachine, 96 __in BOOL fPerMachine,
97 __in DWORD64 dw64Version, 97 __in_z LPCWSTR wzVersion,
98 __in BOOTSTRAPPER_RELATED_OPERATION operation, 98 __in BOOTSTRAPPER_RELATED_OPERATION operation,
99 __inout BOOL* pfCancel 99 __inout BOOL* pfCancel
100 ) = 0; 100 ) = 0;
@@ -156,7 +156,7 @@ DECLARE_INTERFACE_IID_(IBootstrapperApplication, IUnknown, "53C31D56-49C0-426B-A
156 STDMETHOD(OnPlanCompatibleMsiPackageBegin)( 156 STDMETHOD(OnPlanCompatibleMsiPackageBegin)(
157 __in_z LPCWSTR wzPackageId, 157 __in_z LPCWSTR wzPackageId,
158 __in_z LPCWSTR wzCompatiblePackageId, 158 __in_z LPCWSTR wzCompatiblePackageId,
159 __in DWORD64 dw64CompatiblePackageVersion, 159 __in_z LPCWSTR wzCompatiblePackageVersion,
160 __in BOOTSTRAPPER_REQUEST_STATE recommendedState, 160 __in BOOTSTRAPPER_REQUEST_STATE recommendedState,
161 __inout BOOTSTRAPPER_REQUEST_STATE* pRequestedState, 161 __inout BOOTSTRAPPER_REQUEST_STATE* pRequestedState,
162 __inout BOOL* pfCancel 162 __inout BOOL* pfCancel
diff --git a/src/balutil/inc/IBootstrapperEngine.h b/src/balutil/inc/IBootstrapperEngine.h
index 3b648df1..cf055102 100644
--- a/src/balutil/inc/IBootstrapperEngine.h
+++ b/src/balutil/inc/IBootstrapperEngine.h
@@ -21,7 +21,8 @@ DECLARE_INTERFACE_IID_(IBootstrapperEngine, IUnknown, "6480D616-27A0-44D7-905B-8
21 21
22 STDMETHOD(GetVariableVersion)( 22 STDMETHOD(GetVariableVersion)(
23 __in_z LPCWSTR wzVariable, 23 __in_z LPCWSTR wzVariable,
24 __out DWORD64* pqwValue 24 __out_ecount_opt(*pcchValue) LPWSTR wzValue,
25 __inout DWORD* pcchValue
25 ) = 0; 26 ) = 0;
26 27
27 STDMETHOD(FormatString)( 28 STDMETHOD(FormatString)(
@@ -95,7 +96,7 @@ DECLARE_INTERFACE_IID_(IBootstrapperEngine, IUnknown, "6480D616-27A0-44D7-905B-8
95 96
96 STDMETHOD(SetVariableVersion)( 97 STDMETHOD(SetVariableVersion)(
97 __in_z LPCWSTR wzVariable, 98 __in_z LPCWSTR wzVariable,
98 __in DWORD64 qwValue 99 __in_z_opt LPCWSTR wzValue
99 ) = 0; 100 ) = 0;
100 101
101 STDMETHOD(CloseSplashScreen)() = 0; 102 STDMETHOD(CloseSplashScreen)() = 0;
diff --git a/src/balutil/packages.config b/src/balutil/packages.config
index 4db0b6a7..be1bf8e2 100644
--- a/src/balutil/packages.config
+++ b/src/balutil/packages.config
@@ -1,6 +1,6 @@
1<?xml version="1.0" encoding="utf-8"?> 1<?xml version="1.0" encoding="utf-8"?>
2<packages> 2<packages>
3 <package id="Nerdbank.GitVersioning" version="2.1.65" targetFramework="native" developmentDependency="true" /> 3 <package id="Nerdbank.GitVersioning" version="2.1.65" targetFramework="native" developmentDependency="true" />
4 <package id="WixToolset.BootstrapperCore.Native" version="4.0.33" targetFramework="native" /> 4 <package id="WixToolset.BootstrapperCore.Native" version="4.0.37" targetFramework="native" />
5 <package id="WixToolset.DUtil" version="4.0.51" targetFramework="native" /> 5 <package id="WixToolset.DUtil" version="4.0.55" targetFramework="native" />
6</packages> \ No newline at end of file 6</packages> \ No newline at end of file