To deploy a desktop application(C# 2008,SQL SERVER 2005)
I want to deploy a desktop application.Help me out to create a set up file such that there wont be any SQL SERVER database error.The Client machine wont be having visual studio2008 and SQL SERVER 2005 installed.I want after the installation of software(my application)there should not be any error or exception ,it should run successfully without any error.This is my first .net project.help me to solve my problem.Thank you.
Prasant JinagaPosted Mar 12, 2012, 8:27 AM
To Deploy a Desktop Application you need to create a set up Project.Follow following Steps.
- Go To Solution Explorer
- Right Click Add New Project
- Go To Setup & Deployments
- Add Setup Project which means Creates a Windows Installer project to which files can be added. This project type is the most generic of the five.
- Right click on Setup project View File system
- In file system you can see a folder called Application folder
- Right click Add --> Project output
- Add Primary output from the Popup Window
- Build It
This will create a windows installer file in the Project location.and as far as Sql server DB is concerned There has to be a server where the DB should be installed,and your App you can change the connection string in App.Config file it will work.
Hope it helps.
Thanks,
Prasant