how to create .msi ?

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

I have a C# application solution (with 2 projects)
it's finished and I'm happy with that I have.
I use VS.NET 2003 for the development.

now I want to create an install package (typically a .msi), well, I have
absoultely no idea where to start, not even which documentation look !

Could anyone shed some light for me ?
 
You Add a project, to your solution.. you know that page where you choose
"Windows Application", "ASP.NET Web Application"??

Well, on the left - there is Setup and Deployment Projects - then choose
Setup Project, it will make an installer or cab file for you..
 
Lloyd Dupont said:
I have a C# application solution (with 2 projects)
it's finished and I'm happy with that I have.
I use VS.NET 2003 for the development.

now I want to create an install package (typically a .msi), well, I have
absoultely no idea where to start, not even which documentation look !

Could anyone shed some light for me ?

Just add a "Setup Wizard Project" to your solution. It would automatically
scan for the dependecies. You also can specify during one of the steps of
the wizard whether to include all "content" files in your setup package.
After that you have just to build it as a normal project. It's very simple
really.
 
Hi,

Right click on the sollution in the 'Solution Explorer', select Add>New
Project. At this point you will get the 'Add New Project' dialog, on the
left hand side select 'Setup and Deployment Projects' and on the right you
can select 'Setup Project'. Give it a name and make sure that the Location
is set correctly now press OK.

From this point you will have a Deployment project in your solution. There
are a thousand things you can configure and control. But just to get you
started, you can Right click on the newly created setup project, again this
is in the Solution Explorer, and select Add>Project Output. Select your
project from the combobox then select Primary output from the listbox, Press
OK. Repeat this for your second project. If you compile at this point, a msi
will be created giving you a very basic installation for your project.

This might help

http://msdn.microsoft.com/library/d.../vbtskcreatinginstallerforyourapplication.asp

Watch for the line wrap!!

Regards

Chris Taylor
 
Back
Top