diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-21 22:34:14 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-22 22:00:32 +0100 |
commit | 4a43d1ed9c9dfac07e65965445f6cb73011e636f (patch) | |
tree | b8db4a0e7dafb18ce66cc456b6d3b766f021b64a /installer | |
parent | installer: force modal if KB2921916 is missing (diff) | |
download | wireguard-windows-4a43d1ed9c9dfac07e65965445f6cb73011e636f.tar.xz wireguard-windows-4a43d1ed9c9dfac07e65965445f6cb73011e636f.zip |
installer: remove admin knobs in cleanup
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'installer')
-rw-r--r-- | installer/customactions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/installer/customactions.c b/installer/customactions.c index b514acf1..b92e9dad 100644 --- a/installer/customactions.c +++ b/installer/customactions.c @@ -568,6 +568,7 @@ __declspec(dllexport) UINT __stdcall RemoveConfigFolder(MSIHANDLE installer) if (!path[0] || !PathAppend(path, TEXT("Data"))) goto out; remove_directory_recursive(installer, path, 10); + RegDeleteKey(HKEY_LOCAL_MACHINE, TEXT("Software\\WireGuard")); // Assumes no WOW. out: if (is_com_initialized) CoUninitialize(); |