GAC & AIC made simple

One of the projects I’m currently working on has an awful lot of custom workflow activities, and that means that I spend a lot of time adding things to the global assembly cache and creating AIC entries – so much time, that I’ve invested a little of it in a powershell script that takes a DLL and – providing it meets certain entry conditions (or is at least strongly signed!) adds it to the GAC and then creates a matching AIC entry for it.

There is a version online at the FIM Scriptbox as well.

Usage is installAIC.ps1 <full path to dll>

One thing that I hadn’t done previously, was making use of Powershell to add items into the GAC and to obtain the publicly available details of a dll – the article here was most useful!

installaic.ps1
installaic.ps1
installaic.ps1
Version: 1.0
3.8 KiB
759 Downloads
Details...

This entry was posted in FIM, Powershell, Snippets, Tools and tagged , , , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *