‎10-07-2013 11:23 AM
After uninstalling NI programs from my win7 machine, the National Instrument assemblies in the Global Assembly Cache were still in place (not uninstalled). As they were installed from an installer, I can not right-click and uninstall. That leads to 'permission denied'. The machine is not a development machine, so using gacutil.exe is not an option, and in any event should not be required in the first place.
How do I uninstall the NI assemblies in the GAC?
Larry O'Heron
University of Rochester/Laboratory for Laser Energetics.
‎10-08-2013 09:22 AM
Larry_O'Heron,
You will need to get the admin permissions to edit objects in the Global Assembly Cache before you do anything, so I advise you to contact your IT department. Here are two external links from Microsoft on how to remove an assembly:
http://msdn.microsoft.com/en-us/library/aa559881.aspx
http://msdn.microsoft.com/en-us/library/zykhfde0.aspx
‎10-08-2013 09:33 AM
Understood. Thanks for the links; I located those also.
The real issue (still unaddressed) is that the NI uninstaller should remove those assemblies, and not leave them hanging as 'ghost files'.
Larry O'Heron
‎10-08-2013 09:13 PM
The installer behavior is described in the .NET Class Library Versioning for Development section of the Measurement Studio .NET Class Library Versioning for Development and Deployment:
This design requires that the Measurement Studio development system uninstaller leave the assemblies in the GAC so that when you install a later version of Measurement Studio, applications that were built against the prior version of Measurement Studio continue to load the versions of the assemblies that the applications were built against. To completely remove Measurement Studio assemblies from a machine on which you installed a Measurement Studio development system, you must manually remove the Measurement Studio assemblies from the GAC. This does not apply to machines to which you have deployed applications that reference Measurement Studio assemblies, but do not have Measurement Studio development systems installed.