diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-12 09:55:48 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-17 09:44:44 +0200 |
commit | 9171a9216763b2e0fac79068e7b3b8d7ad97c118 (patch) | |
tree | e356091c5f324f21655b97ca976667148e8d4ee0 /installer/wireguard.wxs | |
parent | installer: hardcode %ProgramFiles%\WireGuard install folder (diff) | |
download | wireguard-windows-9171a9216763b2e0fac79068e7b3b8d7ad97c118.tar.xz wireguard-windows-9171a9216763b2e0fac79068e7b3b8d7ad97c118.zip |
installer: kill leftover processes forcibly
Diffstat (limited to '')
-rw-r--r-- | installer/wireguard.wxs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/installer/wireguard.wxs b/installer/wireguard.wxs index 7d7a7b5a..1918f849 100644 --- a/installer/wireguard.wxs +++ b/installer/wireguard.wxs @@ -121,6 +121,14 @@ </InstallExecuteSequence> <!-- + Kill lingering processes + --> + <CustomAction Id="KillWireGuardProcesses" BinaryKey="customactions.dll" DllEntry="KillWireGuardProcesses" Execute="deferred" Impersonate="no" /> + <InstallExecuteSequence> + <Custom Action="KillWireGuardProcesses" After="StopServices" /> + </InstallExecuteSequence> + + <!-- Launch wireguard.exe after setup complete --> <CustomAction Id="LaunchApplication" HideTarget="yes" Impersonate="no" Execute="deferred" FileKey="wireguard.exe" ExeCommand="" Return="asyncNoWait" /> |