Hi Chris,
The easiest is to use an installer that supports .NET. Most of the 'big
name' installers support .NET these days and make short work of registering
controls into the registry and registering for COM interop.
If you need to do this manually you need to have your installer run GacUtil
and RegAsm to register the component.
I have some tool that do this although I don't install the components into
the GAC, but use CodeBase install instead. This is not as straight forward
as it may seem because you have to find these utilities in the correct
folders for the right version etc. What I usually do is perform this sort of
registration first time the app starts up (by checking whether the COM
object is registered) - if it's not go out and handle the configuration. I
like to do this manually because in our apps at least customers can update
over the Web and in some cases the COM exposed .NET objects may also change.
I wrote this up as part of an Articleon COM interop. The section for
installation is at the bottom:
http://www.west-wind.com/presentations/VfpDotNetInterop/DotNetFromVFP.asp
Regards,
+++ Rick ---

Signature
Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
http://www.west-wind.com/wwThreads/
----------------------------------
Making waves on the Web
> Hi,
>
[quoted text clipped - 6 lines]
>
> Chris
Chris Lane - 20 Jan 2005 14:45 GMT
I wasn't clear enough in my first post. What I need to do is create a Runtime
Callable wrapper around the SQL Server DTS dll dtspkg.dll, then I need to
deploy this RCW to the GAC.
I am also wanting to know if I can and how to deploy the RCW to the GAC
using a windows installer application. I am also wanting to know how I can
marlk the dtspkg.dll COMSelfReg property so that the dll will register with
the same windows installer application.
Thanks
Phil Wilson - 21 Jan 2005 15:55 GMT
I don't know why you'd be installing dtspkg.dll - AFAIK that's part of SQL,
and I suspect that you're not allowed to distribute it, and if you install
and register it yourself, you'll just break something.
Windows Installer can install an RCW into the GAC, but I don't know why you
want to do that. You can probably just install it in your application
folder?
Here's a list of tools: Visual Studio is among them:
http://installsite.org/pages/en/msi/authoring.htm

Signature
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280
>I wasn't clear enough in my first post. What I need to do is create a
>Runtime
[quoted text clipped - 9 lines]
>
> Thanks