C#应用程序设置 [英] c# application setup

查看:68
本文介绍了C#应用程序设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在客户端pc上部署我的应用程序.我已经在Visual Studio2008中使用c#和sqlserver作为数据库开发了我的应用程序.我在设置文件中包含了Framework3.5,但是我想将我的应用程序与框架和数据库文件一起部署.请告诉我如何在应用程序设置中包括数据库,框架.它非常紧急!

i want to deploy my application on client pc.i have developed my application in visual studio2008 using c# and sqlserver as database.i have included framework3.5 in setup file but i want to deploy my application with framework and database file.please tell me how to include database,framework in application setup.its vry urgent!!

推荐答案

您好,

包括所需(需要)的框架非常容易集成,只需将其添加为VS Studio安装程序中的前提条件即可.框架的安装文件必须复制到Setup-Release文件夹中.
VS安装程序项目不提供创建数据库的功能.
但是有像WIX这样的解决方案可以在安装过程中在客户端上创建数据库,请阅读:

http://msdn.microsoft.com/en-us/library/49b92ztk%28v = vs.80%29.aspx [ ^ ]

用于安装数据库的WIX [
Hi,

including your desired (needed) framework is quite easy to integrate, just add it as Prerequisites in your VS Studio Setup. The setup file of your framework has to be copied to Setup-Release folder.
Creating a database isn''t provided by VS Setup Project.
But there are solutions like WIX to create a database at client during install, please read this:

http://msdn.microsoft.com/en-us/library/49b92ztk%28v=vs.80%29.aspx[^]

WIX for Install DataBase[^]

Best Regards


这篇关于C#应用程序设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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