diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-16 20:34:53 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-16 20:34:53 +0100 |
commit | db5fa5a2ed35f5a0ea35ff077eef0e14a444967c (patch) | |
tree | c2e5a75a05ffeb4ad3069f5de8ecc895b6671f7f /installer | |
parent | installer: launch GUI before attempting a reinstall (diff) | |
download | wireguard-windows-db5fa5a2ed35f5a0ea35ff077eef0e14a444967c.tar.xz wireguard-windows-db5fa5a2ed35f5a0ea35ff077eef0e14a444967c.zip |
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 <Jason@zx2c4.com>
Diffstat (limited to 'installer')
-rw-r--r-- | installer/fetcher/fetcher.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |