VirtualBox

Ignore:
Timestamp:
Dec 18, 2024 3:40:40 PM (5 weeks ago)
Author:
vboxsync
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.

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