WiX resizes default user interface 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 a .wxs file without creating a custom dialog or changing the wixui extension? If there is, where could I find to find out?

I have several installations from another, inferior tool for which art assets have already been completed, and I would like to use them in WiX installers with minimal pain.

Thanks:)

Ben Brammer

+4
source share
1 answer

No, this is not possible in the current version of WiX. In a future release, you can use localization support to adjust the size and location of image controls.

Update: the future is now. WiX v3.6 allows localization to redefine the size and location of controls and dialogs. See my blog for more details .

+3
source

Source: https://habr.com/ru/post/1393822/


All Articles