How to create windows application setup with datab

2019-08-05 07:34发布

I want to create a Windows Application in VS 2012 with database in MS SQL server 2008. How can I create a setup which creates this database?

I don't want to install SQL Server on the target PC. I just want to install my application and create the database. How can I do this?

1条回答
贪生不怕死
2楼-- · 2019-08-05 08:05

I'd use WindowsInstallerXML (WiX) to create the installation package; with WiX there is native support to handle database creation and hopefully this should be suitable to help you with what you need.

However, WiX can be incredibly difficult to just pick up and learn (especially if you need help with English) so this might not be the best option for you.

查看更多
登录 后发表回答