diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-10 13:15:39 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-16 18:17:05 +0100 |
commit | 49b74832095330df9eef1988250f5ff280dd7ef1 (patch) | |
tree | c076e13095bef5597c9d201ea79ab4d728a18ff6 /installer/wireguard.wxs | |
parent | installer: prohibit Wow64 installs (diff) | |
download | wireguard-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.wxs | 8 |
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" /> |