G
Guest
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
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