aboutsummaryrefslogtreecommitdiff
path: root/src/ext
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2023-01-31 20:18:45 -0500
committerBob Arnson <github@bobs.org>2023-01-31 21:32:49 -0500
commitdd345b20e523ed42c5351c201668f395816a70a7 (patch)
tree22ab9a799f4e87ac01f5a609a2fbd391db4b4401 /src/ext
parent514b88e8acb68279640fed39b0e0b5d875acf3ae (diff)
downloadwix-dd345b20e523ed42c5351c201668f395816a70a7.tar.gz
wix-dd345b20e523ed42c5351c201668f395816a70a7.tar.bz2
wix-dd345b20e523ed42c5351c201668f395816a70a7.zip
As promised, remove CAQuietExec*.
Diffstat (limited to 'src/ext')
-rw-r--r--src/ext/Util/ca/qtexecca.cpp49
-rw-r--r--src/ext/Util/ca/utilca.def2
2 files changed, 0 insertions, 51 deletions
diff --git a/src/ext/Util/ca/qtexecca.cpp b/src/ext/Util/ca/qtexecca.cpp
index ddcc812f..df4e9a8d 100644
--- a/src/ext/Util/ca/qtexecca.cpp
+++ b/src/ext/Util/ca/qtexecca.cpp
@@ -174,55 +174,6 @@ LExit:
174 return hr; 174 return hr;
175} 175}
176 176
177// These two custom actions are deprecated, and should go away in wix v4.0. WixQuietExec replaces this one,
178// and is not intended to have any difference in behavior apart from CA name and property names.
179extern "C" UINT __stdcall CAQuietExec(
180 __in MSIHANDLE hInstall
181 )
182{
183 Assert(hInstall);
184 HRESULT hr = S_OK;
185 UINT er = ERROR_SUCCESS;
186
187 hr = WcaInitialize(hInstall, "CAQuietExec");
188 ExitOnFailure(hr, "Failed to initialize");
189
190 hr = ExecCommon(CAQUIET_ARGUMENTS_PROPERTY, CAQUIET_TIMEOUT_PROPERTY, TRUE, TRUE);
191 ExitOnFailure(hr, "Failed in ExecCommon method");
192
193LExit:
194 if (FAILED(hr))
195 {
196 er = ERROR_INSTALL_FAILURE;
197 }
198
199 return WcaFinalize(er);
200}
201
202// 2nd deprecated custom action name, superseded by WixQuietExec64
203extern "C" UINT __stdcall CAQuietExec64(
204 __in MSIHANDLE hInstall
205 )
206{
207 Assert(hInstall);
208 HRESULT hr = S_OK;
209 UINT er = ERROR_SUCCESS;
210
211 hr = WcaInitialize(hInstall, "CAQuietExec64");
212 ExitOnFailure(hr, "Failed to initialize");
213
214 hr = ExecCommon64(CAQUIET64_ARGUMENTS_PROPERTY, CAQUIET_TIMEOUT_PROPERTY, TRUE, TRUE);
215 ExitOnFailure(hr, "Failed in ExecCommon64 method");
216
217LExit:
218 if (FAILED(hr))
219 {
220 er = ERROR_INSTALL_FAILURE;
221 }
222
223 return WcaFinalize(er);
224}
225
226extern "C" UINT __stdcall WixQuietExec( 177extern "C" UINT __stdcall WixQuietExec(
227 __in MSIHANDLE hInstall 178 __in MSIHANDLE hInstall
228 ) 179 )
diff --git a/src/ext/Util/ca/utilca.def b/src/ext/Util/ca/utilca.def
index 3912ce56..96545566 100644
--- a/src/ext/Util/ca/utilca.def
+++ b/src/ext/Util/ca/utilca.def
@@ -28,8 +28,6 @@ EXPORTS
28 WixCreateInternetShortcuts 28 WixCreateInternetShortcuts
29 WixRollbackInternetShortcuts 29 WixRollbackInternetShortcuts
30; qtexecca.cpp 30; qtexecca.cpp
31 CAQuietExec
32 CAQuietExec64
33 WixQuietExec 31 WixQuietExec
34 WixQuietExec64 32 WixQuietExec64
35 WixSilentExec 33 WixSilentExec