如何在 Wix 中为 MSI 创建自定义 UI? [英] how to create custom UI for MSI in Wix?

查看:35
本文介绍了如何在 Wix 中为 MSI 创建自定义 UI?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 Wix 增强 MSI 的 UI 对话框.您能否指出提供创建此类 UI 选项的最佳工具?另外,是否可以在 MSI 向导中显示动画 GIF 图像

I want to enhance my UI dialog of MSI using Wix. Can you point out me the best tool which provides an option to create such UI? Also, is there possible to show animated GIF image in MSI wizard

推荐答案

您想研究嵌入式 UI"(有时也称为外部 UI").但是一旦沿着这条路走下去,就必须提供整个 UI,并且 InstallUISequence 中的任何内容都不会运行(例如 Costing).

You want to look into "Embedded UI" (also sometimes called "External UI"). But once you go down this path, you have to provide the entire UI, and nothing in InstallUISequence gets run (like Costing).

Wix 中有一个示例嵌入式 UI,它演示了一个 WPF UI 和一个对 MSI 安装中发生的事情做出反应的进度条.

There is a sample Embedded UI in Wix that demos a WPF UI and a prgress bar that reacts to what is going on in the MSI installation.

中间选项是创建一些显示 UI 的自定义操作.我这样做是为了完成诸如在 AD 中查找用户、在网络上搜索 SQL Server、在 SQL Server 中浏览数据库以及浏览 SSL 证书等操作.然后,您可以通过一个按钮触发这些自定义操作.

A middle-ground option is to create some Custom Actions that display a UI. I do this to accomplish things like looking up a user in AD, search for SQL Servers on the network, browsing for databases in a SQL Server, and browsing for SSL Certificates. You can then trigger these custom actions through a push button.

就动画 GIF 而言 - 据我所知,它们不受支持.

As far as animated GIFs go - as far as I know they are not supported.

这篇关于如何在 Wix 中为 MSI 创建自定义 UI?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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