aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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: remove sidtype compat codeJason A. Donenfeld2019-06-132-25/+0
| | | | 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-072-0/+13
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: do not wait for service to startJason A. Donenfeld2019-05-231-14/+17
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: set sidtype from customactionJason A. Donenfeld2019-05-222-0/+25
| | | | | | Otherwise they'll fail to come up when updating to 0.0.9. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: quote tmpfileJason A. Donenfeld2019-05-201-1/+1
| | | | | | 8.3 is optional. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: remove 0.0.4 386 fallbackJason A. Donenfeld2019-05-181-6/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: add note to remove before julyJason A. Donenfeld2019-05-131-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: make UpgradeCode platform-specificSimon Rozman2019-05-121-2/+17
| | | | | | | | | | | Platform specific UpgradeCode(s) stop Group Policy Management Editor from offering x86 for amd64 or vice-versa upgrades. Note: The amd64 is keeping the original UpgradeCode, the x86 line got a new one. Nevertheless, the x86 MSI is authored as an upgrade of <v0.0.4 legacy/amd64 packages too. Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: smarter detection of SYSTEM profile folderSimon Rozman2019-05-081-1/+3
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* 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>
* installer: bump MSI database version to 4.0Simon Rozman2019-05-071-1/+1
| | | | | | | | | This resolves ICE66 warning regarding MSI 4.0 columns added to Shortcut table by WiX. Besides, Windows 7 has MSI 5.0 out of the box. Signed-off-by: Simon Rozman <simon@rozman.si>
* service: delay restart for one secondJason A. Donenfeld2019-05-071-1/+0
| | | | | | | | This prevents a thundering herd. Also, we can now use the restart manager in the MSI because our walk fork handles the right window messages. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: delete config file with custom actionJason A. Donenfeld2019-05-072-7/+20
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: fix tag styleJason A. Donenfeld2019-05-071-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: simplify tmpfile cleanupSimon Rozman2019-05-061-21/+18
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: use icons instead of unicode fontJason A. Donenfeld2019-05-021-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: allow same version upgradesJason A. Donenfeld2019-05-011-0/+1
| | | | | | | The alternative is that MSI installs two different versions, and that's not okay, and makes debugging harder. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: dynamically get file versionJason A. Donenfeld2019-05-011-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: remove window flash and add loggingJason A. Donenfeld2019-05-013-43/+94
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: stop/uninstall/start all WireGuard servicesJason A. Donenfeld2019-04-302-4/+52
| | | | | | | Also clean up quite a few things. Signed-off-by: Simon Rozman <simon@rozman.si> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* updater: add initial skeletonJason A. Donenfeld2019-04-292-4/+1
| | | | 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>
* build: extend to build x86 and amd64Simon Rozman2019-04-251-1/+1
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* 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-252-18/+10
| | | | 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-246-115/+193
| | | | | | | | | | | | - 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>
* service: use WireGuardTunnel$ prefixJason A. Donenfeld2019-04-051-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: add TODO nitsJason A. Donenfeld2019-04-031-1/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: overwrite old verison with same versionJason A. Donenfeld2019-03-131-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: bring to foreground using shellexec processJason A. Donenfeld2019-03-091-1/+1
| | | | | | | | The additional shell indirection causes the process calling SetForegroundWindow to have been a foreground window itself, so that it succeeds. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: add basic wix skeletonJason A. Donenfeld2019-03-092-0/+114
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>