Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make an installer for my C# application?

I have created an application (C#, Windows Forms) on Visual Studio 2008, and now I want to make installer of this application. How can this be done?

I want my installer to

  • Copy all the files that my application is using to a user chosen path (copy the files to the chosen, some for the server-side application and some for the client side).
  • Also install .NET 3.5
  • Check for SQL Server or SQL Server Express Edition

How can I do it?

like image 324
Moon Avatar asked Feb 12 '10 10:02

Moon


1 Answers

  1. Add a new install project to your solution.
  2. Add targets from all projects you want to be installed.
  3. Configure pre-requirements and choose "Check for .NET 3.5 and SQL Express" option. Choose the location from where missing components must be installed.
  4. Configure your installer settings - company name, version, copyright, etc.
  5. Build and go!
like image 124
sashaeve Avatar answered Sep 19 '22 21:09

sashaeve