[英]WiX changing size of default UI elements
given this snippet: 给出这个片段:
<WixVariable Id="WixUIDialogBmp"
Value="logo.bmp"/>
<WixVariable Id ="WixUIBannerBmp"
Value="banner.bmp"/>
<UI>
<Property Id="WIXUI_INSTALLDIR"
Value="INSTALLFOLDER" />
<UIRef Id="WixUI_InstallDir"/>
</UI>
is there a way to specify the width and height for "logo.bmp" and "banner.bmp" in the .wxs file without without creating a custom dialog or modifying the wixui extension? 有没有办法在.wxs文件中指定“logo.bmp”和“banner.bmp”的宽度和高度,而无需创建自定义对话框或修改wixui扩展名? If there is, where would should I have looked to find out?
如果有,我应该在哪里寻找?
I have a number of installations from another, inferior tool for which the art assets have already been finalized, and I'd like to use them in my WiX installers with minimal pain. 我有一些来自另一个劣质工具的安装,其中艺术资产已经完成,我想在我的WiX安装程序中使用它们,只需要很少的痛苦。
Thanks :) 谢谢 :)
Ben Brammer 本布拉默
No, that's not possible in the current version of WiX. 不,这在当前版本的WiX中是不可能的。 In a future release, it will be possible using localization support to adjust the image controls' size and location.
在将来的版本中,可以使用本地化支持来调整图像控件的大小和位置。
Update: The future is now. 更新:未来就是现在。 WiX v3.6 lets localization override size and location of controls and dialogs.
WiX v3.6允许本地化覆盖控件和对话框的大小和位置。 See my blog for details.
有关详情,请参阅我的博客
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.