VirtualBox

Changeset 70175 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 15, 2017 11:38:43 PM (7 years ago)
Author:
vboxsync
Message:

NT4 can use VBoxService.exe, so drop VBoxServiceNT.exe.

Location:
trunk/src/VBox/Additions/WINNT/Installer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsCommon.nsh

    r70164 r70175  
    208208  SetOutPath "$0\Bin"
    209209  FILE "$%PATH_OUT%\bin\additions\VBoxService.exe"
    210 !if $%BUILD_TARGET_ARCH% == "x86"
    211   FILE "$%PATH_OUT%\bin\additions\VBoxServiceNT.exe"
    212 !endif
    213210
    214211  ; Shared Folders
     
    419416!endif
    420417
    421   ${If} $g_strWinVersion == "NT4"
    422     StrCpy $2 "VBoxServiceNT.exe"
    423   ${Else}
    424     StrCpy $2 "VBoxService.exe"
    425   ${EndIf}
     418  StrCpy $2 "VBoxService.exe"
    426419
    427420  ${nsProcess::FindProcess} $2 $0
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsNT4.nsh

    r70164 r70175  
    130130
    131131  ; VBoxService
    132   FILE "$%PATH_OUT%\bin\additions\VBoxServiceNT.exe"
    133   AccessControl::SetOnFile "$SYSDIR\VBoxServiceNT.exe" "(BU)" "GenericRead"
     132  FILE "$%PATH_OUT%\bin\additions\VBoxService.exe"
     133  AccessControl::SetOnFile "$SYSDIR\VBoxService.exe" "(BU)" "GenericRead"
    134134
    135135  ; The drivers into the "drivers" directory
     
    168168  ; Create the VBoxService service
    169169  ; No need to stop/remove the service here! Do this only on uninstallation!
    170   ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" service create $\"VBoxService$\" $\"VirtualBox Guest Additions Service$\" 16 2 $\"%SystemRoot%\system32\VBoxServiceNT.exe$\" $\"Base$\"" "false"
     170  ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" service create $\"VBoxService$\" $\"VirtualBox Guest Additions Service$\" 16 2 $\"%SystemRoot%\system32\VBoxService.exe$\" $\"Base$\"" "false"
    171171
    172172   ; Create the Shared Folders service ...
     
    241241  ${CmdExecute} "$\"$INSTDIR\VBoxDrvInst.exe$\" service delete VBoxService" "true"
    242242  DeleteRegValue HKLM "Software\Microsoft\Windows\CurrentVersion\Run" "VBoxService"
    243   Delete /REBOOTOK "$SYSDIR\VBoxServiceNT.exe"
     243  Delete /REBOOTOK "$SYSDIR\VBoxService.exe"
    244244
    245245  ; Delete the VBoxTray app
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