visual studio - Wix MajorUpgrade will not detect last position of product version -


I am trying to configure my Wix Toolkit installer to handle upgrades for my Visual Studio app.

  & lt ;? XML version = "1.0" encoding = "UTF-8"? & Gt; & Lt ;? Defined ProductVersion = "5.0.0.115"? & Gt; & Lt ;? Defined ProductUpgradeCode = "9880b0b8-b3b1-4fa6-b65e-d4ecff430248"? & Gt; & Lt; Wix xmlns = "http://schemas.microsoft.com/wix/2006/wi" xmlns: util = "http://schemas.microsoft.com/wix/UtilExtension" & gt; & Lt; Product ID = "*" name = "My software" language = "1033" version = "$ (var.ProductVersion)" manufacturer = "My company" upgrade code = "$ (var.ProductUpgradeCode)" & gt; & Lt; Package ID = "*" InstallerWarsian = "200" Compact = "Yes" InstallScope = "permachine" Comments = "My Software Version 5 Installer" /> & Lt; MajorUpgrade Downgrade Errm Message = "[A new version of the product name is already installed." / & Gt; & Lt; MediaTemplate EmbedCab = "Yes" />  

The problem is that .115 does not really know with MajorUpgrad if version 5.0.0.110 is installed for example, 5.0.0.115 installer has been run, add programs It will list both 5.0.0.110 and 5.0.0.115 in order to remove / remove If I change the version 5.0.115.0, then everything works correctly.

How will this program work or is it a bug?

No issue with YX

This is a Windows installer designed only by Windows Installer:

  major.minor.build  

and any fourth field Is ignored. See the documentation for more details.


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -