Solved

How to add MSI package to .NET Setup?

Posted on 2004-10-07
7
455 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
[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
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How can I do Unit Testing with Session ? 1 39
Removing Version of .NET in Windows 10 17 109
Read top line from CSV file 14 55
search by any word in column 5 27
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

738 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