制作C#项目的安装包

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1142430/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-06 09:14:26  来源:igfitidea点击:

Make installation package of C# project

c#installationpackage

提问by Sauron

I have done a software in C#. How can I make a Installation Package for the software?

我用C#做了一个软件。如何制作软件的安装包?

采纳答案by Lloyd Powell

I would recommend NSIS, it has been brilliant for me.

我会推荐NSIS,它对我来说非常棒。

If you want to use Visual Studio, check this link out, VS does most of the work for you, but a lot of people don't like this technique.

如果您想使用 Visual Studio,请查看此链接,VS 为您完成了大部分工作,但很多人不喜欢这种技术。

There is also WIX, which i personally haven't tried but have heard a lot about.

还有WIX,我个人没有尝试过,但听说过很多。

回答by Matt Jacobsen

Load up VS.NET and create a new Setup Project:

加载 VS.NET 并创建一个新的安装项目:

New Project -> Other Project Types -> Setup And Deployment -> Setup Project.

新建项目 -> 其他项目类型 -> 设置和部署 -> 设置项目。

回答by Cecil Has a Name

Depends on your deployment requirements. Is this using Visual Studio? ClickOnce (Build->Publish) will probably suit your needs.

取决于您的部署要求。这是使用 Visual Studio 吗?ClickOnce (Build->Publish) 可能会满足您的需求。

回答by Marcom

or you can download and use 3rd party installers.

或者您可以下载并使用 3rd 方安装程序。

for example install shield

例如安装屏蔽