Click here to Skip to main content
15,903,012 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Quote:
i want that,when my application is installing my database script also run and create database and table in SQL server while installation process but i dont know how to do it ,please somebody help me.
Posted

Hi,
Take a look at the links:
Install sql server database with visual studio setup[^]

Try reading LaunchConditions Action [^]

For more information, please refer to the About Windows Installer - Command Line Options[^] MSDN article.

Besides that, you can use the WMI script to install your msi file. To learn how to do this, please see this[^] article.



--Amit
 
Share this answer
 
 
Share this answer
 
Plz Express Littlle Mre its confusing
 
Share this answer
 
Comments
[no name] 20-Aug-12 0:37am    
The Solutions are just for answers.
You should learning how to comment.
RAKESH CHAUBEY 20-Aug-12 21:20pm    
Will do that ..Thanks ..I am New to this Thats y mistake .

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