为应用程序选择安装程序时需要考虑哪些功能? [英] What features do I need to consider when picking an installer for an application?

查看:180
本文介绍了为应用程序选择安装程序时需要考虑哪些功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们分发了仅在Window的计算机(XP及更高版本)上运行的应用程序.我一直在通过使用WINRAR构建一个通常运行良好的exe进行分发,但是在我们转向支持Vista和Win7时遇到了一个问题,即应用程序路径将取决于操作系统.因此,我要么必须构建依赖于操作系统的WINRAR exe,要么必须加入现代并使用安装程序.

We distribute an application that runs only on Window's machines (XP and up). I have been distributing by building an exe with WINRAR that has generally worked well but I have run into a problem as we move to support Vista and Win7 in that the application path is going to be dependent on the OS. So I either have to build an OS dependent WINRAR exe or join the modern age and use an installer.

我已经浏览了一些安装程序和开放源代码安装程序的网站,但是由于我对编程的了解有限,因此选择不知所措.

I have scanned the websites of a couple of the installers for sale and the open source ones but since I have limited programming knowledge I am a bit overwhelmed by the choices.

正确的答案可能是因为我们没有对任何安装程序进行注册表更改.

It could be that the correct answer is that because we are not making any registry changes any of the installers will do.

推荐答案

根据您的描述,应用程序的安装过程很简单:只需复制文件即可.在这种情况下,任何安装工具都可以完成其工作.您可以尝试以下操作:

From your description, the install process of your application is simple: just copy the files. In this case, any install tool would do its job. You can try the following:

  • Inno Setup
  • NSIS (Nullsoft Scriptable Install System)
  • WiX Toolset

前两个更容易学习. WiX创建Windows Installer程序包,学习曲线陡峭;尽管您只需要按照 WiX教程来构建安装程序包.

The first two are easier to learn. WiX creates Windows Installer packages and has a steep learning curve; although in your case you could merely follow the WiX Tutorial to build your setup package.

如果安装过程如此简单以至于不需要安装,则您的应用程序用户可能会喜欢,只要给他们一个zip包即可将其解压缩到任何目录.当然,这取决于目标用户.无论如何,除了安装软件包之外,这可能是一个不错的选择.

If your installation procedure is so simple that it does not require an install, users of your application may like if you just give them a zip package which they can extract to any directory. Of course, this depends on the target users. Anyway, it could be a good option in addition to install package.

这篇关于为应用程序选择安装程序时需要考虑哪些功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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