I need gacutil

A

Abubakar

Hi,
When only the "runtime" (dotnetfx.exe, 20mb thing) is installed, I dont see
the gacutil any where which is installed with the framework sdk or vs.net. I
need it to register some of my comps to the gac. How do I do it ?
I dont wanna use installer for registering my components.

Regards n thanx.

Abubakar.
 
A

Abubakar

duh,,,,,,,,, I know that thank u :)
thats not the answer of my question. I need the functinality of gacutil when
only the runtime is installed, NOT the sdk.
 
F

Frank Oquendo

Abubakar said:
duh,,,,,,,,, I know that thank u :)
thats not the answer of my question. I need the functinality of
gacutil when only the runtime is installed, NOT the sdk.

Why would you want a client to have gacutil? And if we're talking a
development machine, why not just install the SDK?

--
There are 10 kinds of people. Those who understand binary and those who
don't.

http://code.acadx.com
(Pull the pin to reply)
 
N

Nick Malik

Hello Abubakar,
First off, it is not clear why you would need to install an assembly in the
GAC of a user's machine. I'm curious as to why you want to do this.
Secondly, the Microsoft Installer 2.0 tool will install assemblies in the
GAC if you need it to. You do not need to distribute gacutil.
Third, if you do not want to use and installer, and the client does not have
gacutil, you are out of luck. You are not allowed to ship gacutil with your
application.

According to the following link, if you must use the GAC, you have two
choices: installer or gacutil.
http://msdn.microsoft.com/library/d...installingassemblyintoglobalassemblycache.asp

I hope this helps,
--- Nick
 
A

Ayende Rahien

Nick Malik said:
Hello Abubakar,
First off, it is not clear why you would need to install an assembly in the
GAC of a user's machine. I'm curious as to why you want to do this.
Secondly, the Microsoft Installer 2.0 tool will install assemblies in the
GAC if you need it to. You do not need to distribute gacutil.
Third, if you do not want to use and installer, and the client does not have
gacutil, you are out of luck. You are not allowed to ship gacutil with your
application.

According to the following link, if you must use the GAC, you have two
choices: installer or gacutil.
http://msdn.microsoft.com/library/d...installingassemblyintoglobalassemblycache.asp

Just to add, he has a third option, cloning gacutil
 
E

emailallrise

Thanx. Just wanted to confirm that no gacutil can b used when only the
runtime is installed.
 
E

emailallrise

Thanx. Just wanted to confirm that no gacutil can b used when only the
runtime is installed.
 
E

emailallrise

hi
what do u mean by cloning. Refering to the link that u mentioned, do u mean
shfusion.dll ? Well as I discovered its not managed and its note even a com
component. Its just a windows shell extension dll. I cant use it in my
managed code (or atleast dont know how to!).

I was just wondering if when my app is deployed on the client site and one
of my shared assemblies there shows some bug signs which I update. To
replace just this one file I would create an installer or follow some other
method.
 
M

mikeb

emailallrise said:
hi
what do u mean by cloning. Refering to the link that u mentioned, do u mean
shfusion.dll ? Well as I discovered its not managed and its note even a com
component. Its just a windows shell extension dll. I cant use it in my
managed code (or atleast dont know how to!).

I was just wondering if when my app is deployed on the client site and one
of my shared assemblies there shows some bug signs which I update. To
replace just this one file I would create an installer or follow some other
method.

These links may get you started on implementing whatever gacutil
functionality you need:

http://www.msjogren.net/dotnet/eng/samples/dotnet_gactool.asp

http://support.microsoft.com/?kbid=317540
 
V

Vincent Cadoret

You can also copy to %systemroot% msvcr71.dll, gacutil.exe and
gacutil.exe.config.
Then register msvcr71.dll and you can then Gacutil.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top