Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

remove ni assemblies from gac

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.

0 Kudos
Message 1 of 4
(5,953 Views)

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

 

Peter T
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(5,939 Views)

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

0 Kudos
Message 3 of 4
(5,937 Views)

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.
~ Paul H
0 Kudos
Message 4 of 4
(5,930 Views)