Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 21:15pm
Edited 26-Apr-12 21:37pm
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
bhagirathimfs at 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
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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 at 27-Apr-12 2:46am
   
in visual studio 2010 express there is no option like 'setup and deployment'
 
please suggest any other link.
Uma Shankar Patel at 27-Apr-12 3:00am
   
Then you can use any third party software
see
http://nsis.sourceforge.net/Main_Page
 
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

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
0 OriginalGriff 7,903
1 Sergey Alexandrovich Kryukov 7,142
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,820


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 27 Apr 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100