diff options
author | Bob Arnson <bob@firegiant.com> | 2021-09-18 19:16:58 -0400 |
---|---|---|
committer | Bob Arnson <bob@firegiant.com> | 2021-09-18 19:16:58 -0400 |
commit | f958aeb8eea975ef76b72e73c0e40303b3a6b0d0 (patch) | |
tree | 17e36af44fb4bd0e58c8f39359b99650758030d6 /src/ext | |
parent | fe77e96629575d6cfc16f8a868f13af89c198d13 (diff) | |
download | wix-f958aeb8eea975ef76b72e73c0e40303b3a6b0d0.tar.gz wix-f958aeb8eea975ef76b72e73c0e40303b3a6b0d0.tar.bz2 wix-f958aeb8eea975ef76b72e73c0e40303b3a6b0d0.zip |
Bring Sean's fixes to `wix4`.
Diffstat (limited to 'src/ext')
-rw-r--r-- | src/ext/Util/ca/OsInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ext/Util/ca/OsInfo.cpp b/src/ext/Util/ca/OsInfo.cpp index 3f91a9e5..005407af 100644 --- a/src/ext/Util/ca/OsInfo.cpp +++ b/src/ext/Util/ca/OsInfo.cpp | |||
@@ -503,10 +503,10 @@ extern "C" UINT __stdcall WixQueryNativeMachine( | |||
503 | hr = WcaInitialize(hInstall, "WixQueryNativeMachine"); | 503 | hr = WcaInitialize(hInstall, "WixQueryNativeMachine"); |
504 | ExitOnFailure(hr, "WixQueryNativeMachine failed to initialize"); | 504 | ExitOnFailure(hr, "WixQueryNativeMachine failed to initialize"); |
505 | 505 | ||
506 | hr = ::ProcNativeMachine(::GetCurrentProcess(), &usNativeMachine); | 506 | hr = ProcNativeMachine(::GetCurrentProcess(), &usNativeMachine); |
507 | ExitOnFailure(hr, "Failed to get native machine value."); | 507 | ExitOnFailure(hr, "Failed to get native machine value."); |
508 | 508 | ||
509 | if (hr != S_FALSE) | 509 | if (S_FALSE != hr) |
510 | { | 510 | { |
511 | WcaSetIntProperty(L"WIX_NATIVE_MACHINE", usNativeMachine); | 511 | WcaSetIntProperty(L"WIX_NATIVE_MACHINE", usNativeMachine); |
512 | } | 512 | } |