aboutsummaryrefslogtreecommitdiffstats
path: root/installer/installer.wxs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* api: installer: switch from MSM to ZIP distributionSimon Rozman2020-10-301-71/+0
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* api: add support for WoW64Simon Rozman2020-10-301-6/+14
| | | | | | | | Some functions of SetupAPI only work when invoked from a native process. Registry and filesystem reflection makes them fail on WoW64. For WoW64 processes, a minimum set of rundll32 functions are provided. Signed-off-by: Simon Rozman <simon@rozman.si>
* api: add skeleton for wintun.dllSimon Rozman2020-10-301-0/+12
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: ARM64 requires msiexec version >=500Simon Rozman2020-10-301-1/+1
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* Reschedule EvaluateWintun between InstallInitialize and InstallFinalize0.8.1Simon Rozman2020-02-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | WireGuard is always doing so-called "minor" upgrade. This makes it enough to run EvaluateWintun only once - somewhere after CostFinalize. The component state we bind our driver install/remove logic to will be a singleton: either be installed, left alone, or uninstalled. One single action for install product session and RemoveExistingProducts session. Other applications using Wintun might use the so-called "major" upgrade. In this scenario the existing product is completely uninstalled first. Including Wintun. The EvaluateWintun was called only once and it determined that Wintun driver should be uninstalled. Since the MSI did not execute EvaluateWintun again when installing the new product later, the Wintun remained uninstalled. In the case of major upgrades, the Wintun requires two separate action logics: what to do with Wintun on uninstall of the old product, and what to do with it when new product is installed. Therefore, EvaluateWintun has been moved between InstallInitialize and InstallFinalize to have MSI execute it in install and uninstall sessions. Reported-by: Dmitry Smirnov <dmitry.smirnov@netprotect.com> Tested-by: Simon Rozman <simon@rozman.si> Signed-off-by: Simon Rozman <simon@rozman.si> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Use WiX directly rather than via WiX's MSBuildSimon Rozman2019-08-051-1/+1
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* Unify XML empty-element spacingSimon Rozman2019-08-051-9/+9
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* Rewrite installer logic in CJason A. Donenfeld2019-08-021-0/+51
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>