Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: always remove a previous version

$
0
0
I need to reinstall the version. I found a solution:
http://stackoverflow.com/questions/11732290/how-do-i-make-a-wix-msi-always-remove-a-previous-version

But I ran into a problem in Compiler.cs:1292 WixSharp.Compiler.ProcessUpgradeStrategy
1284                    if (project.MajorUpgradeStrategy.PreventDowngradingVersions != null)
1285                {
1286                    VersionRange versions = project.MajorUpgradeStrategy.PreventDowngradingVersions;
1287 
1288                    var upgradeVersion = upgradeElement.AddElement(
1289                        new XElement("UpgradeVersion",
1290                               new XAttribute("Minimum", ExpandVersion(versions.Minimum)),
1291                               new XAttribute("IncludeMinimum", versions.IncludeMinimum.ToYesNo()),
1292                               new XAttribute("OnlyDetect", "yes"),
1293                               new XAttribute("Property", "NEWPRODUCTFOUND")));
1294    
 
I need a "upgradeVersion" without attribute "OnlyDetect".
I wished to make it in the property for VersionRange.

Viewing all articles
Browse latest Browse all 1354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>