Solved

.NET Assemblies and InstallShield 2009

Posted on 2009-07-13
2
862 Views
Last Modified: 2013-11-14
I have several assemblies in .NET 2.0 that are set up for COM interop. We are trying to create an installer using InstallShield 2009, but we can't figure out how to get the assemblies registered properly. Does anyone have any ideas?
0
Comment
Question by:ericamick
2 Comments
 
LVL 12

Accepted Solution

by:
jmcmunn earned 500 total points
ID: 24849081
If it is a self registering DLL, you can right click on the file in the installation designer and make sure the checkbox for 'self register' is checked.  For .Net assemblies, you can set the ".Net Com Interop" property of the component to 'Yes' ('No' is the default).  When this is on registry entries for the COM objects of your .Net assembly will be made at install time.

If your COM interface changes a lot, you might also want to look into the 'COM extract at build' property on the component, which makes Installshield extract updated COM information each time you build.  If you end up self registering the dll's, this property must be set to NO.

Hope this helps.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
If you don't know how to downgrade, my instructions below should be helpful.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question