Click here to Skip to main content
Sign Up to vote bad
good
Hi all
 
I have build a win form application in visual studio using C#. Now i want to deploy that one and generate a setup file.In visual studio a Publish option is present .
When i click on that it generate a setup file with some supporting files .If we delete the supporting file that setup(.exe) is not working.
 
Actually i want the setup file along.
 

How can i generate only setup file?
Or Give some good website name so that i can easily deploy that program.
 

I am using visual studio 2010 express
Please help
 
Thanks in advance.
Posted 26 Apr '12 - 20:15
Edited 26 Apr '12 - 20:37


4 solutions

  Permalink  
Comments
bhagirathimfs - 27 Apr '12 - 2:30
I am using visual studio 2010 in which no 'add' option is there and in new project there is no 'other project type' present. please give another link
Use Set up and Deployement Project in Visual Studion.
This link helps you,See
http://www.c-sharpcorner.com/UploadFile/vishnuprasad2005/SetupProjects12022005022406AM/SetupProjects.aspx[^]
  Permalink  
Comments
bhagirathimfs - 27 Apr '12 - 2:46
in visual studio 2010 express there is no option like 'setup and deployment' please suggest any other link.
Uma Shankar Patel - 27 Apr '12 - 3:00
Then you can use any third party software see http://nsis.sourceforge.net/Main_Page
Hi,
You can refer to the following article to create a setup of your application:
 
http://deepak-sharma.net/2012/03/13/how-to-create-an-installer-for-a-winform-application-using-setup-project/[^]
  Permalink  
Hi,
 
You have to merge you all application ans\d setting file in one and make only one exe setup file using setup and deploying project of visual studio. And also you can use ILMErge tools of microsoft to merge your setting files for demo follow the below link:
 
Merging .NET assemblies using ILMerge[^]
 

 
Regards,
Saurabh
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 414
1 Arun Vasu 223
2 OriginalGriff 190
3 CPallini 163
4 Aarti Meswania 158
0 Sergey Alexandrovich Kryukov 10,169
1 OriginalGriff 7,749
2 CPallini 4,181
3 Rohan Leuva 3,482
4 Maciej Los 3,089


Advertise | Privacy | Mobile
Web03 | 2.6.130523.1 | Last Updated 27 Apr 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid