创建WIX对话框的自定义库(Creating custom library of WIX dialogs)

编程入门 行业动态 更新时间:2024-10-25 14:33:49
创建WIX对话框的自定义库(Creating custom library of WIX dialogs)

我使用自己的自定义对话框创建了一个安装程序,但是我现在正在创建更多将使用我已经创建的对话框的设置。 我的问题是有没有人知道任何教程或任何可以帮助我创建对话库的东西。

理想情况下,我希望有一个可供多个安装程序使用的自定义对话库,但每个安装程序都可以选择所需的对话框。 像WIX这样的东西你可以使用<UIRef Id="CustomDialogs" />并且在每个WIX设置中我都可以自定义它,这样我只选择我需要的那个特定设置的对话框。

目前我只是将对话框复制到新的WIX设置项目,但我希望能更有效地完成它。 任何帮助将不胜感激。

I have created an installer using my own custom dialogs, however I am now moving on to create many more setups that will use many of the dialogs I have already created. My question is does anyone know of any tutorials or anything that could help me create a dialog library.

Ideally I would like to have a custom dialog library that can be used by multiple installers, but that each installer could select which of the dialogs it needs. Something like WIX uses where you could use <UIRef Id="CustomDialogs" /> and in every WIX setup I could customize it so that I only select the dialog I need for that certain setup.

At the moment I am just copying the dialog to the new WIX setup project but I would ideally like to do it more efficiently. Any help would be greatly appreciated.

最满意答案

您需要做的就是将自定义对话框添加到.wixlib项目中,然后可以在安装项目中引用该项目。

All you need to do is add your Custom Dialogs to a .wixlib project which you can then reference in your setup project.

更多推荐

WIX,设置,dialog,对话框,电脑培训,计算机培训,IT培训"/> <meta name="description

本文发布于:2023-08-07 11:53:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1464278.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:自定义   对话框   WIX   Creating   dialogs

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!