summaryrefslogtreecommitdiff
path: root/tools/installer_ng/cleanup.bat
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-09-03 10:38:01 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-09-03 10:38:01 +0000
commit981c925ce5614ca231435c07e275fe249a9dc8e1 (patch)
tree9e892f989da2103a91372381bf9f0bab5a9c988c /tools/installer_ng/cleanup.bat
parent31eac592209aa65e99141ab36f7f3ca1fb1d5641 (diff)
- more optimized way of doing things
git-svn-id: http://svn.miranda-ng.org/main/trunk@5913 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/installer_ng/cleanup.bat')
-rw-r--r--tools/installer_ng/cleanup.bat23
1 files changed, 2 insertions, 21 deletions
diff --git a/tools/installer_ng/cleanup.bat b/tools/installer_ng/cleanup.bat
index 953c401ea6..07b0abd582 100644
--- a/tools/installer_ng/cleanup.bat
+++ b/tools/installer_ng/cleanup.bat
@@ -2,25 +2,6 @@
rem Cleanup
rd /S /Q tmp
rd /S /Q util
-del /F /S /Q vcredist*.exe
-
-pushd InnoNG_32\Files
-rd /S /Q Core
-rd /S /Q Icons
-rd /S /Q Plugins
-del /F /Q *.ini
-del /F /Q *.txt
-del /F /Q *.dll
-del /F /Q *.exe
-popd
-
-pushd InnoNG_64\Files
-rd /S /Q Core
-rd /S /Q Icons
-rd /S /Q Plugins
-del /F /Q *.ini
-del /F /Q *.txt
-del /F /Q *.dll
-del /F /Q *.exe
-popd
+for /D %%p in ("InnoNG_32\*.*") do rd "%%p" /s /q
+for /D %%p in ("InnoNG_64\*.*") do rd "%%p" /s /q
rem end \ No newline at end of file