diff options
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 | } |
