Click here to Skip to main content
15,914,400 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
Dear,


How to make .exe setup file in c# windows application and also how many type we are making exe setup file(give m example).
Posted
Comments
Sushil Mate 4-Jul-13 2:26am    
what does it mean by how many type?
Ashwini kumbhar 11-Jul-13 1:50am    
how many methods used to create .exe setup file
Sergey Alexandrovich Kryukov 4-Jul-13 2:28am    
Please start here: http://www.whathaveyoutried.com.
There is the installation SDK and number of products. Which ones did you try out?
—SA
Sushil Mate 4-Jul-13 2:34am    
great link, Thanks for sharing.
Sergey Alexandrovich Kryukov 4-Jul-13 2:37am    
:-)

Nevertheless I'll try to answer your question.

Quote:
create a project using Other Project Types template.

expand Setup and Deployment and choose your installer project. Recommendation (from what you want): Visual Studio Installer - Setup Wizard

but you can chose others as well.

with the Setup and Deployment, you can include those files (images, XML, etc.) in the package



Follow the link for different templates, Windows Installer section. Deployment[^]

http://stackoverflow.com/a/6090929[^]
 
Share this answer
 
v2
Here you can get with screen shots:
http://www.thecodekey.com/Articles/C_VB/Create_Setup_in_Windows_Application.aspx[^]

If this one help to you pls accept as answer and vote.
 
Share this answer
 
v2
Comments
Ashwini kumbhar 10-Jul-13 8:22am    
thanks sir but i create .exe setup file with database because.how i can add database in the .exe setup file
Ashwini kumbhar 10-Jul-13 8:24am    
if my database is SQL 5 and for eg.computer1. in this computer SQL 5 is available then how i can run this .exe setup file without sql05(without install Sql 2005 ya other )
jaideepsinh 10-Jul-13 8:35am    
You have to install sql server on that computer on which you want to install you software and make new data base and all table which you create on you application then set that data base path in you app.config file this way you can use that data base.
See more on this link:
http://www.codeproject.com/Questions/318695/Add-sql-server-database-in-exe

If this one help to you pls accept as answer and vote.
 
Share this answer
 
Comments
Ashwini kumbhar 10-Jul-13 8:18am    
its ok but actually i want to add database in the .exe setup file beacase my project will be run in any computer no any path error will be fine. how i can do this

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