创建C#安装程序的最佳方法 [英] Best Way To Create C# Installer
问题描述
我使用Visual C#2008 Express Edition.我希望能够为我拥有的项目创建安装程序.我可以使用发布"工具来做到这一点,但是您几乎无法控制.
I use Visual C# 2008 Express Edition. I would like to be able to create an installer for a project I have. I can kind of do it with the Publish tool, but you get little to no control.
是否有一种免费的方法可以执行此操作,或者我是否需要冒充VS2008的完整版本? -或者- 我只是不知道发布时在做什么吗?
Is there a free way to do this, or do I need to spring for the full-blown version of VS2008? -or- Do I just not know what I am doing when publishing?
我最大的问题是,它不允许用户选择程序的安装位置,而只是将其放置在预定义的位置.
My biggest issue is that it doesn't let the user choose where to install the program, it just drops it in some predefined location.
推荐答案
如果不需要使用MSI,则可以使用Nullsoft可编写脚本的安装系统.它是免费的,是许多开源程序使用的安装程序.
If you do not need to use MSI, you could use the Nullsoft Scriptable Install System. It is free and is the installer used by a lot of open source programs.
http://nsis.sourceforge.net/Main_Page
这篇关于创建C#安装程序的最佳方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!