什么是部署商用台式机.NET应用程序的选项? [英] What are the options for deploying a commercial desktop .NET application?

查看:153
本文介绍了什么是部署商用台式机.NET应用程序的选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一定有许多其他开发商寻找部署 .NET 桌面应用程序,其中好的意思是:

There must be many other developers looking for a "good" method of deploying a .NET desktop application, where "good" means:

  • 易于安装的试用用户
  • 在合理的下载大小(不是350 NBSP; MB怪物)
  • 在任何购买工具成本低
  • 瞄准了Windows XP SP3,Windows和NBSP; Vista中,Windows 7等

如果用户不得不跳了太多的铁圈,或下载时间过长,则用户不会尝试的软件,并永远不会发现它是多么伟大的/有用。因此,这是重要的考虑因素。

If a user has to jump through too many hoops, or the download takes too long, the user won't try the software and will never find out how great/useful it is. So this is the major consideration.

其它相关因素:

  • 开发环境Visual Studio 2010中或2008(可切换)
  • 在安装要求很简单:没有任何的Visual Studio安装程序无法处理
  • 学习曲线:步行通过一个类似.NET的部署是非常可取
  • 虽然目前针对.NET 2.0,.NET目标(4.0客户端配置文件?)没有重新启动更高版本(Windows安装程序3.1安装!)可能是有用/可取的。

据我所知,所有的纯微软方法涉及多个文件,使复杂的安装说明(下载X,Y,运行X,收拾一下)。

As far as I can tell, all pure Microsoft approaches involve multiple files making for complex installation instructions (download X, Y, run X, tidy up).

推荐答案

如果Windows Installer 3.1或更高版本以及.NET框架是present在目标机器上,创建使用安装项目的安装是pretty的直白我的经验。

If Windows Installer 3.1 or later and .NET framework is present in the target machine, creating an installer using Setup projects was a pretty straightforward experience for me.

其结果是一个单一 MSI 的文件来下载和运行。你只要项目输出添加到安装项目,你是好去。

The result is a single MSI file to download and run. You just add the project output to the setup project and you are good to go.

如果你坚持到.NET 2.0,我相信这是小于.NET 3.5 SP1。

If you stick to .NET 2.0, I believe it was smaller than .NET 3.5 SP1.

另一种方法是 XCOPY 。您COM preSS应用程序的bin文件夹,并询问用户uncom preSS和运行应用程序。

Another alternative is XCOPY. You compress the bin folder of the application and ask the user uncompress and run the application.

这篇关于什么是部署商用台式机.NET应用程序的选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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