Re: Installing to GAC using Deployment Project
- From: "Phil Wilson" <pdjwilson@xxxxxxxxxxxxxx>
- Date: Mon, 14 Nov 2005 07:28:22 -0800
You're doing the right thing, but where is this codebase value you are
referring too? Codebase is usually referred to in the context of Regasm.exe
or a config file. Gacutil just puts assemblies in the GAC, like the
deployment project does.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280
"Tim Marsden" <TMQSL@xxxxxxxxxxxxxxxx> wrote in message
news:8EAB7285-3BD8-4A92-BA9B-649943B70A17@xxxxxxxxxxxxxxxx
> Hi,
>
> I have written an App in vb.Net (2003) which references Excel 2000. This
> creates a Interop_Excel.dll which I need to reference in my project. All
> OK
> so far.
> I had to modify the Interop_Excel.dll and renamed it tm_Interop_Excel.dll
> after modification. This new dll has a strong name and all the correct
> attributes.
>
> If I create a deployment project for my app, the tm_Interop_excel.dll is
> placed in my application folder.
>
> However I need this dll to be installed in the GAC. I can do this manullay
> using GACUTIL, and all is OK.
>
> When I create an installer, using VS 2003, I drag the dll form my
> application folder into the Global assembly folder. (file system on target
> machine).
>
> When the installer is run, the tm_Interop_Excel.dll is placed into the GAC
> but without a codebase entry and my app does not work. If I then run the
> GACUTIL -i the codebase entry is added and all is ok.
>
> I have found the GACUTIL is missing on some target computers so I cannot
> relie on it being there.
>
> So my question is, How do I create an installer which will automatically
> place my tm_Interop_Excel.dll into the GAC correctly without using the
> GACUTIL.exe.
>
> Thanks in advance
> --
> Tim Marsden
.
- Follow-Ups:
- Re: Installing to GAC using Deployment Project
- From: Tim Marsden
- Re: Installing to GAC using Deployment Project
- Prev by Date: Pdf Solution
- Next by Date: Re: Installing to GAC using Deployment Project
- Previous by thread: Pdf Solution
- Next by thread: Re: Installing to GAC using Deployment Project
- Index(es):
Relevant Pages
|