如何在 Wix 中自定义 UI 对话框以修改标签的 location/size

How to customize UI Dialogs in Wix to modify location/size of Labels

我一直想修改 InstallDirDlgDescription 文本的位置(单击下一步安装到默认文件夹或单击更改选择另一个。) 此文本的 x 坐标默认为 X="25",文本与我的徽标重叠(我已自定义对话框以将横幅更改为我的徽标)。

我知道我可以更改字符串的值 -->

<String Id="InstallDirDlgDescription">This is a custom message.</String>

但是有没有办法改变文本的位置(我想设置 X = "5" 以便文本向左移动并且不与我的徽标重叠)?

谢谢!

使用 UI element to change control attributes. See http://www.joyofsetup.com/2012/07/14/localizing-more-than-strings-in-wix-v3-6/ 作为示例。