Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Include database table structure in the setup file.
 

Include database table structure in the setup file.

I am creating a setup file for my application.
I have a database with several tables(around 20).
I want to include them also(table structure) in the setup file so that the end user can install the application and database together.
How can i include this database part in the setup file?

Any information on this links, articles, suggestions are welcome.

Thanks in Advance.

rowter  Thursday, August 13, 2009 3:03 PM
What kind of database? SQLServerCE, SQLServerExpress, SQLServer, Access? ClickOnce (publish tab in VS) or Setup & Deployment package? Which version of Visual Studio? RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Thursday, August 13, 2009 11:54 PM
Hi Robindotnet,

I am using sqlserver database. VS version is 3.5. This is for a winforms application. We want to pu everything on a cd and send to the ed users.
Winform application we could create a setup file and it is ready.
For the database, i never did it and do no know anyway of doing it.

Thanks

rowter  Friday, August 14, 2009 2:37 PM

The following article tells about Using a Custom Action to Create a Database at Installation. Hope this helps.

http://msdn.microsoft.com/en-us/library/49b92ztk.aspx

Best regards,

Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Monday, August 24, 2009 12:52 PM

You can use google to search for other answers

Custom Search

More Threads

• Identifying a ClickOnce deployment without separate setup at runtime
• User Data file?
• Use and deployment of a custom application framework
• Deployment Installer issue/problem
• Critical issue, how to implement a full installation for a Windows Service?
• CAS Debuging
• Does not install German Language Pack as Prerequisites in Windows Installer Deployment
• Clickonce Deployment Issue
• Setup Project, Deployment information, resources
• upgrading ur app