How can I add an image to a custom WiX dialog? -


I have my product Wxs have tried to modify the set of WixVariables:

  & lt; Accessible ID = "Main Lago BMP" value = "Resource / Images / WebLabel .JPG" /> & Lt; WixVariable Id = "WixUIBannerBmp" value = "resources / images / installer_banger.jpg" />  

(The first part is what I tried, one of the below is an example of this stock variable that works)

... and then the variable In context (Wix.MainLogoBmp):

    

... but when I try to compile it I get the following error:

Error 17 ICE 17: Bitmap: 'Resources / Images / WebLabel . Control for 'jpg': Dialogue's 'bitmap': 'SimpleDig' was not found in the binary table

And yes, this project is part of the project, which is set to "content" like other people.

Ah, it is found that I need to add the binary element to the file :

  & lt; Binary ID = "Main Image" source file = "Resources / Images / WebLabel .jpg" /> To set the  text  of "MainImage" to  

... and bitmap control :

 < Code> & lt; Control id = "bitmap" type = "bitmap" x = "0" y = "0" width = "258" height = "185" tabccip = "no" text = "main image" />  

And now it works. :)


Comments