wintun/driver
Simon Rozman a6fa9c1b67 project: add support for intermediate versioning
While the Wintun driver is typically released only at <major>.<minor>
milestones, the wintun.dll did see some intermediate releases.

To make MSI logic correctly decide to upgrade local wintun.dll file, the
version inscribed in wintun.dll file resources should increment in those
intermediate releases. MSI ignores file timestamps. One could use
REINSTALLMODE=emus Installer property to force copying wintun.dll when
its version doesn't change. But REINSTALLMODE applies to all files in
the MSI session and would be an additional requirement when authoring
MSI packages with wintun.dll.

Bumping only the final ZIP filename version is not sufficient.

Therefore, a <major>.<minor> or <major>.<minor>.<build> versioning is
introduced. Furthermore, we no longer distinguish between WintunVersion
and WintunVersionStr. All our releases used strictly numeric
<major>.<minor> notation, making WintunVersion and WintunVersionStr
always the same.

When the driver didn't change, just bump the version in wintun.proj and
run `msbuild wintun.proj /t:Zip` to rebuild the wintun.dll and make the
new ZIP file.

Signed-off-by: Simon Rozman <simon@rozman.si>
2021-03-19 11:52:11 +01:00
..
driver.vcxproj driver: use localtime in inf2cat 2020-12-02 15:03:48 +01:00
driver.vcxproj.filters driver: move to subfolder 2020-11-06 07:29:47 +01:00
undocumented.h global: bump copyright 2021-01-30 16:45:26 +01:00
wintun.c global: bump copyright 2021-01-30 16:45:26 +01:00
wintun.inf global: bump copyright 2021-01-30 16:45:26 +01:00
wintun.rc project: add support for intermediate versioning 2021-03-19 11:52:11 +01:00