From b7582318f6cb6e166f5ca22128caea2a97551a1f Mon Sep 17 00:00:00 2001 From: Nir Bar Date: Wed, 17 Mar 2021 14:45:03 -0500 Subject: Use wiutil to start/end msi transactions Release MSI transaction handles immediately contributes to #5386 --- src/engine/userexperience.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/engine/userexperience.cpp') diff --git a/src/engine/userexperience.cpp b/src/engine/userexperience.cpp index ad1529ea..5a225651 100644 --- a/src/engine/userexperience.cpp +++ b/src/engine/userexperience.cpp @@ -2117,16 +2117,6 @@ extern "C" int UserExperienceCheckExecuteResult( return nResult; } -extern "C" HRESULT UserExperienceInterpretResult( - __in BURN_USER_EXPERIENCE* /*pUserExperience*/, - __in DWORD dwAllowedResults, - __in int nResult - ) -{ - int nFilteredResult = FilterResult(dwAllowedResults, nResult); - return IDOK == nFilteredResult || IDNOACTION == nFilteredResult ? S_OK : IDCANCEL == nFilteredResult || IDABORT == nFilteredResult ? HRESULT_FROM_WIN32(ERROR_INSTALL_USEREXIT) : HRESULT_FROM_WIN32(ERROR_INSTALL_FAILURE); -} - extern "C" HRESULT UserExperienceInterpretExecuteResult( __in BURN_USER_EXPERIENCE* pUserExperience, __in BOOL fRollback, -- cgit v1.2.3-55-g6feb