From a80fa35e1dceacfeb362697c4e48f252272002c9 Mon Sep 17 00:00:00 2001 From: Dmitry Fleytman Date: Tue, 31 Mar 2015 11:13:18 +0300 Subject: [PATCH] UsbDkHelper: Fix debug traces for WoW64 operation Signed-off-by: Dmitry Fleytman --- UsbDkHelper/Installer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UsbDkHelper/Installer.cpp b/UsbDkHelper/Installer.cpp index 3ab4ab7..87b8423 100644 --- a/UsbDkHelper/Installer.cpp +++ b/UsbDkHelper/Installer.cpp @@ -279,7 +279,8 @@ void UsbDkInstaller::validatePlatform() { if (isWow64B()) { - throw UsbDkInstallerFailedException(TEXT("Running 32Bit package on 64Bit OS not supported.")); + throw UsbDkInstallerFailedException(TEXT("Running 32Bit package on 64Bit OS not supported."), + ERROR_EXE_MACHINE_TYPE_MISMATCH); } }