Search code examples
.netdlldeploying

How does one install .net dlls without .NET SDK or Visual Studio?


I need to deploy a few .net dlls. They need to be put in the GAC and the required entries need to be in the registry. On my machine I have both the SDK and Visual Studio running, so currently I am utilizing .net sdk tools like gacutil and regasm. However, when I need to install these dlls on a customer machine, how should I go about it. Can I accomplish this by just having the .net runtime. I am currently using .net 2.0.


Solution

  • The 'proper' way to do this is using MSI (via one of the various ways of making MSI files - like WiX)

    This might be useful to you:

    http://blogs.msdn.com/astebner/archive/2006/11/04/why-to-not-use-gacutil-exe-in-an-application-setup.aspx