aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer/wireguard.wxs
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-12 11:48:18 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-16 18:17:05 +0100
commite92bb742a4666517a4b586d6dda7d1de8425164c (patch)
tree63a5b97ab070efec419f6fd840e917128dee72b1 /installer/wireguard.wxs
parentbuild: make more robust to partial rebuilds (diff)
downloadwireguard-windows-e92bb742a4666517a4b586d6dda7d1de8425164c.tar.xz
wireguard-windows-e92bb742a4666517a4b586d6dda7d1de8425164c.zip
installer: prohibit Wow64 installs
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 8b18189f..e675954a 100644
--- a/installer/wireguard.wxs
+++ b/installer/wireguard.wxs
@@ -92,6 +92,14 @@
</Feature>
<!--
+ Abort early if running under Wow64
+ -->
+ <CustomAction Id="CheckWow64" BinaryKey="customactions.dll" DllEntry="CheckWow64" />
+ <InstallExecuteSequence>
+ <Custom Action="CheckWow64" After="FindRelatedProducts" />
+ </InstallExecuteSequence>
+
+ <!--
Evaluate WireGuard services and populate ServiceControl table
-->
<CustomAction Id="EvaluateWireGuardServices" BinaryKey="customactions.dll" DllEntry="EvaluateWireGuardServices" />