Click here to Skip to main content
15,921,959 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
simply
how can create setup file in c# projects?
my project has table in database sql server.
thanks
Posted
Comments
[no name] 30-Jul-12 11:41am    
Simply create a setup and deployment project.
FM7 30-Jul-12 12:19pm    
thanks
Sergey Alexandrovich Kryukov 30-Jul-12 11:45am    
...yes, a build of the setup file is a separate kind of project. What have you done so far? Please see VS project templates (if you are using Visual Studio).
--SA
FM7 30-Jul-12 12:20pm    
nothing so far.
i do not know how to add my database table to the setup file
Sergey Alexandrovich Kryukov 30-Jul-12 12:56pm    
When you create a setup project, Visual Studio will give you an option to add any items. Just start doing it, ask more specific questions if you have issues.
--SA

In addition to above answers (if you're using visual studio express edition you can't create a setup projectmonly above visual studio professional),I prefer InnoSetup.

http://www.jrsoftware.org/isinfo.php[^]

Regards
 
Share this answer
 
v2
From the solution which you develop your application, right click then add new project->Other project types->Setup and deployment->setup wizard.
This will create for you ClickOnce installation project which let you setup your application on any client machine.
Once you accept the default settings, you'll be able to deliver the .msi package, but if your application has some special configuration, prerequisites assemblies, etc.. You'll need to add your specific configuration in setup wizard project.
 
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