Wndows: Fix error 1603 returned by MSI silent install when REBOOT=ReallySuppress specified and a reboot is required

In this case, installation was done by the customer action VC_CustomAction_DoChecks was returning the error ERROR_INSTALL_FAILURE (1603)nevertheless.
Now we return success code correctly.
This commit is contained in:
Mounir IDRASSI 2024-08-30 15:21:21 +02:00
parent b5c7f628d8
commit 28b20acab0
No known key found for this signature in database
GPG Key ID: FC1B00364B3FE937

View File

@ -3356,6 +3356,7 @@ EXTERN_C UINT STDAPICALLTYPE VC_CustomAction_DoChecks(MSIHANDLE hInstaller)
if (bDisableReboot)
{
MSILog(hInstaller, MSI_INFO_LEVEL, L"VC_CustomAction_DoChecks: reboot is required but it is disabled because \"REBOOT\" specifies ReallySuppress");
uiRet = ERROR_SUCCESS;
}
else
{