summaryrefslogtreecommitdiff
path: root/tools/installer_ng/cleanup.bat
diff options
context:
space:
mode:
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