VirtualBox

Changeset 33970 in vbox


Ignore:
Timestamp:
Nov 11, 2010 10:48:24 AM (14 years ago)
Author:
vboxsync
Message:

Windows Guest Additions installer: Added command line switch "/no_vboxtray_exit" to prevent VBoxTray being shut down during a Guest Additions update.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi

    r33559 r33970  
    178178Var g_bIgnoreUnknownOpts    ; Cmd line: Ignore unknown options (don't display the help)
    179179Var g_bNoVBoxServiceExit    ; Cmd line: Do not quit VBoxService before updating - install on next reboot
     180Var g_bNoVBoxTrayExit       ; Cmd line: Do not quit VBoxTray before updating - install on next reboot
    180181Var g_bNoVideoDrv           ; Cmd line: Do not install the VBoxVideo driver
    181182Var g_bNoGuestDrv           ; Cmd line: Do not install the VBoxGuest driver
     
    273274      ${Case} '/no_vboxservice_exit' ; Not officially documented
    274275        StrCpy $g_bNoVBoxServiceExit "true"
     276        ${Break}
     277
     278      ${Case} '/no_vboxtray_exit' ; Not officially documented
     279        StrCpy $g_bNoVBoxTrayExit "true"
    275280        ${Break}
    276281
     
    994999  StrCpy $g_iSfOrder "0"
    9951000  StrCpy $g_bNoVBoxServiceExit "false"
     1001  StrCpy $g_bNoVBoxTrayExit "false"
    9961002  StrCpy $g_bNoVideoDrv "false"
    9971003  StrCpy $g_bNoGuestDrv "false"
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsNT4.nsh

    r33087 r33970  
    7979  ${EndIf}
    8080
    81   ; Stop / kill VBoxTray
    82   Call StopVBoxTray
     81  ${If} $g_bNoVBoxTrayExit == "false"
     82    ; Stop / kill VBoxTray
     83    Call StopVBoxTray
     84  ${EndIf}
    8385
    8486  ; Delete VBoxService from registry
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh

    r33087 r33970  
    138138  ${EndIf}
    139139
    140   ; Stop / kill VBoxTray
    141   Call StopVBoxTray
     140  ${If} $g_bNoVBoxTrayExit == "false"
     141    ; Stop / kill VBoxTray
     142    Call StopVBoxTray
     143  ${EndIf}
    142144
    143145  ; Delete VBoxService from registry
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