471,349 Members | 1,542 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,349 software developers and data experts.

Installing a file into the GAC

Is there anyway to automate the install of a file into the GAC on
Win2000? The gacutil.exe file is not available and I can't seem to find any
other way of doing it.

Thanks,
Anthony
--
Product Availability Developer
Invensys Avantis - www.avantis.net
Jul 21 '05 #1
8 5185
Anthony, The GAC is a special folder available to windows (and I would guess
web) setup projects...Chuck

"Anthony Hunter" wrote:
Is there anyway to automate the install of a file into the GAC on
Win2000? The gacutil.exe file is not available and I can't seem to find any
other way of doing it.

Thanks,
Anthony
--
Product Availability Developer
Invensys Avantis - www.avantis.net

Jul 21 '05 #2
gacutil.exe is included with the .NET runtime. If gacutil.exe is not
available, it is highly likely that the .NET runtime is not available,
which means you do not have a GAC.

Anthony Hunter wrote:
Is there anyway to automate the install of a file into the GAC on
Win2000? The gacutil.exe file is not available and I can't seem to find any
other way of doing it.

Thanks,
Anthony

Jul 21 '05 #3
The .Net runtime is installed and operating correctly. I can only find
the gacutil.exe on a Win2003 machine, It is not installed on Win2000 or
WinXP. And the .Net Framework Configuration tool is available and I can add
files through it with no problem.
Anthony

"Joshua Flanagan" <jo**@msnews.com> wrote in message
news:u8**************@tk2msftngp13.phx.gbl...
gacutil.exe is included with the .NET runtime. If gacutil.exe is not
available, it is highly likely that the .NET runtime is not available,
which means you do not have a GAC.

Anthony Hunter wrote:
Is there anyway to automate the install of a file into the GAC on
Win2000? The gacutil.exe file is not available and I can't seem to find any other way of doing it.

Thanks,
Anthony

Jul 21 '05 #4
Hi,

Gacutil.exe can only be used during developement environement testing phase.
You can also drop a library as a simple file in the CAG explorerfolder.

The only way to install a shared assembly in the CAG for application
deployement is by using an Windwows 2.0 installer package setup project.
Regards
serge

"Anthony Hunter" wrote:
The .Net runtime is installed and operating correctly. I can only find
the gacutil.exe on a Win2003 machine, It is not installed on Win2000 or
WinXP. And the .Net Framework Configuration tool is available and I can add
files through it with no problem.
Anthony

"Joshua Flanagan" <jo**@msnews.com> wrote in message
news:u8**************@tk2msftngp13.phx.gbl...
gacutil.exe is included with the .NET runtime. If gacutil.exe is not
available, it is highly likely that the .NET runtime is not available,
which means you do not have a GAC.

Anthony Hunter wrote:
Is there anyway to automate the install of a file into the GAC on
Win2000? The gacutil.exe file is not available and I can't seem to find any other way of doing it.

Thanks,
Anthony


Jul 21 '05 #5
Yes, you can install a file (only a strong-named assembly) into the GAC by
creating a setup project and add Special folder (GAC) to your File System on
Target Machine or you could simply drag-drop the strong-named assembnly into
the GAC if you are looking to add them manually.

with regards,

J.V.

"Anthony Hunter" wrote:
Is there anyway to automate the install of a file into the GAC on
Win2000? The gacutil.exe file is not available and I can't seem to find any
other way of doing it.

Thanks,
Anthony
--
Product Availability Developer
Invensys Avantis - www.avantis.net

Jul 21 '05 #6
That is very strange. It sounds like your install got corrupted.
gacutil.exe should be in your .NET Framework install folder, for example:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322

You should be able to safely copy the missing file to your computer from
a different computer, or re-install the .NET Framework, in case there
are other files that have been deleted..
Anthony Hunter wrote:
The .Net runtime is installed and operating correctly. I can only find
the gacutil.exe on a Win2003 machine, It is not installed on Win2000 or
WinXP. And the .Net Framework Configuration tool is available and I can add
files through it with no problem.
Anthony

"Joshua Flanagan" <jo**@msnews.com> wrote in message
news:u8**************@tk2msftngp13.phx.gbl...
gacutil.exe is included with the .NET runtime. If gacutil.exe is not
available, it is highly likely that the .NET runtime is not available,
which means you do not have a GAC.

Anthony Hunter wrote:
Is there anyway to automate the install of a file into the GAC on
Win2000? The gacutil.exe file is not available and I can't seem to find
any
other way of doing it.

Thanks,
Anthony


Jul 21 '05 #7
Ok, ignore me, I didn't check my facts until AFTER I posted. Apparently
gacutil.exe is not included as part of the .NET Runtime installation --
it is only available with the SDK installation.
You will have to use a setup package as others have suggested.
Sorry for the confusion.

Joshua Flanagan wrote:
That is very strange. It sounds like your install got corrupted.
gacutil.exe should be in your .NET Framework install folder, for example:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322

You should be able to safely copy the missing file to your computer from
a different computer, or re-install the .NET Framework, in case there
are other files that have been deleted..
Anthony Hunter wrote:
The .Net runtime is installed and operating correctly. I can only
find
the gacutil.exe on a Win2003 machine, It is not installed on Win2000 or
WinXP. And the .Net Framework Configuration tool is available and I
can add
files through it with no problem.
Anthony

"Joshua Flanagan" <jo**@msnews.com> wrote in message
news:u8**************@tk2msftngp13.phx.gbl...
gacutil.exe is included with the .NET runtime. If gacutil.exe is not
available, it is highly likely that the .NET runtime is not available,
which means you do not have a GAC.

Anthony Hunter wrote:

Is there anyway to automate the install of a file into the GAC on
Win2000? The gacutil.exe file is not available and I can't seem to find

any
other way of doing it.

Thanks,
Anthony


Jul 21 '05 #8
Thanks for all the responses.
Anthony

"Anthony Hunter" <anthony.hunter@_NOSPAM_.invensys.com> wrote in message
news:Oa**************@TK2MSFTNGP14.phx.gbl...
Is there anyway to automate the install of a file into the GAC on
Win2000? The gacutil.exe file is not available and I can't seem to find any other way of doing it.

Thanks,
Anthony
--
Product Availability Developer
Invensys Avantis - www.avantis.net

Jul 21 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Jean-Christian Imbeault | last post: by
5 posts views Thread by Gerald Hernandez | last post: by
11 posts views Thread by tshad | last post: by
1 post views Thread by zpinhead | last post: by
3 posts views Thread by =?Utf-8?B?VmFuZXNzYQ==?= | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.