简体   繁体   English

如何在 wix 安装程序中自定义欢迎对话框

[英]How to customize welcome dialog in wix installer

I want to add customized message in welcome screen instead of default in wixUI_en-us.wxl.我想在欢迎屏幕中添加自定义消息,而不是在 wixUI_en-us.wxl 中添加默认消息。 For this I am trying to change <String Id="WelcomeDlgDescription"为此,我正在尝试更改 <String Id="WelcomeDlgDescription"

Created a new wxl file创建了一个新的 wxl 文件

<?xml version="1.0" encoding="utf-8"?>
<WixLocalization Culture="en-us" xmlns="http://schemas.microsoft.com/wix/2006/localization">

<String Id="WelcomeDlgDescription" Overridable="yes">This is a custom welcome message. Click Next to continue or Cancel to exit.</String>

</WixLocalization>

But I am not sure what WiX Fragment I need to enter in my WSX file但我不确定我需要在我的 WSX 文件中输入什么 WiX 片段

https://wixtoolset.org/documentation/manual/v3/wixdev/extensions/localized_extensions.html https://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/make_installer_localizable.html https://wixtoolset.org/documentation/manual/v3/wixdev/extensions/localized_extensions.html https://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/make_installer_localizable.html

Above both link I tried but not able to add the fragment in wsx file for "WelcomeDlgDescription"在我尝试过的两个链接上方,但无法在 wsx 文件中为“WelcomeDlgDescription”添加片段

Can you please guide what code should go in product.wsx to show my custome message您能否指导 product.wsx 中应该使用哪些代码来显示我的客户信息

<String Id="WelcomeDlgDescription">This is a custom welcome message. Click Next to continue or Cancel to exit.</String>

You were close.你很接近。 I grabbed this from the WiX page for changing default dialogs .我从用于更改默认对话框WiX 页面中获取了这个。

https://github.com/glytzhkof/WiXCustomDialog https://github.com/glytzhkof/WiXCustomDialog

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

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