diff options
Diffstat (limited to 'tools/installer_ng')
-rw-r--r-- | tools/installer_ng/cleanup.bat | 8 | ||||
-rw-r--r-- | tools/installer_ng/make.bat | 4 | ||||
-rw-r--r-- | tools/installer_ng/readme.txt | 4 |
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 |