所以,我想,有什么方法可以将其他文件格式用于位图,或者WiX与BMP捆绑在一起吗?理想情况下,如果可以使用.png格式,那就太好了,因为它带有无松散的压缩选项.解决方案 位图控件指出图像应该是位图"(大概是.BMP文件)或JPEG.使用WiX时,您必须记住它基于Windows Installer.这意味着WiX中的任何限制通常都是由基础Windows Installer实施中的限制引起的. .BMP文件可以RLE压缩.我不知道它们是否支持其他任何压缩算法.I am using 2 500K bitmaps in to display images on my WiX dialogs.They dramatically increase the size of the installation package, and what is worse - it looks there's no way to package them as a part of a .cab file since they're <binary>-es in the WiX terms.So, I thught, is there any way to use other file formats for bitmaps or WiX is tethered with BMP? Ideally it would be greate if there's a way to use .png format since it comes with a looseless compression option. 解决方案 The Windows Installer documentation for the Bitmap control states that the image should be a "bitmap" -- presumably a .BMP file -- or a JPEG.You have to remember, when working with WiX, that it's based on Windows Installer. This means that any limitations in WiX are often caused by limitations in the underlying Windows Installer implementation..BMP files can be RLE-compressed. I don't know if they support any other compression algorithms. 这篇关于WiX位图是否可以使用.png图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-31 05:48