如何为C#应用程序创建安装程序,并为Sql Server 2012包含安装程序 [英] How Do I Create An Installer For A C# Application, And Include An Installer For Sql Server 2012

查看:90
本文介绍了如何为C#应用程序创建安装程序,并为Sql Server 2012包含安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨大家好



我正在编写一个使用SQL数据库来存储遥测数据的C#应用​​程序。

我需要创建将安装应用程序的安装程序,包括.mdf数据库文件。

我也希望安装程序包含SQL Server 2012的安装文件



我在Visual Studio 2012中编写应用程序

解决方案

使用Visual Studio Installer和添加自定义操作来安装数据库的.mdf文件。


请参阅链接:

使用安装程序类轻松部署SQL Server数据库 [ ^ ]

Hi Guys

I'm writing a C# application that uses a SQL database to store Telemetry Data.
I need to create an installer that will install the application, including the .mdf Database files.
I'd also like the installer to include install files for SQL Server 2012

I'm writing the application in Visual Studio 2012

解决方案

Use Visual Studio Installer and Add custom action to install .mdf file of database.


Refer the link :
Deploy SQL Server databases easily with an Installer class[^]


这篇关于如何为C#应用程序创建安装程序,并为Sql Server 2012包含安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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