Hello!
I run into the issue that .NET2.0 Assemblies installed into the GAC don't get uninstalled when doing an uninstall.
The first reason is that AdvancedInstaller does not as of version 6.0 populate the MSIAssemblyName table with a ProcessorArchitecture property. Hence Fusion has not enough information to remove the assembly in .NET 2.0 and upwards. I can easily work around this by adding the property manually in the Assembly Atributes list in the AI UI.
The second reason why Assemblies don't get uninstalled is that the Version attribute of the assembly is never refreshed after a new assembly version is build and again Fusion has no good information to remove the assembly. I have worked around this issue by updating the assembly version number with XPath tools directly in the AdvancedInstaller .AIP file.
It would be much better if AdvancedInstaller handled both scenarios: For .NET 2.0 populate the processorArchitecture property and have some mechanism to synchronize all the assembly properties agains the actual assembly being added to the .MSM or .MSI at build time. Something like a synchronized folder, but then for the assembly attributes.
I hope you will take this into consideration as it will improve the general useabillity of AdvanceInstaller for .NET projects.
Regards,
xrkxs
FOLLOW US
Get the latest news in Application Packaging