summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-09-04 05:52:59 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-09-04 05:52:59 +0000
commit136820b0b9eeb48fc83d330996241eb3ac7a5d9f (patch)
tree5a260c62f0e1ddbfea826d4127a673494b1b2afa /tools
parent29445fb3f1a1bd1026a4c74f59ad5de79dbba1b4 (diff)
-Installer: cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@5932 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools')
-rw-r--r--tools/installer_ng/cleanup.bat8
-rw-r--r--tools/installer_ng/make.bat4
-rw-r--r--tools/installer_ng/readme.txt4
3 files changed, 8 insertions, 8 deletions
diff --git a/tools/installer_ng/cleanup.bat b/tools/installer_ng/cleanup.bat
index 5e356fe0e9..4ae8ab619c 100644
--- a/tools/installer_ng/cleanup.bat
+++ b/tools/installer_ng/cleanup.bat
@@ -1,7 +1,7 @@
@echo off
rem Cleanup
-rd /S /Q tmp
-rd /S /Q util
-rd /S /Q InnoNG_32
-rd /S /Q InnoNG_64
+if exist tmp rd /S /Q tmp
+if exist util rd /S /Q util
+if exist InnoNG_32 rd /S /Q InnoNG_32
+if exist InnoNG_64 rd /S /Q InnoNG_64
rem end \ No newline at end of file
diff --git a/tools/installer_ng/make.bat b/tools/installer_ng/make.bat
index 6d29b75995..289c0d1089 100644
--- a/tools/installer_ng/make.bat
+++ b/tools/installer_ng/make.bat
@@ -64,4 +64,6 @@ if defined ProgramFiles(x86) (
"%ProgramFiles%\Inno Setup 5\ISCC.exe" /Dptx86 /O"Output" "InnoNG_32\MirandaNG.iss"
"%ProgramFiles%\Inno Setup 5\ISCC.exe" /O"Output" "InnoNG_64\MirandaNG.iss"
)
-rem end \ No newline at end of file
+rem end
+
+call cleanup.bat \ No newline at end of file
diff --git a/tools/installer_ng/readme.txt b/tools/installer_ng/readme.txt
index bcdda9b6a5..48af61b96c 100644
--- a/tools/installer_ng/readme.txt
+++ b/tools/installer_ng/readme.txt
@@ -7,6 +7,4 @@
3. Run make.bat
-4. Collect the compiled installer files from Output folder
-
-5. Run cleanup.bat if you want to delete all the temporary files \ No newline at end of file
+4. Collect the compiled installer files from Output folder \ No newline at end of file