Changeset 43895 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Nov 16, 2012 12:19:08 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi
r41432 r43895 701 701 ${If} $0 != "" 702 702 ${If} $0 != "VBoxGINA.dll" 703 DetailPrint "Found another already installed GINA module: $0" 703 704 MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON1 $(VBOX_COMPONENT_AUTOLOGON_WARN_3RDPARTY) /SD IDYES IDYES install 705 DetailPrint "Skipping GINA installation, keeping: $0" 704 706 goto skip 705 707 ${EndIf} … … 709 711 710 712 ; 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 ..." 713 718 !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxCredProv.dll" "$g_strSystemDir\VBoxCredProv.dll" "$INSTDIR" 714 719 WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers\{275D3BCC-22BB-4948-A7F6-3A3054EBA92B}" "" "VBoxCredProv" ; adding to (default) key … … 717 722 WriteRegStr HKCR "CLSID\{275D3BCC-22BB-4948-A7F6-3A3054EBA92B}\InprocServer32" "ThreadingModel" "Apartment" 718 723 ${Else} ; Use VBoxGINA on older Windows OSes (< Vista) 724 DetailPrint "Installing VirtualBox GINA ..." 719 725 !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxGINA.dll" "$g_strSystemDir\VBoxGINA.dll" "$INSTDIR" 720 726 WriteRegStr HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" "GinaDLL" "VBoxGINA.dll"
Note:
See TracChangeset
for help on using the changeset viewer.