This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- DLL in GAC_64 not removed after uninstalling msi
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 17, 2019
06:25 AM
DLL in GAC_64 not removed after uninstalling msi
Hi, I deploy .NET dll in GAC_64 with Basic MSI Project. All works fine when installing msi, but when I uninstall it, all the folders with dll inside are not removed in the GAC_64 folder. Shared and Permanent option is set to No on all my components and the Destination option is GlobalAssemblyCache. Thank you for your advise !
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 20, 2019
07:14 AM
Hi @mouillardc ,
GAC component/assemblies references are maintained by windows during the installation and uninstallation, and the components/assemblies are removed only if its not used( reference count become zero).
Most of these cases can be figured out by doing the below:
1- Enable the verbose log for the uninstalltion which will give info why the component is not removed.
2- See the msi is compiled properly, and the assemblies are not referenced by two components.
3 - Validate the MSI package from Build->Validate->Full MSI Validation, which will provide info if there any breakage in the msi rules for compiling.