diff --git a/installer/installer.vcxproj b/installer/installer.vcxproj
index c2f5468..3fc219a 100644
--- a/installer/installer.vcxproj
+++ b/installer/installer.vcxproj
@@ -105,6 +105,10 @@
+
+ 200
+ 500
+
..\$(WintunPlatform)\$(Configuration)\
..\$(WintunPlatform)\$(Configuration)\installer-intermediate\
@@ -116,7 +120,7 @@
x86
x64
arm64
- $(WixCandleFlags) -nologo -arch $(WixArch) -dWINTUN_PLATFORM=$(WintunPlatform) -dWINTUN_VERSION=$(WintunVersion) -sw1086
+ $(WixCandleFlags) -nologo -arch $(WixArch) -dWINTUN_PLATFORM=$(WintunPlatform) -dWINTUN_VERSION=$(WintunVersion) -dINSTALLER_VERSION_MIN=$(InstallerVersionMin) -sw1086
$(WixLightFlags) -nologo -b output_dir="$(OutDir.TrimEnd('\'))" -spdb -sw1076 -sw1079
$(OutDir)
wintun
diff --git a/installer/installer.wxs b/installer/installer.wxs
index f1706cf..fbb7c42 100644
--- a/installer/installer.wxs
+++ b/installer/installer.wxs
@@ -10,7 +10,7 @@
Id="c28309d9-1954-4f2d-a7d1-228850092460"
Description="Wintun Userspace Tunnel"
Manufacturer="WireGuard LLC"
- InstallerVersion="200"
+ InstallerVersion="$(var.INSTALLER_VERSION_MIN)"
InstallPrivileges="elevated"
InstallScope="perMachine"
ReadOnly="yes" />