简体   繁体   English

WiX在欢迎对话框中使消息文本变为粗体

[英]WiX make message text bold in welcome dialog

I have a message about the product in the welcome dialog screen. 我在欢迎对话框屏幕上有关于该产品的消息。 In Earlier WIX 2.0 version we had to modify the WixUi_Mondo file to make the message text bold. 在早期的WIX 2.0版本中,我们必须修改WixUi_Mondo文件以使消息文本变为粗体。 But in WIX3.5 how to achieve this. 但是在WIX3.5中如何实现这一点。 Can anyone help me on this? 谁可以帮我这个事?

In my WiX file, I'm referring <UIRef Id="WixUI_Mondo"/> this lib for the dialog screens. 在我的WiX文件中,我为对话屏幕引用<UIRef Id="WixUI_Mondo"/>此库。 I'm not able to find this file in version 3.5 to modify. 我无法在3.5版中找到该文件进行修改。 Is there any alternative way to achieve this. 是否有其他方法可以实现这一目标。

If you need to customize the WiX default dialogs, you need to also download the source (for the version of the WiX binary you are using). 如果需要自定义WiX默认对话框,则还需要下载源代码(针对您所使用的WiX二进制文件的版本)。 In the source directory, the Mondo UI is located under: 在源目录中,Mondo UI位于以下位置:

< Wix3.5 source directory >\\src\\ext\\UIExtension\\wixlib <Wix3.5源目录> \\ src \\ ext \\ UIExtension \\ wixlib

From there, the Mondo file specifies which dialogs to use for that UI model. Mondo文件从那里指定用于该UI模型的对话框。 It uses the welcome dialog file 它使用欢迎对话框文件

WelcomeDlg.wxs WelcomeDlg.wxs

That specifies how to display the welcome text. 这指定了如何显示欢迎文本。 Its in that file, that you would make changes for font weight etc. 在该文件中,您将更改字体粗细等。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM