Installer for vb.net made COM component

V

Vili

Hi all

How can I make an installer for a COM component made with vb.net?
This component will be used in vb6/windows XP

Normally I would copy the dll/tbl to the directory of vb6 program, copy
the dll to Global Assembly Cache (not sure if the dll has to be in both
places? Propably not) and then register unregister the old version of
the dll and register new with regasm.exe.

Can I create a Windows Installer that would do all this with Visual
Studio 2005?

regards
Vili
 
C

Cowboy \(Gregory A. Beamer\)

You cannot create COM components with VB.NET. You can, however, add a COM
wrapper. If you need full native functionality, you would be best to pick up
a third party product that creates fully native assemblies.

As far as install goes, I would look at the older version 6 install projects
or a third party install tool like Wise Installer.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)

************************************************
Think outside the box!
************************************************
 
M

Mythran

Cowboy (Gregory A. Beamer) said:
You cannot create COM components with VB.NET. You can, however, add a COM
wrapper. If you need full native functionality, you would be best to pick
up a third party product that creates fully native assemblies.

As far as install goes, I would look at the older version 6 install
projects or a third party install tool like Wise Installer.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)

************************************************
Think outside the box!
************************************************

I believe the Visual Studio .Net installation projects can do most, if not
all, of what the OP is asking...granted, he/she would have to write the code
for it himself....

I'm not too familiar with it so that might not be entirely correct. I use
InnoSetup along with ISTool to create our installation packages. It's
pretty easy to use and learn. Downside is the scripting language is in
PascalScript and if you don't already know it, it's another language to
learn...although, one of the easier languages to learn...

HTH,
Mythran
 
A

AMDRIT

Cowboy, you came off a bit defeatest. You can create COM ready assemblies
in .Net (VB or otherwise), yes there are rules to do it. I think the OP was
aware of most of them.

Here is a link I found that describes in a nutshell some issues with
creating COM ready assemblies.
http://www.codeguru.com/Cpp/COM-Tech/complus/interop/article.php/c3951

According to the document, you will need to strongly name the assembly and
register it in the GAC.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top