how to package ActiveX .dll user w/ dependencies in web page?

  • Thread starter Thread starter Laszlo Szijarto
  • Start date Start date
L

Laszlo Szijarto

I created an ActiveX .dll using C#. All's well if I have a single .dll.
But, if I have other dependenceis, I don't know how to have them downloaded
/ installed on the client computer.

So, for example, I'm using an old COM .dll, around which my application
created a Interop .dll.

Can I put these into a CAB file somewhere or use an ".INF" file with
"codebase" to get the client to download these .dlls and install them in the
client's GAC?

With these Interop .dlls, do I need also to include the original COM .dlls
in the package around which these wrap?

What would an .INF file look like to force these files to install in GAC?

I'm very confused. Could someone please help?

Thank you,
Laszlo
 
Hi,

A) if you creating intranet application and you can overcome security
limitation on the clients (caspol) you just need to use codebase. all
needed dlls will be download by the browser. if you need to keep
security settings and you following KB 305624 to dress your assembly as
com object you need to create cab file. the CAB should contain all the
DLLs and register them in the GAC. I use WISE to create that cab file.

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
 
Back
Top