Software architecture   how to install microsoft sql server express edition with installer project and deploy database backup
Upcoming SlideShare
Loading in...5
×
 

Software architecture how to install microsoft sql server express edition with installer project and deploy database backup

on

  • 1,242 views

 

Statistics

Views

Total Views
1,242
Views on SlideShare
1,242
Embed Views
0

Actions

Likes
0
Downloads
2
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft Word

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Software architecture   how to install microsoft sql server express edition with installer project and deploy database backup Software architecture how to install microsoft sql server express edition with installer project and deploy database backup Document Transcript

  • Development Note To: Development Team By: Shahzad Sarwar
  • Problem definition: SQL Server Express Edition needs to be installed with Visual studio .Net installer project, so that silent installation of SQL Server Express edition can be performed. Solution Points: • Create a new Setup and Deployment project • Put all the files extracted from SQL Server Express Edition exe in application folder of installer. • Add Backup file to be restored. • Check in code project sample,there will be code to check IsDone and IsRestart, left both of this checking as it is, since it is the condition that Installation class left for us to tell the main Startup Form what to do, whether to close the application or to show the form. • When you first run your application, it checks if the database instance exists, if not it will install the database instance, and restore the backup database to the new database instance. References: http://msdn.microsoft.com/en-us/library/bb264562(SQL.90).aspx http://www.codeproject.com/KB/applications/NET_Installer_With_SQLEXP.aspx http://www.primordialcode.com/blog/post/install-sql-server-express-with-your- application