diff options
author | Jacek Antonelli | 2008-08-15 23:45:37 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:37 -0500 |
commit | 31ba05810c641f14e8ab5da8ad2aaf527779f6c1 (patch) | |
tree | c4b8d635dfb657fa4cfee7c285f8cadbf24afa90 /linden/indra/newview/installers | |
parent | Second Life viewer sources 1.19.1.1 (diff) | |
download | meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.zip meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.gz meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.bz2 meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.xz |
Second Life viewer sources 1.19.1.2
Diffstat (limited to 'linden/indra/newview/installers')
-rw-r--r-- | linden/indra/newview/installers/windows/installer_template.nsi | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/linden/indra/newview/installers/windows/installer_template.nsi b/linden/indra/newview/installers/windows/installer_template.nsi index fa94a09..0566b7e 100644 --- a/linden/indra/newview/installers/windows/installer_template.nsi +++ b/linden/indra/newview/installers/windows/installer_template.nsi | |||
@@ -380,7 +380,7 @@ FunctionEnd | |||
380 | ;; | 380 | ;; |
381 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 381 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
382 | Function un.CheckIfAdministrator | 382 | Function un.CheckIfAdministrator |
383 | DetailPrint $(CheckAdministratorUnInstDP) | 383 | DetailPrint $(CheckAdministratorUnInstDP) |
384 | UserInfo::GetAccountType | 384 | UserInfo::GetAccountType |
385 | Pop $R0 | 385 | Pop $R0 |
386 | StrCmp $R0 "Admin" is_admin | 386 | StrCmp $R0 "Admin" is_admin |
@@ -583,6 +583,22 @@ Function un.CloseSecondLife | |||
583 | Return | 583 | Return |
584 | FunctionEnd | 584 | FunctionEnd |
585 | 585 | ||
586 | |||
587 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||
588 | ; | ||
589 | ; Delete the stored password for the current Windows user | ||
590 | ; DEV-10821 -- Unauthorised user can gain access to an SL account after a real user has uninstalled | ||
591 | ; | ||
592 | Function un.RemovePassword | ||
593 | |||
594 | DetailPrint "Removing Second Life password" | ||
595 | |||
596 | SetShellVarContext current | ||
597 | Delete "$APPDATA\SecondLife\user_settings\password.dat" | ||
598 | SetShellVarContext all | ||
599 | |||
600 | FunctionEnd | ||
601 | |||
586 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 602 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
587 | ;;; Delete the installed files | 603 | ;;; Delete the installed files |
588 | ;;; This deletes the uninstall executable, but it works | 604 | ;;; This deletes the uninstall executable, but it works |
@@ -682,6 +698,9 @@ Delete "$INSTDIR\Uninstall $INSTSHORTCUT.lnk" | |||
682 | Call un.DocumentsAndSettingsFolder | 698 | Call un.DocumentsAndSettingsFolder |
683 | !endif | 699 | !endif |
684 | 700 | ||
701 | ; remove stored password on uninstall | ||
702 | Call un.RemovePassword | ||
703 | |||
685 | Call un.ProgramFiles | 704 | Call un.ProgramFiles |
686 | 705 | ||
687 | SectionEnd ; end of uninstall section | 706 | SectionEnd ; end of uninstall section |