forked from gitextensions/gitextensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakeInstallers.cmd
42 lines (31 loc) · 1005 Bytes
/
MakeInstallers.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
34
35
36
37
38
39
40
41
42
@echo off
call DownloadExternals.cmd
rem
rem Update this version number with every release
rem
setlocal
set version=2.49a1
set numericVersion=2.49.00
set normal=GitExtensions-%Version%-Setup.msi
set complete=GitExtensions-%Version%-SetupComplete.msi
set msbuild="%windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
set output=bin\Release\GitExtensions.msi
set project=Setup.wixproj
set build=%msbuild% %project% /t:Rebuild /p:Version=%version% /p:NumericVersion=%numericVersion% /p:Configuration=Release /nologo /v:m
echo Creating installers for Git Extensions %version%
echo.
echo Removing %normal%
del %normal% 2> nul
echo Removing %complete%
del %complete% 2> nul
echo.
echo Building %normal%
%build% /p:IncludeRequiredSoftware=0
IF ERRORLEVEL 1 EXIT /B 1
copy bin\Release\GitExtensions.msi %normal%
IF ERRORLEVEL 1 EXIT /B 1
echo Building %complete%
%build% /p:IncludeRequiredSoftware=1
IF ERRORLEVEL 1 EXIT /B 1
copy bin\Release\GitExtensions.msi %complete%
IF ERRORLEVEL 1 EXIT /B 1