summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/installer_ng/Common/GenerateInnoGuiCompatScript.bat6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/installer_ng/Common/GenerateInnoGuiCompatScript.bat b/tools/installer_ng/Common/GenerateInnoGuiCompatScript.bat
index 470e43cda6..09b1439f9d 100644
--- a/tools/installer_ng/Common/GenerateInnoGuiCompatScript.bat
+++ b/tools/installer_ng/Common/GenerateInnoGuiCompatScript.bat
@@ -1,4 +1,5 @@
@echo off
+if not exist MirandaNG.iss goto end
set GetVer=for /F "tokens=1,2,3 delims= " %%i in (build.no) do set MirVer=%%i.%%j.%%k
set BomRem=http://miranda-ng.org/distr/installer/bom_remove.exe
set BomAdd=http://miranda-ng.org/distr/installer/bom_add.exe
@@ -47,5 +48,6 @@ if %InnoX% == InnoNG_32 (
rem end
rem Delete bat file
-if exist MirandaNG.iss del "%~f0
-rem end \ No newline at end of file
+del "%~f0
+rem end
+:end \ No newline at end of file