diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-10-05 23:56:27 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-10-05 23:56:27 -0600 |
commit | b9e3a703e8ab176dac0e22a74354e9627277c302 (patch) | |
tree | b03cc7a3ac2c11b0ff7f9b4f960a843ceea9594c /installer | |
parent | docs: add example for task scheduler (diff) | |
download | wireguard-windows-b9e3a703e8ab176dac0e22a74354e9627277c302.tar.xz wireguard-windows-b9e3a703e8ab176dac0e22a74354e9627277c302.zip |
driver: use new API
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'installer')
-rw-r--r-- | installer/customactions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/customactions.c b/installer/customactions.c index 7c6a528e..b16e9aa4 100644 --- a/installer/customactions.c +++ b/installer/customactions.c @@ -519,7 +519,7 @@ __declspec(dllexport) UINT __stdcall RemoveAdapters(MSIHANDLE installer) log_errorf(installer, LOG_LEVEL_WARN, GetLastError(), TEXT("SetHandleInformation failed")); goto cleanup_pipe_w; } - if (!CreateProcess(path, TEXT("wireguard /removealladapters"), NULL, NULL, TRUE, 0, NULL, NULL, &si, &pi)) { + if (!CreateProcess(path, TEXT("wireguard /removedriver"), NULL, NULL, TRUE, 0, NULL, NULL, &si, &pi)) { log_errorf(installer, LOG_LEVEL_WARN, GetLastError(), TEXT("Failed to create \"%1\" process"), path); goto cleanup_pipe_w; } |