RobertvanderHulst
Posts: 22
Joined: Wed Mar 04, 2009 4:09 pm

Updating Strong Named assemblies in the GAC

I have created a version of my project. It also registers DLLs in the GAC. Let's call this version 1.1. All DLLs that go in the GAC have a strong name that includes the buildnumber 1.1.
Now I update the build number of all my DLLs from 1.1 to 1.2. The strong names are updated as well.
AI (7.1.3) picks up the new build number correctly. You can see the new versions File/Folders page.
However in the 'Windows Assemblies' page it still shows version 1.1 for all assemblies that are registered in the GAC.
Shouldn't these numbers also automatically be adjusted by AI. Or is there a way to do this from the UI (except having to manually edit each and every one) ?
Of course I can remove and readd the DLLs from the "Windows Assemblies" page which will update the version, but this will also clear the 'Generate Native image' checkbox and its flags.

Robert
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Updating Strong Named assemblies in the GAC

Hello,

There is no option to achieve this yet. However this feature has been implemented and will be released with Advanced Installer 7.2

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
RobertvanderHulst
Posts: 22
Joined: Wed Mar 04, 2009 4:09 pm

Re: Updating Strong Named assemblies in the GAC

GabrielBarbu wrote:Hello,

There is no option to achieve this yet. However this feature has been implemented and will be released with Advanced Installer 7.2

Regards,
Gabriel
Thanks, that will be very helpful. At this moment I have to manually edit the AIP file to quickly replace the version numbers, with the risk of breaking things...

Robert

Return to “Common Problems”