windows - WiX - Why do my components show as absent during major upgrade? -
i have wix installer i've inherited has autogenerated product code, fixed upgrade code, autogenerated component guids , force major upgrades. 1 of configuration files modified custom action @ install time , may later modified users. it's not marked neveroverwrite in existing (released) versions of installer.
i expected msi file versioning rules prevent modified file being replaced on upgrade, being replaced anyway. found entry initial installvalidate in install log:
msi (s) (7c:00) [12:18:07:604]: component: conf.xml; installed: absent; request: local; action: local
i assume root of problem because component (which has file keypath) there though it's showing absent.
later on, when removeexistingproducts scheduled component correctly detected old installer:
msi (s) (7c:74) [12:18:09:901]: component: conf.xml; installed: local; request: absent; action: absent
and removed. create custom action backup file , restore during upgrade seems hack when don't understand why it's not being detected in first place.
the file paths seem correct in both cases , understand component guid should generated same both installs too. there more logging can enable track down or missing obvious?
Comments
Post a Comment