Changeset 37046 in vbox
- Timestamp:
- May 12, 2011 10:16:29 AM (14 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Installer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi
r37016 r37046 549 549 ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" "GinaDLL" 550 550 ${If} $0 == "VBoxGINA.dll" 551 DetailPrint "Found installed VBoxGINA"551 DetailPrint "Found already installed auto-logon support ..." 552 552 StrCpy $g_bWithAutoLogon "true" 553 553 ${EndIf} … … 706 706 ${If} $0 != "VBoxGINA.dll" 707 707 MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON1 $(VBOX_COMPONENT_AUTOLOGON_WARN_3RDPARTY) /SD IDYES IDYES install 708 goto exit708 goto skip 709 709 ${EndIf} 710 710 ${EndIf} … … 713 713 714 714 ; Do we need VBoxCredProv or VBoxGINA? 715 ${If} $R0 == 'Vista' 715 ${If} $R0 == 'Vista' ; Use VBoxCredProv on newer Windows OSes (>= Vista) 716 716 ${OrIf} $R0 == '7' 717 717 !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxCredProv.dll" "$g_strSystemDir\VBoxCredProv.dll" "$INSTDIR" … … 720 720 WriteRegStr HKCR "CLSID\{275D3BCC-22BB-4948-A7F6-3A3054EBA92B}\InprocServer32" "" "VBoxCredProv.dll" ; adding to (Default) key 721 721 WriteRegStr HKCR "CLSID\{275D3BCC-22BB-4948-A7F6-3A3054EBA92B}\InprocServer32" "ThreadingModel" "Apartment" 722 ${Else} 722 ${Else} ; Use VBoxGINA on older Windows OSes (< Vista) 723 723 !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxGINA.dll" "$g_strSystemDir\VBoxGINA.dll" "$INSTDIR" 724 724 WriteRegStr HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" "GinaDLL" "VBoxGINA.dll" 725 725 ${EndIf} 726 727 skip: 728 729 ; Nothing to do here right now 726 730 727 731 exit: -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsVista.nsh
r35753 r37046 70 70 71 71 ; Remove credential provider 72 DetailPrint "Removing auto-logon support ..." 72 73 DeleteRegKey HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers\{275D3BCC-22BB-4948-A7F6-3A3054EBA92B}" 73 74 DeleteRegKey HKCR "CLSID\{275D3BCC-22BB-4948-A7F6-3A3054EBA92B}" -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh
r35753 r37046 662 662 Delete /REBOOTOK "$g_strSystemDir\VBoxService.exe" 663 663 664 ; GINA664 ; VBoxGINA 665 665 Delete /REBOOTOK "$g_strSystemDir\VBoxGINA.dll" 666 666 ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" "GinaDLL" 667 667 ${If} $0 == "VBoxGINA.dll" 668 DetailPrint "Removing GINA..."668 DetailPrint "Removing auto-logon support ..." 669 669 DeleteRegValue HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" "GinaDLL" 670 670 ${EndIf}
Note:
See TracChangeset
for help on using the changeset viewer.