Solved

How to add MSI package to .NET Setup?

Posted on 2004-10-07
7
454 Views
Last Modified: 2010-05-18
I have to install two components during my setup. First I have as .EXE setup so I can add custom action and run it.
But second componnect is .MSI package. How can I add and run/install this during setup?

Patrik
0
Comment
Question by:patrikt
7 Comments
 
LVL 4

Expert Comment

by:Farshid-Zaker
ID: 12252802
Do you need a complete tutorial for building msi files? If it's the problem, take a look at http://www.codeproject.com/dotnet/dotNetInstaller.asp
0
 
LVL 16

Expert Comment

by:RobertRFreeman
ID: 12253813
Normally an .msi package comes with a setup.exe  If not, you can run it through: MSIEXEC /i filename.msi

You can add an .msi to the file browser of a setup project as any other file.
0
 
LVL 12

Author Comment

by:patrikt
ID: 12256577
RobertRFreeman does this mean that only way how to run that .msi during main setup is to add custom action with MSIEXEC?
I was serching for something simple as is adding msm, buit I see that with msi it is not as simple.

Patrik
0
 
LVL 16

Expert Comment

by:RobertRFreeman
ID: 12463398
Patrik,

Sorry for not responding sooner.  Did not get the notification email.  

I would use the custom action to run MSIEXEC as you mentioned.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12685460
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

680 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