aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer/wireguard.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'installer/wireguard.wxs')
-rw-r--r--installer/wireguard.wxs8
1 files changed, 8 insertions, 0 deletions
diff --git a/installer/wireguard.wxs b/installer/wireguard.wxs
index 492422dd..133e37c6 100644
--- a/installer/wireguard.wxs
+++ b/installer/wireguard.wxs
@@ -136,6 +136,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" />