aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer (follow)
Commit message (Collapse)AuthorAgeFilesLines
* installer: make the two types of post-install execution mutually exclusiveJason A. Donenfeld2019-08-171-2/+2
|
* installer: tame restart managerJason A. Donenfeld2019-08-171-0/+2
| | | | This prevents the dialog box from showing.
* installer: kill leftover processes forciblyJason A. Donenfeld2019-08-173-2/+107
|
* installer: hardcode %ProgramFiles%\WireGuard install folderSimon Rozman2019-08-161-20/+5
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: clean up logicJason A. Donenfeld2019-08-122-247/+119
|
* 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-094-108/+419
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: unify WIREGUARD_-specific WiX variablesSimon Rozman2019-08-072-9/+9
| | | | 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: raise UI on MSI relaunch and add DO_NOT_LAUNCH overrideSimon Rozman2019-08-051-2/+9
| | | | | | | | | | Clicking on the MSI of an already installed WireGuard launches/raises WireGuard UI now. WireGuard UI launching can now also be disabled by invoking: `msiexec /i wireguard...msi DO_NOT_LAUNCH=1` Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: bump wintunJason A. Donenfeld2019-08-051-2/+2
|
* installer: unify XML empty-element spacingSimon Rozman2019-08-031-22/+22
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: bump wintunJason A. Donenfeld2019-08-021-2/+2
|
* installer: disable rollbackJason A. Donenfeld2019-08-011-0/+1
| | | | It slows things down and doesn't help us all that much.
* version: bumpJason A. Donenfeld2019-07-061-2/+2
|
* build: bump wintun and wg(8) versionsJason A. Donenfeld2019-07-041-2/+2
|
* installer: remove sidtype compat codeJason A. Donenfeld2019-06-132-25/+0
|
* installer: use wintun 0.2Jason A. Donenfeld2019-06-101-2/+2
|
* 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.
* build: support building wg(8)Jason A. Donenfeld2019-06-072-0/+13
|
* installer: do not wait for service to startJason A. Donenfeld2019-05-231-14/+17
|
* installer: set sidtype from customactionJason A. Donenfeld2019-05-222-0/+25
| | | | Otherwise they'll fail to come up when updating to 0.0.9.
* installer: quote tmpfileJason A. Donenfeld2019-05-201-1/+1
| | | | 8.3 is optional.
* installer: remove 0.0.4 386 fallbackJason A. Donenfeld2019-05-181-6/+0
|
* installer: add note to remove before julyJason A. Donenfeld2019-05-131-1/+1
|
* 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.
* installer: delete config file with custom actionJason A. Donenfeld2019-05-072-7/+20
|
* installer: fix tag styleJason A. Donenfeld2019-05-071-1/+1
|
* 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
|
* 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.
* version: dynamically get file versionJason A. Donenfeld2019-05-011-1/+1
|
* installer: remove window flash and add loggingJason A. Donenfeld2019-05-013-43/+94
|
* 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
|
* build: backport security attributes helper from 1.13Jason A. Donenfeld2019-04-281-2/+2
|
* installer: new checksums for working msmJason A. Donenfeld2019-04-261-2/+2
|
* 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
|
* build: remove alignment whitespaceJason A. Donenfeld2019-04-251-3/+3
| | | | Simon likes this, but I usually don't.
* 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
|