diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-09-06 18:25:54 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-09-06 18:25:54 +0000 |
commit | 11b8337874153765d32cf71240ac2fd0084f772b (patch) | |
tree | 5f909b8be138dcafcdaaa262386eb138515144ef /tools/installer_ng/Common | |
parent | e0f921a444b3c68ab39175f249367a7151726014 (diff) |
Installer: self destruction condition - better version
git-svn-id: http://svn.miranda-ng.org/main/trunk@5976 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/installer_ng/Common')
-rw-r--r-- | tools/installer_ng/Common/GenerateInnoGuiCompatScript.bat | 6 |
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 |