我有创建桌面基础应用程序,现在我想使用安装文件自动安装Sql Server数据库? [英] I Have Create Desktop Base Application And Now I Want To Install Sql Server Database Automatically With Using Setup File ?

查看:79
本文介绍了我有创建桌面基础应用程序,现在我想使用安装文件自动安装Sql Server数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用sql server数据库设置文件

setup file with sql server database

推荐答案

1.您应该创建一个Windows安装项目;



2.在解决方案资源管理器中右键单击安装项目并打开其属性窗口;

然后在属性窗口(安装项目)中单击先决条件按钮;



3.在Prerequisites窗口中,选择必须与您的应用程序一起安装的SQL版本(如果之前未安装)。
1.You should create a Windows Setup project;

2.In your Solution Explorer right click on the Setup Project and open its Property window;
Then In the property window (of the setup project) click on "Prerequisites" button;

3.In the Prerequisites window select the SQL version that must be installed (if wasn't installed before) together with your application.


这篇关于我有创建桌面基础应用程序,现在我想使用安装文件自动安装Sql Server数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆