aboutsummaryrefslogtreecommitdiffstats
path: root/msi-example/build.bat
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2020-05-05 15:47:17 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-10-30 16:50:58 +0100
commit826c9765234b43b710ba3be3db1095141b772c60 (patch)
treeec3f27202ad3b1c160577aaa25c4e1924356f10b /msi-example/build.bat
parentEnable ARM64 MSM building (diff)
downloadwintun-826c9765234b43b710ba3be3db1095141b772c60.tar.xz
wintun-826c9765234b43b710ba3be3db1095141b772c60.zip
msi-example: remove unused parameter in call :msi
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'msi-example/build.bat')
-rw-r--r--msi-example/build.bat6
1 files changed, 3 insertions, 3 deletions
diff --git a/msi-example/build.bat b/msi-example/build.bat
index cbf2570..fe3d3d9 100644
--- a/msi-example/build.bat
+++ b/msi-example/build.bat
@@ -28,8 +28,8 @@ if exist .deps\prepared goto :build
:build
set WIX=%BUILDDIR%.deps\wix\
- call :msi x86 i686 x86 || goto :error
- call :msi amd64 x86_64 x64 || goto :error
+ call :msi x86 x86 || goto :error
+ call :msi amd64 x64 || goto :error
if exist ..\sign.bat call ..\sign.bat
if "%SigningCertificate%"=="" goto :success
if "%TimestampServer%"=="" goto :success
@@ -50,7 +50,7 @@ if exist .deps\prepared goto :build
:msi
if not exist "%~1" mkdir "%~1"
echo [+] Compiling %1
- "%WIX%bin\candle" %WIX_CANDLE_FLAGS% -dEXAMPLETUN_PLATFORM="%~1" -out "%~1\exampletun.wixobj" -arch %3 exampletun.wxs || exit /b %errorlevel%
+ "%WIX%bin\candle" %WIX_CANDLE_FLAGS% -dEXAMPLETUN_PLATFORM="%~1" -out "%~1\exampletun.wixobj" -arch %2 exampletun.wxs || exit /b %errorlevel%
echo [+] Linking %1
"%WIX%bin\light" %WIX_LIGHT_FLAGS% -out "dist\exampletun-%~1.msi" "%~1\exampletun.wixobj" || exit /b %errorlevel%
goto :eof