VirtualBox

Changeset 35678 in vbox for trunk


Ignore:
Timestamp:
Jan 24, 2011 2:42:36 PM (14 years ago)
Author:
vboxsync
Message:

Windows Guest Additions installer: Install guest driver first.

File:
1 edited

Legend:

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

    r35651 r35678  
    321321  AccessControl::GrantOnFile "$g_strSystemDir\VBoxHook.dll" "(BU)" "GenericRead"
    322322
    323   DetailPrint "Installing Drivers..."
     323  DetailPrint "Installing drivers ..."
    324324
    325325  Push $0 ; For fetching results
    326326
     327drv_guest:
     328
     329  StrCmp $g_bNoGuestDrv "true" drv_video
     330  DetailPrint "Installing guest driver ..."
     331  nsExec::ExecToLog '"$INSTDIR\VBoxDrvInst.exe" driver install "$INSTDIR\VBoxGuest.inf"'
     332  Pop $0 ; Ret value
     333  LogText "Guest driver result: $0"
     334  IntCmp $0 0 +1 error error  ; Check ret value (0=OK, 1=Error)
     335
    327336drv_video:
    328337
    329   StrCmp $g_bNoVideoDrv "true" drv_guest
     338  StrCmp $g_bNoVideoDrv "true" drv_mouse
    330339  SetOutPath "$INSTDIR"
    331340  ${If} $g_bWithWDDM == "true"
     
    339348  LogText "Video driver result: $0"
    340349  IntCmp $0 0 +1 error error ; Check ret value (0=OK, 1=Error)
    341 
    342 drv_guest:
    343 
    344   StrCmp $g_bNoGuestDrv "true" drv_mouse
    345   DetailPrint "Installing guest driver ..."
    346   nsExec::ExecToLog '"$INSTDIR\VBoxDrvInst.exe" driver install "$INSTDIR\VBoxGuest.inf"'
    347   Pop $0 ; Ret value
    348   LogText "Guest driver result: $0"
    349   IntCmp $0 0 +1 error error  ; Check ret value (0=OK, 1=Error)
    350350
    351351drv_mouse:
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