I am getting the following warning in Visual Studio:
ICE61: This product should remove only older versions of itself. The Maximum version is not less than the current product.
I have found this answer on StackOverflow, but I can't apply what it says, my code only has this:
<Product Id="*" Name="Product Name" Language="1033" Version="1.0.0.2" Manufacturer="Ace Software" UpgradeCode="d2562e98-94df-8938-ba21-0967b39ed389">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<MediaTemplate EmbedCab="yes" />
<InstallExecuteSequence>
<RemoveExistingProducts After="InstallFinalize" />
</InstallExecuteSequence>
<Property Id="PREVIOUSVERSIONSINSTALLED" Secure='yes' />
<Upgrade Id="d2562e98-94df-8938-ba21-0967b39ed389">
<UpgradeVersion Minimum="0.0.0.0"
IncludeMinimum="yes"
Maximum="100.100.100.100"
Property="PREVIOUSVERSIONSINSTALLED" />
</Upgrade>
<!-- other code ommited -->
</Product>
As you can see, I don't have a MajorUpgrade
element where I can set the AllowSameVersionUpgrades
to no
.
How do I get rid of the warning? I don't really want to supress it, but actually fix the issue.