VirtualBox

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


Ignore:
Timestamp:
Nov 16, 2012 12:19:08 PM (12 years ago)
Author:
vboxsync
Message:

Windows Guest Additions: Added credential provider installation for Windows 8, extended logging.

File:
1 edited

Legend:

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

    r41432 r43895  
    701701  ${If} $0 != ""
    702702    ${If} $0 != "VBoxGINA.dll"
     703      DetailPrint "Found another already installed GINA module: $0"
    703704      MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON1 $(VBOX_COMPONENT_AUTOLOGON_WARN_3RDPARTY) /SD IDYES IDYES install
     705      DetailPrint "Skipping GINA installation, keeping: $0"
    704706      goto skip
    705707    ${EndIf}
     
    709711
    710712  ; Do we need VBoxCredProv or VBoxGINA?
    711   ${If}   $R0 == 'Vista' ; Use VBoxCredProv on newer Windows OSes (>= Vista)
    712   ${OrIf} $R0 == '7'
     713  ${If}   $R0 == 'Vista' ; Windows Vista.
     714  ${OrIf} $R0 == '7'     ; Windows 7.
     715  ${OrIf} $R0 == '8'     ; Windows 8.
     716    ; Use VBoxCredProv on Vista and up.
     717    DetailPrint "Installing VirtualBox credential provider ..."
    713718    !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxCredProv.dll" "$g_strSystemDir\VBoxCredProv.dll" "$INSTDIR"
    714719    WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers\{275D3BCC-22BB-4948-A7F6-3A3054EBA92B}" "" "VBoxCredProv" ; adding to (default) key
     
    717722    WriteRegStr HKCR "CLSID\{275D3BCC-22BB-4948-A7F6-3A3054EBA92B}\InprocServer32" "ThreadingModel" "Apartment"
    718723  ${Else} ; Use VBoxGINA on older Windows OSes (< Vista)
     724    DetailPrint "Installing VirtualBox GINA ..."
    719725    !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxGINA.dll" "$g_strSystemDir\VBoxGINA.dll" "$INSTDIR"
    720726    WriteRegStr HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" "GinaDLL" "VBoxGINA.dll"
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