473,397 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Installer for vb.net made COM component

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
Jun 10 '07 #1
3 1879
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!
************************************************
"Vili" <en*****@spammia.fiwrote in message
news:46***********************@news.fv.fi...
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

Jun 10 '07 #2


"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:OZ**************@TK2MSFTNGP03.phx.gbl...
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!
************************************************
"Vili" <en*****@spammia.fiwrote in message
news:46***********************@news.fv.fi...
>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

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
Jun 11 '07 #3
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...icle.php/c3951

According to the document, you will need to strongly name the assembly and
register it in the GAC.
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:OZ**************@TK2MSFTNGP03.phx.gbl...
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!
************************************************
"Vili" <en*****@spammia.fiwrote in message
news:46***********************@news.fv.fi...
>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


Jun 11 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Luke Wright | last post by:
Hi, I have built a setup project to install an application I am developing. I would like to be able to prompt the user whether to install Shortcuts in the following locations: * Start Menu *...
0
by: Chris Pratt | last post by:
I need to be able to remove some dlls from the GAC in order to return to using an older version of a component but I do not seem to be able to delete anything from the GAC in order to do so. ...
8
by: D Busby | last post by:
List I've made a .NET windows service in C++, then I added an installer to the solution. I added the 'Project Output' from my .NET service as a package for the installer to install however it does...
5
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET...
0
by: Jeff_Lav | last post by:
I'm doing a strong named assembly in vb.net that as a reference on the msi.dll. With the command tlbimp.exe i assigned a strong name to msi.dll and create à new dll called : msisnk.dll. Since...
3
by: David Preuss | last post by:
Hello all, hopefully someone can help me. I have got a service which I want to deploy. I added an installer project to my solution and did everything as stated in some kb articles (eg adding the...
3
by: DC Gringo | last post by:
Hi, I'm trying to use a custom action to modify a database (rather than create one) using the VS.NET '03's help example called "Custom Action to Create Database During Installation". I've made...
4
by: Shiraz | last post by:
Hi I'm using Visual Studio Installer to make my installer, and have not as yet figured out a straightforward way to use it to set environmental variables. Amongst the various things I tried, I'm...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.