如何在C#中创建安装文件 [英] how can create setup file in c#

查看:117
本文介绍了如何在C#中创建安装文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简单地
如何在c#项目中创建设置文件?
我的项目在数据库 sql服务器中具有.
谢谢

simply
how can create setup file in c# projects?
my project has table in database sql server.
thanks

推荐答案

除了上述答案(如果您使用的是Visual Studio Express版本,则不能在Visual Studio Professional之上创建项目)喜欢InnoSetup.

http://www.jrsoftware.org/isinfo.php [
In addition to above answers (if you''re using visual studio express edition you can''t create a setup projectmonly above visual studio professional),I prefer InnoSetup.

http://www.jrsoftware.org/isinfo.php[^]

Regards


从开发应用程序的解决方案中,右键单击,然后添加新项目->其他项目类型->设置和部署->设置向导.
这将为您创建ClickOnce安装项目,该项目可让您在任何客户端计算机上设置应用程序.
接受默认设置后,您将可以交付.msi软件包,但是如果您的应用程序具有某些特殊配置,必备组件等,则需要在安装向导项目中添加特定的配置.
From the solution which you develop your application, right click then add new project->Other project types->Setup and deployment->setup wizard.
This will create for you ClickOnce installation project which let you setup your application on any client machine.
Once you accept the default settings, you''ll be able to deliver the .msi package, but if your application has some special configuration, prerequisites assemblies, etc.. You''ll need to add your specific configuration in setup wizard project.


这篇关于如何在C#中创建安装文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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