]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Add MSI custom action for reliable Windows 10 detection
authorSimon Rozman <simon@rozman.si>
Tue, 16 Oct 2018 10:26:26 +0000 (12:26 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 17 Jan 2019 16:25:23 +0000 (17:25 +0100)
commite2faae87b49379ce8bcffb2f0ae67b0671996f64
treefb59cf1003f75ad08cc7df72eaa05fc9449b72be
parentfc74ac1e82b6727454f12580d52cf8cf5d80e503
Add MSI custom action for reliable Windows 10 detection

This patch introduces a `FindSystemInfo()` MSI custom action to reliably
detect Windows 10. The MSI built-in properties for Windows version
detection depend on bootstrapper's manifest. We could provide our own
Windows 10 compatible EXE bootstrapper, but that would cover the
Windows 10 detection in the `InstallUISequence` only. The
`InstallExecuteSequence` is launched by msiexec.exe which we cannot
tamper with would still report `VersionNT` as Windows 8 (603).
Acked-by: Jon Kunkee <jkunkee@microsoft.com>
Message-Id: <20181016102627.18676-4-simon@rozman.si>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17763.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpnmsica/Makefile.am
src/openvpnmsica/openvpnmsica.c
src/openvpnmsica/openvpnmsica.h