VirtualBox

Changeset 75812 in vbox


Ignore:
Timestamp:
Nov 29, 2018 12:57:29 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
127015
Message:

Installer/win/VBoxStub: 32-bit hosts are no longer officially supported. Use 5.2.x if you still have one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/Stub/VBoxStub.cpp

    r73097 r75812  
    375375 * @param   pPackage            Pointer to a VBOXSTUBPKG struct that contains the resource.
    376376 * @param   pszTempFile         The full file path + name to extract the resource to.
    377  *
    378377 */
    379378static int Extract(const PVBOXSTUBPKG  pPackage,
     
    388387 *
    389388 * @returns TRUE if we're running on a 64-bit OS, FALSE if not.
    390  *
    391389 */
    392390static BOOL IsWow64(void)
    393391{
    394     BOOL bIsWow64 = TRUE;
     392    BOOL fIsWow64 = TRUE;
    395393    fnIsWow64Process = (LPFN_ISWOW64PROCESS)GetProcAddress(GetModuleHandle(TEXT("kernel32")), "IsWow64Process");
    396394    if (NULL != fnIsWow64Process)
    397395    {
    398         if (!fnIsWow64Process(GetCurrentProcess(), &bIsWow64))
     396        if (!fnIsWow64Process(GetCurrentProcess(), &fIsWow64))
    399397        {
    400398            /* Error in retrieving process type - assume that we're running on 32bit. */
     
    402400        }
    403401    }
    404     return bIsWow64;
     402    return fIsWow64;
    405403}
    406404
     
    412410 *
    413411 * @param   pPackage            Pointer to a VBOXSTUBPKG struct that contains the resource.
    414  *
    415412 */
    416413static bool PackageIsNeeded(PVBOXSTUBPKG pPackage)
     
    10871084    }
    10881085
     1086    /*
     1087     * 32-bit is not officially supported any more.
     1088     */
     1089    if (   !fExtractOnly
     1090        && !g_fSilent
     1091        && !IsWow64())
     1092    {
     1093        rcExit = ShowError("32-bit Windows hosts are not supported by this VirtualBox release.");
     1094        vrc = VERR_NOT_SUPPORTED;
     1095    }
     1096
    10891097    if (RT_SUCCESS(vrc))
    10901098    {
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette