VirtualBox

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


Ignore:
Timestamp:
Jan 23, 2013 1:41:01 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
83288
Message:

VBoxGuestAdditions.nsi: Log if auto-logon support was installed previously.

File:
1 edited

Legend:

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

    r43895 r44335  
    542542
    543543  Push $0
     544  Push $1
    544545
    545546  DetailPrint "Checking for installed components ..."
     
    552553  ${If} $0 == "VBoxGINA.dll"
    553554    StrCpy $g_bWithAutoLogon "true"
    554   ${EndIf}
    555  
     555    StrCpy $1 "1"
     556  ${EndIf}
     557
    556558  ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers\{275D3BCC-22BB-4948-A7F6-3A3054EBA92B}" ""
    557559  ${If} $0 == "VBoxCredProv.dll"
    558     StrCpy $g_bWithAutoLogon "true" 
    559   ${EndIf}
    560  
     560    StrCpy $g_bWithAutoLogon "true"
     561    StrCpy $1 "1"
     562  ${EndIf}
     563
     564  ${If} $1 == "1"
     565    DetailPrint "Auto-logon support was not installed previously"
     566  ${EndIf}
     567
    561568  ${If} $g_bWithAutoLogon == "true"
    562569    DetailPrint "Found already installed auto-logon support ..."
    563570  ${EndIf}
    564571
     572  Pop $1
    565573  Pop $0
    566574
     
    820828    ${EndIf}
    821829  ${EndIf}
    822    
     830
    823831  ;
    824832  ; Save original DLLs (only if msd3d*.dll does not exist) ...
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette