Link to home
Start Free TrialLog in
Avatar of patrikt
patriktFlag for Czechia

asked on

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
Avatar of Farshid-Zaker
Farshid-Zaker

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
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.
Avatar of patrikt

ASKER

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
Patrik,

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

I would use the custom action to run MSIEXEC as you mentioned.
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial