diff --git a/win_installer/cppcheck.wxs b/win_installer/cppcheck.wxs
index d87c0f24d..4a4bbf89f 100644
--- a/win_installer/cppcheck.wxs
+++ b/win_installer/cppcheck.wxs
@@ -111,12 +111,12 @@
Property='OLDERVERSIONFOUND'
Minimum='0.0.0'
IncludeMinimum='yes'
- Maximum='$(var.ProductVersion)'
+ Maximum='$(var.ProductVersion).0'
IncludeMaximum='no' />
- OLDERVERSIONFOUND
+ OLDERVERSIONFOUND