summaryrefslogtreecommitdiff
path: root/indra/newview/installers/windows/installer_template.nsi
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2016-04-29 19:32:20 +0300
committerandreykproductengine <akleshchev@productengine.com>2016-04-29 19:32:20 +0300
commit18a23811112f7a0d511852550b0aa7a3fe2a5897 (patch)
tree3e26bfa8e8094f66ac7f8df327cd113eedc9cdbd /indra/newview/installers/windows/installer_template.nsi
parenteae82c8e4794e2d8374dd8d70547b00c5ac4f300 (diff)
MAINT-6370 Second Life uninstall does not remove registry keys handling secondlife protocols
Diffstat (limited to 'indra/newview/installers/windows/installer_template.nsi')
-rwxr-xr-xindra/newview/installers/windows/installer_template.nsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/installers/windows/installer_template.nsi b/indra/newview/installers/windows/installer_template.nsi
index b8677fd9e4..89317f2793 100755
--- a/indra/newview/installers/windows/installer_template.nsi
+++ b/indra/newview/installers/windows/installer_template.nsi
@@ -648,6 +648,7 @@ Function un.ProgramFiles
%%DELETE_FILES%%
# Optional/obsolete files. Delete won't fail if they don't exist.
+Delete "$INSTDIR\autorun.bat"
Delete "$INSTDIR\dronesettings.ini"
Delete "$INSTDIR\message_template.msg"
Delete "$INSTDIR\newview.pdb"
@@ -679,6 +680,16 @@ FOLDERFOUND:
NOFOLDER:
+MessageBox MB_YESNO $(DeleteRegistryKeysMB) IDYES DeleteKeys IDNO NoDelete
+
+DeleteKeys:
+ DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Classes\x-grid-location-info"
+ DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Classes\secondlife"
+ DeleteRegKey HKEY_CLASSES_ROOT "x-grid-location-info"
+ DeleteRegKey HKEY_CLASSES_ROOT "secondlife"
+
+NoDelete:
+
FunctionEnd
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;