且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在安装过程中使用c#编码如何在SQL Server中运行数据库脚本来创建数据库和表.

更新时间:2023-01-16 17:37:07


看一下链接:
使用Visual Studio安装程序安装sql server数据库 [启动条件操作 [ ^ ]

有关更多信息,请参考关于Windows Installer-命令行选项 [ ^ ] MSDN文章.

除此之外,您可以使用WMI脚本来安装您的msi文件.要了解如何执行此操作,请参阅 [
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


检查此

部署您的应用程序和数据库 [
Check this

Deploy your Application and Database[^]


Plz Express Littlle弄糊涂了
Plz Express Littlle Mre its confusing