MSI安装包的主要优点是什么? [英] What's the prime advantage to having an MSI installation package?

查看:334
本文介绍了MSI安装包的主要优点是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我以为这会在网络上的某个地方,但是我不能这样说:

I thought this would be somewhere on the Web, but I couldn't Google it:

鉴于创建MSI包的复杂性(与NSIS相比, InnoSetup等),什么是令人信服的理由经历所有的混乱(使用MSVS的笨蛋设置项目向导,学习一个全新的langauge /生态系统只是为了使安装程序(WiX),或支付大量许可证费用(InstallShield) )为了制作一个MSI安装程序?

Given the complexity involved in creating an MSI package (compared to NSIS, InnoSetup, etc.), what would be a compelling reason to go through all the mess (using MSVS's crappy setup project wizard, learn a whole new langauge/ecosystem just to make the installer (WiX), or pay heavy license fees (InstallShield)) for the sake of making an MSI installer?

除了明显的

推荐答案

我不认为在所有情况下都有一个主要优势。以下是我喜欢的一些事情,与其他类型的安装程序:

I don't think there is one prime advantage for all situations. Here are some things I like about it, vs other kinds of installers:


  • 安装逻辑和代码包含在数据库中,这是一种可访问的格式。
    调试时我非常喜欢这个。您可以使用Orca(从MS免费下载数据库)直接编辑数据库,而不是重建安装程序,然后再次运行安装以测试更改。更新您的自定义代码,暂时解决问题,更改操作顺序,无论您需要做什么。

  • Install logic and code is contained in a database, which is in an accessible format. I like this a lot when I'm debugging. Rather than rebuilding your installer, you can directly edit the database with a tool like Orca (free database editing download from MS), then run the install again to test your changes. Update your custom code, temporarily condition something out, change the order of operations, whatever you need to do.

修补。安装程序服务及其相应的工具知道如何创建包含更新文件三角形的修补程序,而不是完整的文件。它允许维护大小保持合理。

Patching. The Installer service and its corresponding tools know how to create patches containing deltas of updated files, rather than complete files. It allows maintenance sizes to remain reasonable.

管理图像。安装程序可以创建管理映像。如果生成修补程序,则可以将修补程序应用于管理映像,然后可以从管理映像而不是原始安装程序运行新的安装。喜欢在OS映像中的流游贴。如果你把你的应用推送到大量的机器上,那么在安装后不需要推出一堆补丁是非常好的。

Administrative Images. The installer can create an administrative image. If you've generated patches, you can apply the patches to the administrative image, and new installations can then be run from the administrative image rather than the original installer. Like slipstreaming patches in OS images. If you're pushing your app out to a large number of machines, it's pretty cool to not need to push a bunch of patches out post-install.

其他有趣的功能包括转换,从源运行,检测和修复,组件共享等。

Other interesting features include transforms, run from source, detect and repair, component sharing, and so on.

这篇关于MSI安装包的主要优点是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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