VirtualBox

Changeset 37046 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
May 12, 2011 10:16:29 AM (14 years ago)
Author:
vboxsync
Message:

Adjusted/added logging.

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

Legend:

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

    r37016 r37046  
    549549  ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" "GinaDLL"
    550550  ${If} $0 == "VBoxGINA.dll"
    551     DetailPrint "Found installed VBoxGINA"
     551    DetailPrint "Found already installed auto-logon support ..."
    552552    StrCpy $g_bWithAutoLogon "true"
    553553  ${EndIf}
     
    706706    ${If} $0 != "VBoxGINA.dll"
    707707      MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON1 $(VBOX_COMPONENT_AUTOLOGON_WARN_3RDPARTY) /SD IDYES IDYES install
    708       goto exit
     708      goto skip
    709709    ${EndIf}
    710710  ${EndIf}
     
    713713
    714714  ; Do we need VBoxCredProv or VBoxGINA?
    715   ${If}   $R0 == 'Vista'
     715  ${If}   $R0 == 'Vista' ; Use VBoxCredProv on newer Windows OSes (>= Vista)
    716716  ${OrIf} $R0 == '7'
    717717    !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxCredProv.dll" "$g_strSystemDir\VBoxCredProv.dll" "$INSTDIR"
     
    720720    WriteRegStr HKCR "CLSID\{275D3BCC-22BB-4948-A7F6-3A3054EBA92B}\InprocServer32" "" "VBoxCredProv.dll"    ; adding to (Default) key
    721721    WriteRegStr HKCR "CLSID\{275D3BCC-22BB-4948-A7F6-3A3054EBA92B}\InprocServer32" "ThreadingModel" "Apartment"
    722   ${Else}
     722  ${Else} ; Use VBoxGINA on older Windows OSes (< Vista)
    723723    !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxGINA.dll" "$g_strSystemDir\VBoxGINA.dll" "$INSTDIR"
    724724    WriteRegStr HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" "GinaDLL" "VBoxGINA.dll"
    725725  ${EndIf}
     726
     727skip:
     728
     729  ; Nothing to do here right now
    726730
    727731exit:
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsVista.nsh

    r35753 r37046  
    7070
    7171   ; Remove credential provider
     72   DetailPrint "Removing auto-logon support ..."
    7273   DeleteRegKey HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers\{275D3BCC-22BB-4948-A7F6-3A3054EBA92B}"
    7374   DeleteRegKey HKCR "CLSID\{275D3BCC-22BB-4948-A7F6-3A3054EBA92B}"
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh

    r35753 r37046  
    662662  Delete /REBOOTOK "$g_strSystemDir\VBoxService.exe"
    663663
    664   ; GINA
     664  ; VBoxGINA
    665665  Delete /REBOOTOK "$g_strSystemDir\VBoxGINA.dll"
    666666  ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" "GinaDLL"
    667667  ${If} $0 == "VBoxGINA.dll"
    668     DetailPrint "Removing GINA ..."
     668    DetailPrint "Removing auto-logon support ..."
    669669    DeleteRegValue HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" "GinaDLL"
    670670  ${EndIf}
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