c#windows应用程序安装程序 [英] c# windows application installer

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

问题描述





i需要为我的winforms应用程序创建安装程序。

i在网上搜索。



但我没有得到我想要的东西。我的要求是:



安装时应该询问你想要使用哪个驱动器。所选的驱动器和文件夹应该在我的项目的文本框中显示



i need to create installer for my winforms application.
i searched the web .

but i didn't get what i want. my requirement is:

when am installing that setup that should ask which drive you want to use. and that selected drive and folder should apper in textbox of my project

推荐答案

通常的安装程序功能是自定义目标目录(但不是驱动器,目录名称)。此功能应该适用于所有非废话安装程序工具集。我通常推荐使用开源WiX:

http://en.wikipedia.org/wiki/WiX [ ^ ],

http://wixtoolset.org [ ^ ]。



使用它的主要原因之一可能是与MSBuild和Visual Studio最正确的集成。在这方面(以及其他方面),该产品远远领先于标准项目模板设置,该模板曾经与早期版本的Visual Studio以及许多其他产品一起提供。请查看我过去的答案:

installshield和Visual Studio 2012 [ ^ ],

自定义安装项目 [ ^ ]。



-SA
The usual installer feature is a custom target directory (but not a drive, a directory name). This feature should be available in all non-nonsense installer toolsets. I usually recommend open-source WiX:
http://en.wikipedia.org/wiki/WiX[^],
http://wixtoolset.org[^].

One of the main reason for using it to me is probably the most correct integration with both MSBuild and Visual Studio. In this respect (and other aspects) this product is well ahead of the "standard" project template "Setup" which used to come with earlier versions of Visual Studio, as well as many other products. Please see my past answers:
installshield and Visual Studio 2012[^],
Custom setup project[^].

—SA


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

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