The other GACUTIL

Over on Carlo's blog(Gacutil not supported in production?) there is a small discussion about how to register an assembly into the GAC.  Microsoft Recomends using Windows Installer 2.  Gacutil is not really supported on production ( explains why its part of the sdk) but with the proper command line args /i and /r it can be used to register an assembly in to the GAC, however the license for Gacutil, only allows internal redeployment.  So an ISV would need a windows installer.  In the past I have seen System.EnterpriseServices.Internal.Publish.GacInstall used to foster GAC registration in an install shield ( install script). Not sure if it works the same as windows installer but it get the job done. Also of intrest System.EnterpriseServices.Internal.Publish.GacRemove

Comments [0]