简体   繁体   中英

How to Create Setup Project with Sqlserver Database Using Visual Studio 2008

I've tried to create regular setup project in .Net 2008 and it's working fine.

But the problem is the database.

I already have SqlServer database I want to attach database along with setup file.

When I start the installation it should attach the database on desired location.

Please help me on this issue.

Simple: you do not. The setup project in Visual Studio is a degenerate simple case that does not cover more compelx scenarios.

Install WIX and write your installer the proper way - ie defining what you do.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM