diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-10-10 13:45:30 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-10-10 13:45:30 -0400 |
commit | 3fe27c61b85545d22188baf5050207f13f4985b2 (patch) | |
tree | dad13be5b359216289963236cd7fd5ce5508c793 | |
parent | cf7bc443b1a2229ea24cb1b2aa61c20f1ad65951 (diff) |
SH-2515 FIX - small tweaks to cleanup
-rwxr-xr-x | indra/newview/installers/windows/installer_template.nsi | 3 |
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
|