I am creating database project and need to create a MSI installer package. I am using VS2010. I looked around and most are using wix package. But i was looking for something more standard using MSI installer. Has someone worked on it and can help me start off with it? I have never build an MSI package before though..
I don't think the Visual Studio installer project has out-of-the-box Sql database installation features. You still need to write your own custom actions to execute scripts that create the database and all the required objects (tables, views, SPs, users, permissions, etc.) Although Wix
has a steep learning curve, I think it's worth investing time and effort in it, because it is powerful and will help you in the long run. Wix
has special elements like SqlDatabase
or SqlScript
that are designed for this purpose. Some resources that might help you:
您是否考虑过创建.dacpac并使用命令行进行部署?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.