How to add MSI package to .NET Setup?

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
LVL 12
patriktAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
moduloConnect With a Mentor Commented:
PAQed with points refunded (500)

modulo
Community Support Moderator
0
 
Farshid-ZakerCommented:
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
 
RobertRFreemanCommented:
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
 
patriktAuthor Commented:
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
 
RobertRFreemanCommented:
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
All Courses

From novice to tech pro — start learning today.