-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuildV7.cmd
33 lines (26 loc) · 1013 Bytes
/
buildV7.cmd
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
@echo off
rem Pass two parameters:
rem
rem Parameter 1: the SPF/SE 7.0 build number
rem Parameter 2: the AppVeyor build number
if X%1==X (
echo Parameter 1 is missing
exit 1
)
if X%2==X (
echo Parameter 2 is missing
exit 1
)
echo *****************************************************
echo *****************************************************
echo *****************************************************
echo *** Building installer for SPF/SE 7.0 Build %1 ***
echo *****************************************************
echo *****************************************************
echo *****************************************************
rem Installing from original MSI package
msiexec /i binaries\SPF-70-%1.msi /q /log SPF-70-%1.log
rem Sleep a little bit (10 seconds... installation of SPF/SE 7.0 is very fast)
timeout /t 10
rem Building the installer using InnoSetup
"C:\Program Files (x86)\Inno Setup 6\iscc.exe" spfse-70-%1.iss /DAppveyorBuildNumber=%2