From 3aa4f95a7ac23567efbaebdae57007636e7f6058 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Mon, 25 May 2020 21:49:38 -0400 Subject: Support platform-specific CAs (including ARM64). --- src/ca/qtexecca.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ca/qtexecca.cpp') diff --git a/src/ca/qtexecca.cpp b/src/ca/qtexecca.cpp index 6acad0bb..ddcc812f 100644 --- a/src/ca/qtexecca.cpp +++ b/src/ca/qtexecca.cpp @@ -131,6 +131,7 @@ HRESULT ExecCommon64( HRESULT hr = S_OK; LPWSTR pwzCommand = NULL; DWORD dwTimeout = 0; +#ifndef _WIN64 BOOL fIsWow64Initialized = FALSE; BOOL fRedirected = FALSE; @@ -145,6 +146,7 @@ HRESULT ExecCommon64( hr = WcaDisableWow64FSRedirection(); ExitOnFailure(hr, "Failed to enable filesystem redirection."); fRedirected = TRUE; +#endif hr = BuildCommandLine(wzArgumentsProperty, &pwzCommand); ExitOnFailure(hr, "Failed to get Command Line"); @@ -157,6 +159,7 @@ HRESULT ExecCommon64( LExit: ReleaseStr(pwzCommand); +#ifndef _WIN64 if (fRedirected) { WcaRevertWow64FSRedirection(); @@ -166,6 +169,7 @@ LExit: { WcaFinalizeWow64(); } +#endif return hr; } -- cgit v1.2.3-55-g6feb