jjardina
Posts: 11
Joined: Wed Mar 13, 2019 5:35 pm

Assembly left in GAC on uninstall

Hi Catalin,

On product install we install an assembly into the GAC. When we uninstall the assembly is still left in the GAC and was never removed.
On install of newer products, the assembly in the GAC is updated to the current installing version.
On installs of older versions (downgrade), the GAC keeps the newer version that was installed previously and does not overwrite the assembly in the GAC.

AI is never removing the assembly from the GAC on uninstall as specified in the documentation.

If I run gacutil /u <assemblyname>
It uninstalls the assembly from the GAC. However gacutil requires .net SDK and I will not install the SDK as a prereq for client computers.

Assembly details:
Fileversion and Product versions are synchronized to be the version that is being installed; incremented to higher level for each release.
Assembly version is locked into a version number (19.1.0.0) to allow backwards compatibility between all product versions.

Advanced Installer version 17.5

Can you provide details of a fix, work-around or verify this is a bug to be fixed? If AI would remove the assembly from the GAC on uninstall, we would not have this issue.

Thanks,
Jason
Catalin
Posts: 7525
Joined: Wed Jun 13, 2018 7:49 am

Re: Assembly left in GAC on uninstall

Hello Jason,

This is quite strange, indeed.

I've ran a few tests on my end and everything seemed to be working as expected - the assembly was removed from the GAC upon uninstall.

In order for me to further investigate this, could you please forward me the following resources:

- a copy of your .AIP file

- a download link for your setup

- the verbose log of the uninstall process

by e-mail at support at advancedinstaller dot com?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”