如何将 UI 添加到 WiX 3 安装程序? [英] How to add a UI to a WiX 3 installer?

查看:29
本文介绍了如何将 UI 添加到 WiX 3 安装程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经尝试过 <UIRef Id="WixUI_Minimal"/>,但我得到对符号 WixUI:WixUIMinimal 的未解析引用".我做错了什么?

I've tried <UIRef Id="WixUI_Minimal" />, but I get "Unresolved reference to symbol WixUI:WixUIMinimal". What am I doing wrong?

推荐答案

wixui 扩展名不再是 wixui.wixlib.它被卷入了 WixUIExtension.

The wixui extension is no longer wixui.wixlib. It was rolled into the WixUIExtension.

如果您在命令行上,请将 -ext WixUIExtension 添加到对 light.exe 的调用中.

If you are on the command line, add -ext WixUIExtension to the call to light.exe.

如果您在 Visual Studio 中有一个 WiX 项目,请通过右键单击 解决方案资源管理器.

If you have a WiX project in Visual Studio, add a reference to "WixUIExtension" by right clicking on "References" in the Solution Explorer.

请参阅 WIX3 的 WiXUI 对话框集页面.

这篇关于如何将 UI 添加到 WiX 3 安装程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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