Upgrade of package deletes some necessary EXE and DLL files (MSI FACTORY)
I've built a complex installer via Msi factory 2, which uses some开发者_Go百科 merge modules. The problem is, after I try to "Upgrade" - I mean to install the package above an old one (Changed the product GUID and the product version), I discover that some exe or dll files that were suppose to be present in the install directory are missing, looks like they've been deleted, and haven't been replaced by newer files...
Any ideas what may have happened?
Thanks in advance.
There is a bug in Windows Installer which cases this behavior. You have to increase the version for the files that don't get installed.
Sounds like you've broken the Component Rules.
For more info, check out Component Rules 101 and Paying for Upgrades - if you think you've broken the component rules, then schedule RemoveExistingProducts
early instead of late (late is more efficient, but if you break the component rules then you get errors like yours).
InstallInitialize action.
精彩评论