Click here to Skip to main content
15,880,956 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Updated 26-Apr-12 20:37pm
v2

 
Share this answer
 
Comments
bhagirathimfs 27-Apr-12 2:30am    
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[^]
 
Share this answer
 
Comments
bhagirathimfs 27-Apr-12 2:46am    
in visual studio 2010 express there is no option like 'setup and deployment'

please suggest any other link.
uspatel 27-Apr-12 3:00am    
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/[^]
 
Share this answer
 
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
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900