I created an MSI and am now looking to extend it for patches and upgrades. During the process of creating the original installer, I found that self-repair or resiliency kept kicking in. I found the problem was that the MSI contained files that were intended to be modified by the end user (configuration files). The only real solutions I found to this problem was to:
1) Not include the configuration files.
2) Mark all the components that represent the configuration files with NeverOverwrite='Yes'
I opted for #2. Unfortunately this has completely messed up the upgrade process since the MSI Updater will not overwrite the configuration files. I have tried messing with REINSTALLMODE. I have also tried manually deleting the configuration files during the uninstall process. Nothing I have tried lays down any file marked with NeverWrite during the upgrade process.
Assuming I keep NeverOverwrite, are there other options for forcing the installer to update NeverOverwrite files during an upgrade? ' Assuming I get rid of NeverOverwrite, are there any other suggestions for preventing the self-repair process from kicking in when the configuration files are modified?
Thanks a lot for any insight you might have.