Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / October 2006

Tip: Looking for answers? Try searching our database.

What is the registry entry for Extensibility.dll in the GAC ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Russell - 20 Oct 2006 10:17 GMT
Hi,

I am using Visual Studio 2005 Tools for Office.
I am writing a COM add-in for Office 2002.
I have downloaded and installed the Office 2002 PIAs successfully and can
get everything to work fine.

I would like to place the Extensibility.dll file into the GAC (and register
it) when the addin is redistributed.
At the moment I am putting this file into the Application folder.

Does anyone know how I can register this in the GAC ?

many thanks
Russell
Matthew Etter - 20 Oct 2006 14:32 GMT
What are you using for your installer? We use Windows Installer (via the Wix
toolkit), an we use the RegistrySearch table to look for the user's
installation of the .NET framework SDK, and call out to gacutil.exe. Of
course, we can get away with that because we're installing an extension to
VS2005.

In short we look at the InstallationFolder registry value under the
HKLM\SOFTWARE\Microsoft\Microsoft SDKs\.NETFramework\v2.0 registry key.
gacutil.exe should be under the \bin directory.

For installations of assemblies on systems that do not have Visual
Studio/gacutil available, you can use some of the tables in Windows
Installer directly. (Look at the reference for the MsiAssemblyName table)

--Matthew

> Hi,
>
[quoted text clipped - 11 lines]
> many thanks
> Russell
Russell - 20 Oct 2006 16:57 GMT
Hi Matthew,

Thanks for the reply.
I am using a Setup project which generates an MSI file.

I have been able to download the registry files for the other Office XP
PIAs.
I just need to the registry file to register the Extensibility.dll once I
put it in the GAC

many thanks
Russell

> What are you using for your installer? We use Windows Installer (via the
> Wix toolkit), an we use the RegistrySearch table to look for the user's
[quoted text clipped - 27 lines]
>> many thanks
>> Russell
Mythran - 25 Oct 2006 16:45 GMT
> Hi,
>
[quoted text clipped - 11 lines]
> many thanks
> Russell

My department uses InnoSetup to create our setup packages for web controls
and libraries.  We wrote our own in-house assembly installer (installs into
GAC, COM, etc based on command-line switches)...

Anywho, for future reference, look into
System.EnterpriseServices.Internal.Publish for methods on how to install
assemblies into different areas of your OS (including those mentioned
above).

Mythran

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.