aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer/build.bat (follow)
Commit message (Collapse)AuthorAgeFilesLines
* installer: bump wintunJason A. Donenfeld2019-10-071-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: update path to versionJason A. Donenfeld2019-09-011-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: kill leftover processes forciblyJason A. Donenfeld2019-08-171-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: clean up logicJason A. Donenfeld2019-08-121-2/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: fix batch file status returningSimon Rozman2019-08-121-4/+4
| | | | | | | | | | | | | Apparently, exit /b works only halfway in Windows 8 and later. The %errorlevel% is correct after batch exits, but && and || do not honor it. The `cmd /c exit` doesn't actually quit the batch processing, therefore it must be at the very end of the batch file. Even `goto :eof` resets the return status for && and ||. Source: https://www.computerhope.com/forum/index.php/topic,65815.msg920454.html#msg920454 Signed-off-by: Simon Rozman <simon@rozman.si>
* build: use setlocal to keep build environment localSimon Rozman2019-08-121-13/+8
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: port custom actions from JScript to CSimon Rozman2019-08-091-3/+13
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: unify WIREGUARD_-specific WiX variablesSimon Rozman2019-08-071-1/+1
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* build: support building from arbitrary folderSimon Rozman2019-08-071-4/+5
| | | | | | | | The :installdeps used .deps folder in the current working folder, while build failed expecting to find sources in the current working folder as well. Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: bump wintunJason A. Donenfeld2019-08-051-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: bump wintunJason A. Donenfeld2019-08-021-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bumpv0.0.17Jason A. Donenfeld2019-07-061-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump wintun and wg(8) versionsJason A. Donenfeld2019-07-041-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: use wintun 0.2Jason A. Donenfeld2019-06-101-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: remove .exe suffix from command invocationsJason A. Donenfeld2019-06-071-8/+9
| | | | | | And set pathext to .exe to be explicit. Also, we're not going to do sfx. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: support building wg(8)Jason A. Donenfeld2019-06-071-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: silence LGHT1056 warningSimon Rozman2019-05-081-0/+1
| | | | | | | | | | | | | | > warning LGHT1056 : The Property table contains a row with primary key(s) 'MsiHiddenProperties' which cannot be merged from the merge module '.deps\wintun-amd64.msm'. This is likely due to collision of rows with the same primary key(s) (but other different values in other columns) between the database and the merge module. The warning is caused by Wintun MSM and WireGuard MSI both using MsiHiddenProperties property. This property is used by WiX to hide internal data passed to deferred actions from being output to the log. Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: silence ICE61 warningSimon Rozman2019-05-081-1/+3
| | | | | | | | | | | | | | | > ICE61: This product should remove only older versions of itself. The Maximum version is not less than the current product. The warning is caused by <MajorUpgrade AllowSameVersionUpgrades="yes"... For the time being, this is our design choice. We're shipping WireGuard with three-field versions 0.0.x. AllowSameVersionUpgrades="yes" avoids manual configuration of update path in the brain-dead-two-field-version- comparison-only Group Policy, but requires that the MSI packages are added to GPO in correct order. Signed-off-by: Simon Rozman <simon@rozman.si>
* version: dynamically get file versionJason A. Donenfeld2019-05-011-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* updater: add initial skeletonJason A. Donenfeld2019-04-291-3/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: backport security attributes helper from 1.13Jason A. Donenfeld2019-04-281-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: new checksums for working msmJason A. Donenfeld2019-04-261-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: build: ignore ICE30 introduced with WHLK/EV Wintun switchingSimon Rozman2019-04-261-1/+1
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: build: curl doesnt set %errorlevel%Jason A. Donenfeld2019-04-251-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: remove alignment whitespaceJason A. Donenfeld2019-04-251-3/+3
| | | | | | Simon likes this, but I usually don't. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: unify dependency downloadingSimon Rozman2019-04-251-13/+11
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: prevent double quoting when substituting batch parametersSimon Rozman2019-04-251-2/+2
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: Use more clever shortcut installation and dirtier upgradesJason A. Donenfeld2019-04-251-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: hardcode to 0.0.1 for nowJason A. Donenfeld2019-04-251-0/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: improve signature and version situationJason A. Donenfeld2019-04-251-9/+11
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: redesignSimon Rozman2019-04-241-0/+63
- Switch from installer.wixproj to build.bat file eliminating MSBuild (Visual Studio) from the list of requirements and adding support for x86 packaging. - Reorganize .wxs in a bit more human-friendly way. Maybe. - Switch to Wintun MSMs - MSM files have to be manually injected in .deps folder until officially available. - Start menu shortcut implemented by the book. Signed-off-by: Simon Rozman <simon@rozman.si>