How to build setup in C# application


  • Hi

    How to build setup in C# application.

    I want to install in my system.

    Thanks and Regards


    Monday, March 04, 2013 7:37 AM


All replies

  • Create a new SetupAndDeployment Project, add your application Project to this new "SetupAndDeployment". Add the Output Folder to the "SetupAndDeployment" and then buid.
    Monday, March 04, 2013 7:40 AM
  • Hi Chandran ,

    Welcomes you to MSDN forums..

    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!

    Check the follwing links and it have detailed step by step explanantion with screenshots.

    Chech this vedio also

    I hope it will helps to you


    A Pathfinder..


    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful"

    • Marked as answer by Thursday, March 07, 2013 7:01 AM
    Monday, March 04, 2013 7:42 AM
  • Please note that the Setup project is no longer available or supported in VS 2012.  Setup projects will not load in VS2012 even if created in order versions of VS.

    In order to create a setup program you will need to use a third-party solution.  VS2012 provides a link to install the free version of InstallShield.  Alternative solutions include NSIS and WiX.

    Michael Taylor - 3/4/2013

    Monday, March 04, 2013 3:49 PM