This repository was archived by the owner on Mar 22, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathbuild.bat
More file actions
60 lines (49 loc) · 1.22 KB
/
build.bat
File metadata and controls
60 lines (49 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
@echo off
rem Inno Setup
rem Copyright (C) 1997-2020 Jordan Russell
rem Portions by Martijn Laan
rem For conditions of distribution and use, see LICENSE.TXT.
rem
rem Batch file to prepare an QuickStart Pack release
rem
rem Run Inno Setup's build.bat before using
rem
rem Calls setup-sign.bat if it exists, else creates setup.exe without signing
rem
rem This batch files does the following things:
rem -Compiling files: copy some base files to root and install IS into isfiles
rem -Create Inno Setup QuickStart Pack installer
rem
rem Once done the installer can be found in Output
setlocal
set VER=6.1.2
echo Building Inno Setup QuickStart Pack %VER%...
echo.
cd /d %~dp0
call .\compile.bat
if errorlevel 1 goto failed
echo Compiling files done
pause
echo - Setup.exe
if exist .\setup-sign.bat (
call .\setup-sign.bat
) else (
isfiles\iscc setup.iss
)
if errorlevel 1 goto failed
echo - Renaming files
cd output
if errorlevel 1 goto failed
move /y mysetup.exe innosetup-qsp-%VER%.exe
cd ..
if errorlevel 1 goto failed
echo Creating Inno Setup QuickStart Pack installer done
echo All done!
pause
goto exit
:failed
echo *** FAILED ***
cd ..
:failed2
exit /b 1
:exit