diff --git a/win/packaging/extra.wxs.in b/win/packaging/extra.wxs.in
index 8b06ea1c24d..ae9b3d9f0a8 100644
--- a/win/packaging/extra.wxs.in
+++ b/win/packaging/extra.wxs.in
@@ -660,7 +660,7 @@
DATADIRERROR
- NOT Installed
+ NOT Installed AND OLDERVERSIONBEINGUPGRADED=""
INSTALLDIRERROR
SERVICENAME