473,385 Members | 1,925 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 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 5240
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jean-Christian Imbeault | last post by:
I have a user account on a RH Linux machine but no root access. I succesfully installed apache 1.3 under my /home/ account but can't get PHP to install properly. I have done the following...
2
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
5
by: Gerald Hernandez | last post by:
One of my development PC's died, and I need to have legacy VS and VS.Net installed at the same time. On the now dead PC, I had VS6 installed prior to installing VS.Net. This worked just fine. On...
7
by: Adam | last post by:
Im trying to add an httphandler for all *.sgf file extensions. I have developed the handler, 1. installed it into the gac 2. added it to the machine.config: <httpHandlers> <add verb="*"...
11
by: tshad | last post by:
I have a small Windows Service program that just has a timer on it and it built fine. I try to install it using InstallUtil and I get the following message: ...
2
by: J | last post by:
hi, I'm having a problem installing a service created in vb.net 2003 on a windows 2000 server. I have installed the service on a few XP machines with out any problems...but the 2 servers (win...
1
by: zpinhead | last post by:
I am unable to get my downloaded extension from pecl to link up with php properly. seems like the php.so I could not use pear install http. pear claimed the extension was already installed....
0
by: C. Hughes | last post by:
Hi, I have used the standard tools in VS 2005 to compile my VB application into a setup file. After executing the setup file and installing the program, starting the program often presents an...
3
by: =?Utf-8?B?VmFuZXNzYQ==?= | last post by:
Hi all! I am having problems on installing .NET Framework 3.5 on some machines. In one machine the error is: '.NET Framework 3.5' RunCheck result: Install Needed Verifying file integrity of...
0
by: trihaitran | last post by:
I am reading chapter two of the Pylons book. In the text I am told to run: $ python virtualenv.py --no-site-packages env This is what I got back: $ python virtualenv.py --no-site-packages...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.