VirtualBox

Changeset 70164 in vbox


Ignore:
Timestamp:
Dec 15, 2017 5:32:56 PM (7 years ago)
Author:
vboxsync
Message:

Additions: No more VBoxGuestNT.sys; NT uses the same driver build as the rest now.

Location:
trunk/src/VBox/Additions
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/Makefile.kmk

    r69111 r70164  
    9090ifeq ($(KBUILD_TARGET_ARCH),x86)
    9191DRIVER_FILES += \
    92         $(PATH_STAGE_BIN)/additions/VBoxMouseNT.sys \
    93         $(PATH_STAGE_BIN)/additions/VBoxGuestNT.sys
     92        $(PATH_STAGE_BIN)/additions/VBoxMouseNT.sys
    9493endif
    9594DRIVER_FILES += \
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh

    r69500 r70164  
    205205  FILE "$%PATH_OUT%\bin\additions\VBoxControl.exe"
    206206
    207 !if $%BUILD_TARGET_ARCH% == "x86"
    208   SetOutPath "$0\VBoxGuest\NT4"
    209   FILE "$%PATH_OUT%\bin\additions\VBoxGuestNT.sys"
    210 !endif
    211 
    212207  ; VBoxService
    213208  SetOutPath "$0\Bin"
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsNT4.nsh

    r69500 r70164  
    139139  FILE "$%PATH_OUT%\bin\additions\VBoxMouseNT.sys"
    140140  AccessControl::SetOnFile "$SYSDIR\drivers\VBoxMouseNT.sys" "(BU)" "GenericRead"
    141   FILE "$%PATH_OUT%\bin\additions\VBoxGuestNT.sys"
    142   AccessControl::SetOnFile "$SYSDIR\drivers\VBoxGuestNT.sys" "(BU)" "GenericRead"
     141  FILE "$%PATH_OUT%\bin\additions\VBoxGuest.sys"
     142  AccessControl::SetOnFile "$SYSDIR\drivers\VBoxGuest.sys" "(BU)" "GenericRead"
    143143  ;FILE "$%PATH_OUT%\bin\additions\VBoxSFNT.sys" ; Shared Folders not available on NT4!
    144144  ;AccessControl::SetOnFile "$SYSDIR\drivers\VBoxSFNT.sys" "(BU)" "GenericRead"
     
    151151
    152152  ; Install guest driver
    153   ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" service create $\"VBoxGuest$\" $\"VBoxGuest Support Driver$\" 1 1 $\"$SYSDIR\drivers\VBoxGuestNT.sys$\" $\"Base$\"" "false"
     153  ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" service create $\"VBoxGuest$\" $\"VBoxGuest Support Driver$\" 1 1 $\"$SYSDIR\drivers\VBoxGuest.sys$\" $\"Base$\"" "false"
    154154
    155155  ; Bugfix: Set "Start" to 1, otherwise, VBoxGuest won't start on boot-up!
    156156  ; Bugfix: Correct invalid "ImagePath" (\??\C:\WINNT\...)
    157157  WriteRegDWORD HKLM "SYSTEM\CurrentControlSet\Services\VBoxGuest" "Start" 1
    158   WriteRegStr HKLM "SYSTEM\CurrentControlSet\Services\VBoxGuest" "ImagePath" "\SystemRoot\System32\DRIVERS\VBoxGuestNT.sys"
     158  WriteRegStr HKLM "SYSTEM\CurrentControlSet\Services\VBoxGuest" "ImagePath" "\SystemRoot\System32\DRIVERS\VBoxGuest.sys"
    159159
    160160  ; Run VBoxTray when Windows NT starts
     
    235235  ; Remove the guest driver service
    236236  ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" service delete VBoxGuest" "true"
    237   Delete /REBOOTOK "$SYSDIR\drivers\VBoxGuestNT.sys"
     237  Delete /REBOOTOK "$SYSDIR\drivers\VBoxGuest.sys"
    238238
    239239  ; Delete the VBoxService service
  • trunk/src/VBox/Additions/common/VBoxGuest/win/VBoxGuestInst.cpp

    r69500 r70164  
    5656    char szDriver[MAX_PATH];
    5757    GetSystemDirectory(szDriver, sizeof(szDriver));
    58     strcat(szDriver, "\\drivers\\VBoxGuestNT.sys");
     58    strcat(szDriver, "\\drivers\\VBoxGuest.sys");
    5959
    6060    SC_HANDLE hService = CreateService(hSMgrCreate,
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo-win.cpp

    r69500 r70164  
    13661366#endif /* !RT_ARCH_AMD64 */
    13671367
     1368        { szDriversDir, "VBoxGuest.sys" },
    13681369#ifdef TARGET_NT4
    1369         { szDriversDir, "VBoxGuestNT.sys" },
    13701370        { szDriversDir, "VBoxMouseNT.sys" },
    13711371#else
    1372         { szDriversDir, "VBoxGuest.sys" },
    13731372        { szDriversDir, "VBoxMouse.sys" },
    13741373        { szDriversDir, "VBoxSF.sys"    },
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