File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,13 +7,15 @@ set BUILDX86=
77set BUILDX64 =
88set BUILDDOC =
99set BUILDPX =
10+ set BUILDPACK =
1011
1112:CheckOpts
1213if " %~1 " EQU " -h" goto Help
1314if " %~1 " EQU " -x86" (set BUILDX86=1) && shift && goto CheckOpts
1415if " %~1 " EQU " -x64" (set BUILDX64=1) && shift && goto CheckOpts
1516if " %~1 " EQU " --doc" (set BUILDDOC=1) && shift && goto CheckOpts
1617if " %~1 " EQU " --test-marker" (set BUILDPX=1) && shift && goto CheckOpts
18+ if " %~1 " EQU " --pack" (set BUILDPACK=1) && shift && goto CheckOpts
1719
1820if not defined BUILDX86 if not defined BUILDX64 (set BUILDX86=1) && (set BUILDX64=1)
1921
@@ -41,6 +43,9 @@ set BUILD_CMD="%D%bundle\snapshot.wixproj"
4143if defined BUILDPX (
4244 set BUILD_CMD = %BUILD_CMD% /p:UseTestMarker=true
4345)
46+ if defined BUILDPACK (
47+ set BUILD_CMD = %BUILD_CMD% /p:Pack=true
48+ )
4449
4550if defined BUILDX86 (
4651 " %PCBUILD% win32\python.exe" " %D% get_wix.py"
@@ -56,9 +61,10 @@ if defined BUILDX64 (
5661exit /B 0
5762
5863:Help
59- echo build.bat [-x86] [-x64] [--doc] [-h] [--test-marker]
64+ echo build.bat [-x86] [-x64] [--doc] [-h] [--test-marker] [--pack]
6065echo .
6166echo -x86 Build x86 installers
6267echo -x64 Build x64 installers
6368echo --doc Build CHM documentation
6469echo --test-marker Build installers with 'x' markers
70+ echo --pack Embed core MSIs into installer
Original file line number Diff line number Diff line change 99 <Import Project =" ..\msi.props" />
1010
1111 <PropertyGroup >
12+ <DefineConstants Condition =" '$(Pack)' != 'true'" >
13+ $(DefineConstants);CompressMSI=no;
14+ </DefineConstants >
15+ <DefineConstants Condition =" '$(Pack)' == 'true'" >
16+ $(DefineConstants);CompressMSI=yes;
17+ </DefineConstants >
1218 <DefineConstants >
1319 $(DefineConstants);
14- CompressMSI=no;
1520 CompressPDB=no;
1621 CompressMSI_D=no;
1722 </DefineConstants >
You can’t perform that action at this time.
0 commit comments