blob: 26b1f59fd5d3825d38bcb823198c03a0d98ee32f (
plain)
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
|
@echo off
rem Get archives if needed
cls
:again
set /p answer=Do you want to create folder structure and download new components? (Y/N):
if /i "%answer:~,1%" EQU "Y" goto download
if /i "%answer:~,1%" EQU "N" goto chk32
echo Please type Y for Yes or N for No
goto again
:chk32
if not exist InnoNG_32 (goto error) else (goto chk64)
:chk64
if not exist InnoNG_64 (goto error) else (goto continue)
:error
echo Some of the components are missing, please run script again and agree to create folder structure and download new components!
pause
goto end
:download
echo Creating folders and downloading components!
call createstructure.bat
:continue
rem end
rem Make
cls
:again1
set /p answ=Do you want to compile the installers now? (Y/N):
if /i "%answ:~,1%" EQU "Y" goto compile
if /i "%answ:~,1%" EQU "N" goto moveahead
echo Please type Y for Yes or N for No
goto again1
:compile
echo Compiling!
call compile.bat
:moveahead
rem end
rem Cleanup
cls
:again2
set /p ans=Do you want to delete temp files and build folders? (Y/N):
if /i "%ans:~,1%" EQU "Y" goto cleanup
if /i "%ans:~,1%" EQU "N" goto end
echo Please type Y for Yes or N for No
goto again2
:cleanup
echo Running cleanup!
call cleanup.bat
:end
rem end
|