aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer/wireguard.wxs
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-10 13:15:39 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-16 18:17:05 +0100
commit49b74832095330df9eef1988250f5ff280dd7ef1 (patch)
treec076e13095bef5597c9d201ea79ab4d728a18ff6 /installer/wireguard.wxs
parentinstaller: prohibit Wow64 installs (diff)
downloadwireguard-windows-49b74832095330df9eef1988250f5ff280dd7ef1.tar.xz
wireguard-windows-49b74832095330df9eef1988250f5ff280dd7ef1.zip
installer: require KB2921916 on Windows 7
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
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 e675954a..02f0dd54 100644
--- a/installer/wireguard.wxs
+++ b/installer/wireguard.wxs
@@ -100,6 +100,14 @@
</InstallExecuteSequence>
<!--
+ Abort early if running without KB2921916 on Windows 7
+ -->
+ <CustomAction Id="CheckKB2921916" BinaryKey="customactions.dll" DllEntry="CheckKB2921916" />
+ <InstallExecuteSequence>
+ <Custom Action="CheckKB2921916" After="CheckWow64" />
+ </InstallExecuteSequence>
+
+ <!--
Evaluate WireGuard services and populate ServiceControl table
-->
<CustomAction Id="EvaluateWireGuardServices" BinaryKey="customactions.dll" DllEntry="EvaluateWireGuardServices" />