aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer/wireguard.wxs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* global: bump dateJason A. Donenfeld2022-01-061-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: do not require KB2921916Jason A. Donenfeld2021-08-021-8/+0
| | | | | | In anticipation of upcoming wintun changes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: bump copyright dateJason A. Donenfeld2021-02-011-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: update headersJason A. Donenfeld2020-11-221-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: refactor custom actions to appear in chronological orderSimon Rozman2020-11-181-14/+14
| | | | | | ...in the source code. Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: ignore remove failuresSimon Rozman2020-11-181-1/+2
| | | | | | | | | | On upgrades from <=0.1.1 there's a short window, where new tunnel service may delete the Wintun 0.8 driver from the store, while 0.1.1 removal is about to do the same, and fails with "File not found". The computer ended up with the old WireGuard installed. Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: disable ROLLBACKJason A. Donenfeld2020-11-171-0/+1
| | | | | | This causes more problems than it solves. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: launch GUI before attempting a reinstallSimon Rozman2020-11-161-8/+8
| | | | | | | | | | | | | With the recently introduced wireguard-installer.exe an issue in MSI internal caching appeared. With the temporary MSI file used at install time gone, the MSI was unable to load our custom actions in the reinstall attempt. Rather than attempting to reinstall the product and fail, the MSI was upgraded to launch GUI early in the reinstall attempt and cancel the execute sequence then. Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: do not check for Wow64 and KB when removingJason A. Donenfeld2020-11-161-2/+2
| | | | | | We want removal to be as frictionless as possible. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: require KB2921916 on Windows 7Jason A. Donenfeld2020-11-161-0/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: prohibit Wow64 installsJason A. Donenfeld2020-11-161-0/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: clean-up adapters and Wintun driver on uninstallSimon Rozman2020-11-131-1/+17
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: updater: introduce ARM64 MSI packagesSimon Rozman2020-11-131-1/+3
| | | | | | Windows 10 ARM64 refuses to install ARM MSI. Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: enable ARM MSI buildingSimon Rozman2020-11-131-4/+6
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: move wg.exe to C:\Program Files\WireGuardSimon Rozman2020-11-131-11/+3
| | | | | | ...and append C:\Program Files\WireGuard to the path. Signed-off-by: Simon Rozman <simon@rozman.si>
* wintun: move to RCDATA resourceSimon Rozman2020-11-131-11/+0
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: make the two types of post-install execution mutually exclusiveJason A. Donenfeld2019-08-171-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: tame restart managerJason A. Donenfeld2019-08-171-0/+2
| | | | | | This prevents the dialog box from showing. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: kill leftover processes forciblyJason A. Donenfeld2019-08-171-0/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: hardcode %ProgramFiles%\WireGuard install folderSimon Rozman2019-08-161-20/+5
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: port custom actions from JScript to CSimon Rozman2019-08-091-3/+3
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: unify WIREGUARD_-specific WiX variablesSimon Rozman2019-08-071-8/+8
| | | | 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: unify XML empty-element spacingSimon Rozman2019-08-031-22/+22
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: disable rollbackJason A. Donenfeld2019-08-011-0/+1
| | | | | | It slows things down and doesn't help us all that much. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: remove sidtype compat codeJason A. Donenfeld2019-06-131-8/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: support building wg(8)Jason A. Donenfeld2019-06-071-0/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: set sidtype from customactionJason A. Donenfeld2019-05-221-0/+8
| | | | | | Otherwise they'll fail to come up when updating to 0.0.9. 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: 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-071-5/+10
| | | | 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>
* 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>
* installer: remove window flash and add loggingJason A. Donenfeld2019-05-011-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: stop/uninstall/start all WireGuard servicesJason A. Donenfeld2019-04-301-4/+11
| | | | | | | 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-291-1/+1
| | | | 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: Use more clever shortcut installation and dirtier upgradesJason A. Donenfeld2019-04-251-16/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: redesignSimon Rozman2019-04-241-0/+121
- 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>