install - upgrade version using WIX -


i've made installer using wix toolset (3.10). i'd enable upgrades can't make work. every time run msi installs version. can't figure out what's wrong. can advise?

<product id="*"        name="$(var.productname)"        language="1033"        version="$(var.productversion)"        manufacturer="manufacturer"        upgradecode="upgrade_code"        > <package installerversion="200"          compressed="yes"          installscope="permachine" />  <majorupgrade schedule="afterinstallinitialize"               allowdowngrades="no"               allowsameversionupgrades="no"               downgradeerrormessage="a newer version of [productname] installed." /> <mediatemplate embedcab="yes" /> 

allowsameversionupgrades="yes" fix this. when test upgrades need either update version (one of first 3 parts) between installers or allow same version upgrades.

from wix website

when set no (the default), installing product same version , upgrade code (but different product code) allowed , treated msi 2 products. when set yes, wix sets msidbupgradeattributesversionmaxinclusive attribute, tells msi treat product same version major upgrade.

so install thinks these 2 installs separate things though share same upgrade code why 2 copies in add remove programs list.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -