summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-09-06 12:13:50 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-09-06 12:13:50 +0000
commitfa5cd2c8246a24cbf336f3bb9827de75e9ccd55f (patch)
tree72041cc6ccf718f2a68d3268fc4f0bd06b4802f5 /tools
parentc9143d564da931212799d24f2711319062596970 (diff)
Installer: error handling
git-svn-id: http://svn.miranda-ng.org/main/trunk@5966 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools')
-rw-r--r--tools/installer_ng/compile.bat9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/installer_ng/compile.bat b/tools/installer_ng/compile.bat
index 2a0ba114c5..f0c03d0884 100644
--- a/tools/installer_ng/compile.bat
+++ b/tools/installer_ng/compile.bat
@@ -28,4 +28,13 @@ if defined ProgramFiles(x86) (
"%ProgramFiles%\%Compile32%
"%ProgramFiles%\%Compile64%
)
+rem end
+
+rem Error repotrt
+if errorlevel 1 goto compileerror
+goto end
+:compileerror
+cls && echo Something went wrong... Please run createstructure.bat and try again
+pause
+:end
rem end \ No newline at end of file