I'm having an issue with my installer when performing an upgrade. It appears that others on this forum are having similar issues, but none of the recommendations in those posts appear to be working for me.
I have an installer that will correctly install my assemblies into the Global Assembly Cache (GAC) and remove them on an uninstall. However, when performing an upgrade (because I've versioned my installer) the original assemblies are being removed from the GAC (due to the uninstall) but they are not being readded during the install. However, if I subsequently Repair my installation the files get properly GAC'd.
NOTE: The version of my assemblies hasn't necessarily changed between installation packages, but I may have updated the code therein. I want to ensure that the correct, updated assemblies get added to the GAC. I have tried changing the order (from Uninstall older version first and then install new version to Install new version first and then uninstall old version) but that leaves the old assemblies in the GAC (because of matching versions, I believe) so I don't think this is an option for me.
I've also tried the Ensure that this file overwrites any installed target file option to no avail.
What can I do to ensure that the updated assemblies are properly registered in the GAC after an upgrade?
FOLLOW US
Get the latest news in Application Packaging