WiX 和 WiX 工具集有哪些限制?

发布于 2024-09-27 15:13:47 字数 338 浏览 0 评论 0原文

我一直未能成功地尝试找到列出 WiX(Windows Installer XML)/WiX 工具集功能限制的文章或帖子。使用 WiX 几周后,我可以想到最新 RTM 版本 (v3.0) 中至少有两个限制

  • WiX Toolset 无法创建引导程序(安装程序.exe)。
  • WiX 工具集无法从 COM 可执行文件检索COM 注册信息。

您还能想到其他限制吗?您在进行部署项目时遇到过什么情况吗?我认为这些信息对于学习 WiX 的人来说可能会很方便。

I have been unsuccessfully trying to find an article or post listing functional limitations of WiX (Windows Installer XML)/WiX Toolset. After using WiX for a couple of weeks, I can think of at least two limitations in the most recent RTM version (v3.0):

  • WiX Toolset cannot make a bootstrapper (setup.exe).
  • WiX Toolset cannot retrieve COM registration info from a COM executable.

Can you think of other limitations? Something you ran into while working on a deployment project? I think this info could be handy for people who learn WiX.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

廻憶裏菂餘溫 2024-10-04 15:13:47

对我来说,回答这个问题最简单的方法是 WiX 缺少 InstallShield 所具有的功能(功能差距)。

  • Bootstrapper/Chainer - WiX 有一个名为 Burn 的引导程序,现已包含在 WiX v3.6 中。
  • XML 读取 - WiX 仅具有 CA
    写入而非读取 (AppSearch) XML
    文件
  • 文本搜索/替换 - InstallShield
    具有读/写非模式
    INI/XML 文件
  • 仅 MSSQL - 不支持 Oracle
    和 MySQL
  • 自动化接口 - 无 DOM
    以编程方式更新/生成
    项目。必须用原料来做这一切
    XML。
  • 没有本机 IIS 7 支持 - WiX v3.5 Mostly Text Only 工具集提供本机 IIS7 支持
  • 。无图形用户界面
    重型起重设计师(参见
    是WiX)。 XML 很简洁并且有它的特点
    但它就像比较记事本
    混合。

我已经使用热量相当成功地提取了 COM,所以这不再是我关心的问题。

It's easiest for me to answer this question in terms of what is WiX missing that InstallShield has ( feature gap ).

  • Bootstrapper/Chainer - WiX has a bootstrapper called Burn which is now included in WiX v3.6.
  • XML Read - WiX only has CA's for
    writing not reading ( AppSearch ) XML
    files
  • Text Search / Replace - InstallShield
    has patterns for reading/writing non
    INI/XML files
  • MSSQL Only - No support for Oracle
    and MySQL
  • Automation Interface - No DOM for
    programatically updating/generating
    projects. Have to do it all with raw
    XML.
  • No Native IIS 7 support - Native IIS7 support is present from WiX v3.5
  • Mostly Text Only toolset. No GUI
    Designers for heavy lifting ( see
    IsWiX ). XML is concise and has it's
    place but it's like comparing Notepad
    to Blend.

I've used heat to extract COM fairly successfully so that's no longer a concern to me.

油饼 2024-10-04 15:13:47

我想补充几点,但这些很难被称为严重的限制,因为它们都可以解决:

  • 没有现成的工具可以将转换(MST)嵌入到 MSI 包中;这就是 msidb.exe 发挥作用的地方。
  • 您必须做额外的工作来创建具有多个本地化的单个包,例如创建 N 个包、针对中性包生成 N 个语言转换、将这些转换嵌入到包中、指示您的引导程序调用正确的语言转换
  • WiX 3.0 的 IIS 扩展相当有限 - 它仅在 IIS 6 兼容模式下支持 IIS 7;但幸运的是,对于 WiX 3.5 Heat 来说,情况已不再如此
  • 。默认情况下,Heat 无法生成“1 个组件 - N 个文件”。是的,我知道,不推荐这样做,但有时你需要它;幸运的是,您可以使用 UtilExtension 的 XSL PermissionEx 以您喜欢的方式转换热量输出,
  • 它没有仅在文件夹上设置 ACL 的开关。如果您只需要为已安装的文件设置 ACL,则这是相当小的。但我必须通过快速修复来修补 WiX,以便能够在现有文件系统树上说“仅将这些权限应用于文件夹”。

再次让我重复一遍,我不考虑这些严重的限制。我对 Rob 和团队迄今为止所做的事情感到非常满意,他们正走在正确的轨道上! :)

I would add several more points, but these can hardly be called serious limitations since they all can be worked around:

  • There's no ready-made tool to embed transforms (MST) into the MSI package; this is where msidb.exe comes to the rescue
  • You have to do extra work to create a single package with a number of localizations, like creating N packages, generate N language transforms against a neutral package, embed those transforms into the package, instruct your bootstrapper to call correct language transform
  • WiX 3.0 has rather limited IIS extension - it supports IIS 7 only in IIS 6 compatibility mode; but fortunately this is no longer true for WiX 3.5
  • Heat can't generate "1 component - N files" by default. Yeah, I know, it's not recommended, but sometimes you need it; fortunately, you can transform the heat output the way you like with XSL
  • PermissionEx of UtilExtension doesn't have a switch to set ACLs on folders only. If you need to set ACLs to your installed files only, this is quite minor. But I had to patch WiX with a quick fix to be able to say "apply these permissions to folders only" on existing file system tree

Again, let me repeat that I don't consider those serious limitations. I'm very happy with what Rob and the team have done so far, and they are on a right track! :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文