Setup and Deployment

R

Ricky

I am doing setup and deployment for the first time
in .NET. I have developed an application in VB.NET which
uses a third party component. But in order for the
component to work I need to register the component first.
So I developed another applciation which does the
registering automatically. So now I have 2 exe's.
One exe registers the component and calls the actual
second exe.
When I am creating the setup I am selecting both the
exe's to be included in the setup. But both of them show
up when deploying.

Is there any other way of doing this? I mean just
including the component when selecting the launch
registry etc...
 
S

SStory

Do a custom launch action maybe..

after normal setup completes.....

have it run your exe or whatever from the CD to install.

You can find that in online help Custom Launch Action I think.

I have done one simple one.

You can do very complex custom install things that inherit some classes but
mine just called an exe that I placed on the cd in addition to other files.

HTH,

Shane
 
T

Todd Derksen [MSFT]

Ricky,

If they are referenced by your code they should be automatically added to
the setup project (whether in a MSM for or standalone files)
Also the register property on the files should be automatically populated
so that they just work.
If they are not automatically added to your setup project you can add them,
If there are files that are not marked to be registered you can change
there register property so that the MSI will take care of the registration
work for you.

I hope that answers your question, if not just reply with more specific
details.

Todd Derksen
 

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