From db5fa5a2ed35f5a0ea35ff077eef0e14a444967c Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 16 Nov 2020 20:34:53 +0100 Subject: fetcher: user exit is not a real error This is returned by our custom action's method to launch wireguard and abort. Signed-off-by: Jason A. Donenfeld --- installer/fetcher/fetcher.c | 1 + 1 file changed, 1 insertion(+) (limited to 'installer') diff --git a/installer/fetcher/fetcher.c b/installer/fetcher/fetcher.c index 806b0fc2..ad392068 100644 --- a/installer/fetcher/fetcher.c +++ b/installer/fetcher/fetcher.c @@ -172,6 +172,7 @@ static DWORD __stdcall download_thread(void *param) filehandle = INVALID_HANDLE_VALUE; ShowWindow(progress, SW_HIDE); ret = MsiInstallProductA(msi_filename, NULL); + ret = ret == ERROR_INSTALL_USEREXIT ? ERROR_SUCCESS : ret; out: if (request) -- cgit v1.2.3-59-g8ed1b