GacUtil missing in .NET v1.1

  • Thread starter Thread starter Peter Bromley
  • Start date Start date
P

Peter Bromley

Hi,

I notice that, on my development computer, gacutil.exe is missing from
the v1.1 framework (C:\Windows\Microsoft .NET\Framework\v1.1.4322) but
that v1.0 does have an older version of gacutil.

(I have Visual Studio .NET 2003 installed).

I need to use gacutil from my app's installer to place some dlls into
the GAC.

Should I distribute gacutil with my app or does gacutil get installed by
the .NET redistributable?

Thanks,

--
If you wish to reply to me directly, my addres is spam proofed as:

pbromley at adi dot co dot nz

Or if you prefer - (e-mail address removed) :-)
 
gacutil.exe will be installed with .NET framework. I think you don't need
ship it with your app. Just inlcude .NET framework redistribution.

Luke
 
As far as I can tell, gacutil is not included with the .net redistributable.
If you take a look at the file redist.txt in the folder \Program
Files\Microsoft Visual Studio .NET 2003 of disk 2 of the VS.net 2003
installation CDs, you will see that gacutil.exe is not included. So maybe
you are not allowed to redistribute it...?

Anyway, if you create a setup project yourself it is pretty easy to let the
installer put the assemblies in the GAC.

Regard, Jakob.
 
Hey Luke,

I was unable to locate gacutil.exe on a machine which has had the .net
redist installed. Which folder is it supposed to be installed to?

Regards, Jakob.
 
Gacutil.exe is not included in .Net framework redist.

The reason Peter see it in 1.0 directory, is a bug in 1.0 SP installer. SP
copies gacutil.exe to framework directory, then forgets to remove it.

--
Junfeng Zhang
http://blogs.msdn.com/junfeng
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Anyway, if you create a setup project yourself it is pretty easy to let the
installer put the assemblies in the GAC.
Do you mean a setup and deployment project? Unfortunately, we use WISE
installer here so I will need a solution which works within that
constraint. Hence, my interest in gacutil.exe.

--
If you wish to reply to me directly, my addres is spam proofed as:

pbromley at adi dot co dot nz

Or if you prefer - (e-mail address removed) :-)
 
Gacutil.exe is not included in .Net framework redist.
The reason Peter see it in 1.0 directory, is a bug in 1.0 SP installer. SP
copies gacutil.exe to framework directory, then forgets to remove it.

Am I permitted to do something similar with v1.1. Copy gacutil to disk,
use it to insert my dll's, then remove it. ?


--
If you wish to reply to me directly, my addres is spam proofed as:

pbromley at adi dot co dot nz

Or if you prefer - (e-mail address removed) :-)
 
Nobody says you can't use gacutil.exe:) It is included in SDK. You can use
it anyway you want.

But you will lose many benefit of MSI install, like ref count, auto repair,
etc. And you have to have special logic to uninstall the assemblies.
 
Junfeng said:
Nobody says you can't use gacutil.exe:) It is included in SDK. You can use
it anyway you want.

But you will lose many benefit of MSI install, like ref count, auto repair,
etc. And you have to have special logic to uninstall the assemblies.

Gacutil.exe is provided with the .NET Framework SDK, not with the .NET
Framework Runtime (with the exception of the 1.0 AP1 install that you
mentioned before).

However, as far as I know, there is no redistribution license for the
SDK tools.
 
Back
Top