From 5925f914e4c8a41acbae5b347afea7b47da0f87c Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Fri, 24 Jul 2020 09:39:02 +0200 Subject: api: add support for WoW64 Some functions of SetupAPI only work when invoked from a native process. Registry and filesystem reflection makes them fail on WoW64. For WoW64 processes, a minimum set of rundll32 functions are provided. Signed-off-by: Simon Rozman --- installer/installer.vcxproj | 2 ++ installer/installer.wxs | 20 ++++++++++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) (limited to 'installer') diff --git a/installer/installer.vcxproj b/installer/installer.vcxproj index 3bbd5fd..582a1b1 100644 --- a/installer/installer.vcxproj +++ b/installer/installer.vcxproj @@ -122,6 +122,8 @@ arm64 $(WixCandleFlags) -nologo -arch $(WixArch) -dWINTUN_PLATFORM=$(WintunPlatform) -dWINTUN_VERSION=$(WintunVersion) -dINSTALLER_VERSION_MIN=$(InstallerVersionMin) -sw1086 $(WixLightFlags) -nologo -b output_dir="$(OutDir.TrimEnd('\'))" -spdb -sw1076 -sw1079 + $(WixLightFlags) -b output_dir_wow64="..\x86\$(Configuration)" + $(WixLightFlags) -b output_dir_wow64="..\arm\$(Configuration)" $(OutDir) wintun .msm diff --git a/installer/installer.wxs b/installer/installer.wxs index 281b397..b9f5c1a 100644 --- a/installer/installer.wxs +++ b/installer/installer.wxs @@ -5,11 +5,6 @@ Copyright (C) 2018-2019 WireGuard LLC. All Rights Reserved. --> - - - - - - + + + + + + + + + + + + + + -- cgit v1.2.3-59-g8ed1b