Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
hi guys ,
i am using installshield 2012 and i want to deploy my database from backup file
but take care of the following
1- Creating database with name (xxx) .
2- creating User (Sa , with pass = YYY).
3- restore my back up file to the created database .


any one can help ?

thanks
Posted
Comments
[no name] 3-Jul-12 16:56pm    
http://community.flexerasoftware.com/forumdisplay.php?f=275

1 solution

InstallShield already has SQL Server Script support[^]

Don't simply attach your database, you should use sql scripts to create all of its components
 
Share this answer
 
Comments
Yasser El Shazly 4-Jul-12 17:04pm    
how can i create these required script from sQL server 2008 to achieve these steps and what is the scripts required and its order ? , thanks
barneyman 4-Jul-12 18:36pm    
in SQL Management Studio, right click on the database, chose Tasks, Create scripts; this will create the scripts in the right order

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