VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/SetupDLL/Setup.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2024-08-30 15:21:21 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2024-08-30 15:21:21 +0200
commit28b20acab0b33f3903b865144eab63103d1e0326 (patch)
tree30f647e58d8c37da650aa583b199e218f70f3bf7 /src/SetupDLL/Setup.c
parentb5c7f628d8133b9f10235f973af041ebd8efa948 (diff)
downloadVeraCrypt-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/Setup.c')
-rw-r--r--src/SetupDLL/Setup.c1
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
{