views:

283

answers:

4

i like to setup for my project i did my project in Microsoft visual studio c#.net 2008, where i have start for that

A: 

You will have to add a new Setup and Deployment project to your solution. Here is a nice step by step instructions.

Note: Which version of VS are you using? I am not sure whether this project type is available in Express Edition.

Shoban
A: 

I use Inno Setup with ISTool (both are free) to create setup for my .NET C# applications.

Play around with ISTool and simply include your application files into the setup. Then configure to Download and install .NET redistributable and other components when required.

thephpdeveloper
+3  A: 

I'm surprised noone has mentioned this yet:

Windows Installer XML (WiX) toolset

Open source, from Microsoft. (Yes, you read that right).

Free to use, yet very capable (used to create the Microsoft Office 2007 installer).

Based on commandline tools, so easily integrated into a build system.

My speculation: Since Rob Mensching (the primary author) has just moved into the Visual Studio team at Microsoft, this is likely to be directly supported (in some form) in the version of Visual Studio following 2010.

Update: An interesting interview with Rob Mensching on Hanselminutes. On the show, Rob talks about how WiX is more than 10 years old, though the first public release was April 5, 2004.

Bevan
@Bevan The reason I didn't bring it up is that I wanted to provide products that have been around a bit longer with better support and information. Wix hasn't been around long and there have been quite a few issues including the installer for office... but the OP could play if he'd like.
James Campbell
WiX has been around for a decade - that's quite a while in this business. I've updated my answer to link to a Jan 2010 Hanselminutes episode where Rob Mensching talks about the history and development of the project.
Bevan