Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm using MSI Project with InstallShield 2010.

I have a .bak file, a backup of a SQL database (I am using SQL Server 2008 R2). How can I restore it using InstallShield?

I was looking in SQL Scripts tab and I didn't find anything about restoring backups.

Thanks for your time!
Posted

1 solution

create an sql script that contains:
Restore database DatabaseName from disk='path of your bak file'
 
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