[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

.NET Assemblies and InstallShield 2009

Posted on 2009-07-13
2
Medium Priority
?
870 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
jmcmunn earned 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

650 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