• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 156
  • Last Modified:

How to restore database while installing SQL Server 2008 R2 using IS 2010 Ver16

I have completed a self install of SQL server 2008 R2 using Install Shield 2010 Ver 16.  Works 100%.  Now I would like to have it restore a database whilst doing the SQL install.
I don't seem to be able to find where in IS that I can tell SQL to restore the database at the end on the install.
0
weeph
Asked:
weeph
1 Solution
 
Benjamin MOREAUProject ManagerCommented:
If I understand well, you want to automate the SQL Installation and the database restore.

I think you can use Powershell to do that; it will be the better solution.

Read this (good) article for more information : http://www.codeproject.com/Articles/110908/SQL-DB-Restore-using-PowerShell
0
 
weephAuthor Commented:
Thanks for that. Worked well
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now