HighTechTalks DotNet Forums  

Deploy satellite assemblies into the GAC

Dotnet Internationalization microsoft.public.dotnet.internationalization


Discuss Deploy satellite assemblies into the GAC in the Dotnet Internationalization forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Nico Cizik
 
Posts: n/a

Default Deploy satellite assemblies into the GAC - 09-15-2006 , 11:50 AM






Hello,

Is there a way to deploy strong named satellite assemblies into the GAC of a
user's machine without the use of gacutil.exe or the windows installer? I
have tried using the GacInstall() routine of the Publish class in the
EnterpriseServices.Internal namespace, but this seems to only work with
normal assemblies, not satellite assemblies. Do I have any other options?

--
Regards,

Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com



Reply With Quote
  #2  
Old   
Garrett McGowan[MSFT]
 
Posts: n/a

Default RE: Deploy satellite assemblies into the GAC - 09-15-2006 , 08:20 PM






I wouldn't rely on the EnterpriseServices.Internal namespace, if for no
other reason than it's been deprecated.

While not automated, you could use the .NET Framework Configuration MMC
snap-in to add assemblies to the GAC. It sounds like you want to deploy
these programmatically though. Out of curiosity, is there a particular
reason you don't want to leverage gacutil.exe?

Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
Quote:
From: "Nico Cizik" <support (AT) digital-metaphors (DOT) com
Subject: Deploy satellite assemblies into the GAC
Date: Fri, 15 Sep 2006 09:50:49 -0600
Newsgroups: microsoft.public.dotnet.internationalization

Hello,

Is there a way to deploy strong named satellite assemblies into the GAC of
a
user's machine without the use of gacutil.exe or the windows installer? I
have tried using the GacInstall() routine of the Publish class in the
EnterpriseServices.Internal namespace, but this seems to only work with
normal assemblies, not satellite assemblies. Do I have any other options?

--
Regards,

Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com


Reply With Quote
  #3  
Old   
Nico Cizik
 
Posts: n/a

Default Re: Deploy satellite assemblies into the GAC - 09-22-2006 , 10:48 AM



Hi Garrett,

Thanks for the response.

The reason I wanted to steer clear of using gacutil.exe is: A.) it is not
redistributable, and B.) I have yet to determine a reliable way to find
where on a user's hard drive the application is installed. I have two PC's
and gacutil is installed in two different places. One in the VS directory
and one in the .NET directory. Is there perhaps a registry setting I can
check to see where it is located?

--
Regards,

Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com

"Garrett McGowan[MSFT]" <GarrMc (AT) online (DOT) microsoft.com> wrote

Quote:
I wouldn't rely on the EnterpriseServices.Internal namespace, if for no
other reason than it's been deprecated.

While not automated, you could use the .NET Framework Configuration MMC
snap-in to add assemblies to the GAC. It sounds like you want to deploy
these programmatically though. Out of curiosity, is there a particular
reason you don't want to leverage gacutil.exe?

Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
From: "Nico Cizik" <support (AT) digital-metaphors (DOT) com
Subject: Deploy satellite assemblies into the GAC
Date: Fri, 15 Sep 2006 09:50:49 -0600
Newsgroups: microsoft.public.dotnet.internationalization

Hello,

Is there a way to deploy strong named satellite assemblies into the GAC of
a
user's machine without the use of gacutil.exe or the windows installer? I
have tried using the GacInstall() routine of the Publish class in the
EnterpriseServices.Internal namespace, but this seems to only work with
normal assemblies, not satellite assemblies. Do I have any other options?

--
Regards,

Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com




Reply With Quote
  #4  
Old   
Garrett McGowan [MSFT]
 
Posts: n/a

Default Re: Deploy satellite assemblies into the GAC - 10-17-2006 , 05:48 PM



Unfortunately, the only guarentee is that it's installed with the SDK
(%mssdk%\bin). Windows Installer is still your best bet to employ
assemblies to the GAC.

--------------------
Quote:
From: "Nico Cizik" <support (AT) digital-metaphors (DOT) com
Subject: Re: Deploy satellite assemblies into the GAC
Date: Fri, 22 Sep 2006 08:48:53 -0600
Newsgroups: microsoft.public.dotnet.internationalization

Hi Garrett,

Thanks for the response.

The reason I wanted to steer clear of using gacutil.exe is: A.) it is not
redistributable, and B.) I have yet to determine a reliable way to find
where on a user's hard drive the application is installed. I have two
PC's
and gacutil is installed in two different places. One in the VS directory
and one in the .NET directory. Is there perhaps a registry setting I can
check to see where it is located?

--
Regards,

Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com

"Garrett McGowan[MSFT]" <GarrMc (AT) online (DOT) microsoft.com> wrote in message
news:%23HLY3XS2GHA.4464 (AT) TK2MSFTNGXA01 (DOT) phx.gbl...
I wouldn't rely on the EnterpriseServices.Internal namespace, if for no
other reason than it's been deprecated.

While not automated, you could use the .NET Framework Configuration MMC
snap-in to add assemblies to the GAC. It sounds like you want to deploy
these programmatically though. Out of curiosity, is there a particular
reason you don't want to leverage gacutil.exe?

Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
From: "Nico Cizik" <support (AT) digital-metaphors (DOT) com
Subject: Deploy satellite assemblies into the GAC
Date: Fri, 15 Sep 2006 09:50:49 -0600
Newsgroups: microsoft.public.dotnet.internationalization

Hello,

Is there a way to deploy strong named satellite assemblies into the GAC
of
a
user's machine without the use of gacutil.exe or the windows installer?
I
have tried using the GacInstall() routine of the Publish class in the
EnterpriseServices.Internal namespace, but this seems to only work with
normal assemblies, not satellite assemblies. Do I have any other
options?

--
Regards,

Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com




Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.