diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-08-30 15:21:21 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-08-30 15:21:21 +0200 |
commit | 28b20acab0b33f3903b865144eab63103d1e0326 (patch) | |
tree | 30f647e58d8c37da650aa583b199e218f70f3bf7 /src/SetupDLL | |
parent | b5c7f628d8133b9f10235f973af041ebd8efa948 (diff) | |
download | VeraCrypt-28b20acab0b33f3903b865144eab63103d1e0326.tar.gz VeraCrypt-28b20acab0b33f3903b865144eab63103d1e0326.zip |
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.
Diffstat (limited to 'src/SetupDLL')
-rw-r--r-- | src/SetupDLL/Setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SetupDLL/Setup.c b/src/SetupDLL/Setup.c index 1c3782dd..e5c3337f 100644 --- a/src/SetupDLL/Setup.c +++ b/src/SetupDLL/Setup.c @@ -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 { |