Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Setup Projects and COM exposed assembly
 

Setup Projects and COM exposed assembly

I am creating an assembly with classes for a Microsoft Access database to use, hence they are exposed to COM. When I create the Setup project to produce the .msi installer, will it automatically figure out to register the component (regasm) or do I need to do something myself to make sure they are registered. I am giving the installer to the client to use, so I don't want to get into having them run batch files or use the command prompt.

Thanks

VB.Net Pro  Wednesday, November 07, 2007 1:10 AM
Hi, VB.Net Pro,

Based on my understanding, you want to register your assembly in your Setup Project, don't you?

Registering assemblies is supported in Setup Project, but it is not automatically.
To do that, you should right click your Application Folder in File System view, and add the assembly through "Add->Assembly".
Then right click the assembly and choose "Properties Window", you can set Register to "vsdraCOM", and the assembly would be registered in your installation process.

Hope this helps,
Regards



Yu Guo â€?MSFT  Friday, November 09, 2007 6:15 AM
Hi, VB.Net Pro,

Based on my understanding, you want to register your assembly in your Setup Project, don't you?

Registering assemblies is supported in Setup Project, but it is not automatically.
To do that, you should right click your Application Folder in File System view, and add the assembly through "Add->Assembly".
Then right click the assembly and choose "Properties Window", you can set Register to "vsdraCOM", and the assembly would be registered in your installation process.

Hope this helps,
Regards



Yu Guo â€?MSFT  Friday, November 09, 2007 6:15 AM

You can use google to search for other answers

Custom Search

More Threads

• Updates only with ClickOnce
• Debuggin the bootstapper
• Setup needs to uninstall previous
• building setup project gives warning about app.config
• Win Form & ASP.NET
• Setup & Deployment Projects Problem
• Deployment of .NET 2.0 framework?
• Does not install German Language Pack as Prerequisites in Windows Installer Deployment
• The remote server returned an error: (504) Gateway Timeout.
• my app cannot find help files after installation