VirtualBox

Changeset 107362 in vbox for trunk/src/VBox/Main/src-all/win


Ignore:
Timestamp:
Dec 18, 2024 3:40:40 PM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166400
Message:

Main,Installer/win: Removed VBoxProxyStubLegacy.dll since we no longer support Vista and older 64-bit windows hosts.

Location:
trunk/src/VBox/Main/src-all/win
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c

    r107098 r107362  
    9191 * Selects the proxy stub DLL based on 32-on-64-bit and host OS version.
    9292 *
    93  * The legacy DLL covers 64-bit pre Windows 7 versions of Windows. W2K3-amd64
    94  * has trouble parsing the result when MIDL /target NT51 or higher. Vista and
    95  * windows server 2008 seems to have trouble with newer IDL compilers.
     93 * Note! We used to have a separate version of the 64-bit DLL for pre-win7.
    9694 */
    9795#if ARCH_BITS == 64 || defined(VBOX_IN_32_ON_64_MAIN_API)
     
    10098# define VBPS_PROXY_STUB_FILE(a_fIs32On64) VBPS_PROXY_STUB_FILE_SUB()
    10199#endif
    102 #define VBPS_PROXY_STUB_FILE_SUB() \
    103     ( RT_MAKE_U64(((PKUSER_SHARED_DATA)MM_SHARED_USER_DATA_VA)->NtMinorVersion, \
    104                   ((PKUSER_SHARED_DATA)MM_SHARED_USER_DATA_VA)->NtMajorVersion) >= RT_MAKE_U64(1/*Lo*/,6/*Hi*/) \
    105       ? "VBoxProxyStub.dll" : "VBoxProxyStubLegacy.dll" )
     100#define VBPS_PROXY_STUB_FILE_SUB()         "VBoxProxyStub.dll"
    106101
    107102/** For use with AssertLogRel except a_Expr1 from assertions but not LogRel. */
  • TabularUnified trunk/src/VBox/Main/src-all/win/comregister.cmd

    r106061 r107362  
    113113
    114114REM
    115 REM Figure out the Windows version as the proxy stub requires 6.0 or later (at least for 64-bit).
    116 REM
    117 set WinVer=Version 4.0.1381
    118 set WinVerMajor=4
    119 set WinVerMinor=0
    120 set WinVerBuild=1381
    121 for /f "tokens=2 delims=[]" %%a in ('ver') do set WinVer=%%a
    122 for /f "tokens=2,3,4 delims=. " %%a in ("%WinVer%") do (
    123     set WinVerMajor=%%a
    124     set WinVerMinor=%%b
    125     set WinVerBuild=%%c
    126 )
    127 REM echo WinVerMajor=%WinVerMajor% WinVerMinor=%WinVerMinor% WinVerBuild=%WinVerBuild%  WinVer=%WinVer%
    128 
    129 REM
    130115REM Parse arguments.
    131116REM
     
    182167REM Unregister all first, then register them. The order matters here.
    183168:register_amd64
    184 if "%WinVerMajor%" == "5" goto register_amd64_legacy
    185 if not "%WinVerMajor%" == "6" goto register_amd64_not_legacy
    186 if not "%WinVerMinor%" == "0" goto register_amd64_not_legacy
    187 :register_amd64_legacy
    188 set s64BitProxyStub=VBoxProxyStubLegacy.dll
    189 goto register_amd64_begin
    190 :register_amd64_not_legacy
    191 set s64BitProxyStub=VBoxProxyStub.dll
    192 :register_amd64_begin
    193 echo s64BitProxyStub=%s64BitProxyStub%
    194169@echo on
    195170"%_VBOX_DIR%VBoxSVC.exe" /UnregServer
     
    197172%windir%\system32\regsvr32 /s /u "%_VBOX_DIR%VBoxC.dll"
    198173%windir%\syswow64\regsvr32 /s /u "%_VBOX_DIR%x86\VBoxClient-x86.dll"
    199 %windir%\system32\regsvr32 /s /u "%_VBOX_DIR%%s64BitProxyStub%"
     174%windir%\system32\regsvr32 /s /u "%_VBOX_DIR%VBoxProxyStub.dll"
    200175%windir%\syswow64\regsvr32 /s /u "%_VBOX_DIR%x86\VBoxProxyStub-x86.dll"
    201176if %fUninstallOnly% == 1 goto end
     
    205180%windir%\syswow64\regsvr32 /s    "%_VBOX_DIR%x86\VBoxClient-x86.dll"
    206181if %fNoProxy% == 1 goto end
    207 if exist "%_VBOX_DIR%%s64BitProxyStub%"         %windir%\system32\regsvr32 /s "%_VBOX_DIR%%s64BitProxyStub%"
     182if exist "%_VBOX_DIR%VBoxProxyStub.dll"         %windir%\system32\regsvr32 /s "%_VBOX_DIR%VBoxProxyStub.dll"
    208183if exist "%_VBOX_DIR%x86\VBoxProxyStub-x86.dll" %windir%\syswow64\regsvr32 /s "%_VBOX_DIR%x86\VBoxProxyStub-x86.dll"
    209184@echo off
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