summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2011-10-10 13:45:30 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2011-10-10 13:45:30 -0400
commit3fe27c61b85545d22188baf5050207f13f4985b2 (patch)
treedad13be5b359216289963236cd7fd5ce5508c793
parentcf7bc443b1a2229ea24cb1b2aa61c20f1ad65951 (diff)
SH-2515 FIX - small tweaks to cleanup
-rwxr-xr-xindra/newview/installers/windows/installer_template.nsi3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/installers/windows/installer_template.nsi b/indra/newview/installers/windows/installer_template.nsi
index bd1d06c31f..98cc8fa702 100755
--- a/indra/newview/installers/windows/installer_template.nsi
+++ b/indra/newview/installers/windows/installer_template.nsi
@@ -957,7 +957,8 @@ IfFileExists "$PROGRAMFILES\SecondLifeViewer2\uninst.exe" SLV2_FOUND SLV2_DONE
SLV2_FOUND:
ExecWait '"$PROGRAMFILES\SecondLifeViewer2\uninst.exe" /S _?=$PROGRAMFILES\SecondLifeViewer2'
-Delete "$PROGRAMFILES\SecondLifeViewer2\uninst.exe"
+Delete "$PROGRAMFILES\SecondLifeViewer2\uninst.exe" ; with _? option above, uninst.exe will be left behind.
+RMDir "$PROGRAMFILES\SecondLifeViewer2" ; will remove only if empty.
SLV2_DONE:
Call RestoreUserFiles