Groups | Blog | Home
all groups > c# > august 2003 >

c# : how to create .msi ?



Drebin
8/28/2003 1:31:21 PM
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..

[quoted text, click to view]

Pete
8/28/2003 3:30:28 PM
Hi,

On a slightly separate note: anyone know how to do this without visual
studio?

Pete

[quoted text, click to view]

Chris Taylor
8/28/2003 4:41:14 PM
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/default.asp?url=/library/en-us/vsintro7/html/vbtskcreatinginstallerforyourapplication.asp

Watch for the line wrap!!

Regards

Chris Taylor

[quoted text, click to view]

÷ÏÒÏÎËÏ×
8/28/2003 5:36:25 PM

"Lloyd Dupont" <net.galador@ld> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:#sEEyeWbDHA.1580@tk2msftngp13.phx.gbl...
[quoted text, click to view]

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.

Lloyd Dupont
8/28/2003 11:24:14 PM
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 ?

Lloyd Dupont
9/6/2003 2:43:16 AM
sorry not to answer earlier.
yep I found it, thanks all :-)

"Drebin" <tRhEeMdOrVeEbin@hotmail.com> a écrit dans le message de
news:Jun3b.35205$Vx2.15292505@newssvr28.news.prodigy.com...
[quoted text, click to view]

AddThis Social Bookmark Button