arcross
asked on
Install SQL database with all the objects though another program
Hello,
Im creating an installation package using the Setup And Deployment that comes with visual studio.
But i need to create a database if it is not there and install it. Ive got all the scripts to do this in a .sql file that i created using SQL server express.
My question is how can i execute this after installation of my application?
I though of creating another exe file and execute it automatically after the installation. This exe program would, then, execute the sql script.
but im not sure about that. Any ideas on this?
Im creating an installation package using the Setup And Deployment that comes with visual studio.
But i need to create a database if it is not there and install it. Ive got all the scripts to do this in a .sql file that i created using SQL server express.
My question is how can i execute this after installation of my application?
I though of creating another exe file and execute it automatically after the installation. This exe program would, then, execute the sql script.
but im not sure about that. Any ideas on this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.