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 | 56ba147b51a24298c2ab914f34a7cadc2524b872 (patch) | |
tree | e356091c5f324f21655b97ca976667148e8d4ee0 /installer/wireguard.wxs | |
parent | installer: hardcode %ProgramFiles%\WireGuard install folder (diff) | |
download | wireguard-windows-56ba147b51a24298c2ab914f34a7cadc2524b872.tar.xz wireguard-windows-56ba147b51a24298c2ab914f34a7cadc2524b872.zip |
installer: kill leftover processes forcibly
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'installer/wireguard.wxs')
-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" /> |