How do I manually install an assembly - DLL file - into the Global Assembly Cache?
Answer To manually install a new DLL file into the GAC (NS6 physical path is %windir%\assembly\gac, NS7 uses %windir%\assembly\gac_msil):
Stop all Altiris services
Open Windows Explorer and navigate to the %WINDIR%\Assembly folder (this is not the physical path, but is a view into the combined GACs)
Copy and Paste (Drag and drop) the new DLL file into the Assembly folder
Occassionally, this may encounter an error (due to the file being locked by some process that was not shutdown) which Explorer does not report back. Usually if the file is locked Explorer will tell you, but there are times where it does not. To workaround this:
Enable viewing of the GAC by creating: HKLM > Software > Microsoft > Fusion > DisableCacheViewer:DWORD = 1
Stop the Altiris Services
Stop the IIS Services
Copy the file to the %WINDIR%\Assembly\ folder
Install the file in the GAC using the command line: %WINDIR%\Microsoft.NET\Framework\v1.1.4322\gacutil.exe /f /i <path to assembly>
Imported Document ID: HOWTO9873
Subscribing will provide email updates when this Article is updated. Login is required.