installer - Upgrading one product but not the other when both products have the same upgrade code -
installer - Upgrading one product but not the other when both products have the same upgrade code -
i have 2 products installed. have same version number , upgrade code, different product code. major upgrade on 1 of these products, upgrade exe created ends removing both products, , installing new one.
that beingness said, how can maintain 1 product installed when product has same upgrade code product upgrade?
the upgrade table first drives findrelatedproducts. findrelatedproducts uses info perform msi product searches. if places productcode of found in property specified actionproperty column
later, removeexistingproducts performs uninstall of productcodes found in actionproperty properties ( provided msidbupgradeattributesonlydetect not set ).
so trick out of sticky situation author upgrade row cause findrelatedproducts not find either product. utilize custom action own searches , set properties needed ( 1 not other ). removeexistingproducts able perform major upgrade.
as side note: work around , not best practice. consider selection of upgradecodes, productcodes , productversion properties avoid situation in future.
installer installation windows-installer installshield uninstall
Comments
Post a Comment