none
How to uninstall older assemblies of a DLL from GAC by Visual Studio Setup Project installer? RRS feed

  • Question

  • Hello,

    I would like to ask, if it is possible to uninstall older assemblies of a DLL from GAC by Visual Studio Setup Project installer? The assemblies were installed by gacutil.exe - is it possible to uninstall them via Visual Studio Setup Project installer? If yes, could you please point me to some resource where it is described?

    I have found that if you install the DLL via the installer, by uninstalling the program in Programs and Features you can remove it. This is not suitable for me, because the DLLs were not installed to GAC via installer.

    I have found that if you install the DLL via the installer, by creating new version of the installer you can uninstall the previous versions. But this will probably not help me, since the DLLs in GAC are installed via gacutil.exe and not with the installer.

    I have also found, that you can remove it by opening a file system browser, choosing My Computer from the Windows Start menu, and navigate to \Windows\assembly, then scroll through the list of packages and delete them. But I would like to know if it is possible to do via Visual Studio Setup Project installer. 

    I would appreciate your help.

    Kind regards,

    MiciHime

    Monday, October 12, 2020 8:25 AM

All replies

  • Hi MiciHime,

    As you said, if you can’t remove it with Gacutil.exe and Windows Installer, it is a good way to manually remove it under %systemdrive%\Windows\Assembly.

    Sincerely,

    Anna

    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com



    Tuesday, October 13, 2020 10:16 AM