aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-18 14:52:27 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-18 14:52:27 +0100
commitf5a81ec5b91919aad0b94f8fbc01b1dd35ab0764 (patch)
treeb1b9644e1439739fa2164ca7a15d43dd30b1fa21
parentversion: bump (diff)
downloadwireguard-windows-f5a81ec5b91919aad0b94f8fbc01b1dd35ab0764.tar.xz
wireguard-windows-f5a81ec5b91919aad0b94f8fbc01b1dd35ab0764.zip
installer: regard KB2921916 exits when prompted to be USEREXIT so fetcher doesn't mind
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--installer/customactions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/installer/customactions.c b/installer/customactions.c
index 2cb629c2..96bd4bed 100644
--- a/installer/customactions.c
+++ b/installer/customactions.c
@@ -292,6 +292,7 @@ __declspec(dllexport) UINT __stdcall CheckKB2921916(MSIHANDLE installer)
if (MsiProcessMessage(installer, INSTALLMESSAGE_USER | MB_ICONWARNING | MB_YESNO, record) == IDYES)
ShellExecute(GetForegroundWindow(), NULL, url, NULL, NULL, SW_SHOWNORMAL);
MsiCloseHandle(record);
+ ret = ERROR_INSTALL_USEREXIT;
out:
if (setupapi_bytes)