Search code examples
wixwindows-installerwix3.9wix-gui

How can I make the background of an checkbox transparent in wix?


How can I make the background of the checkbox transparent or white?

enter image description here


Solution

  • That is quite common complaint. The quick answer is - no, there's no way to do it nicely. Let me quote the WiX Toolset tutorial:

    And a common complaint: no, the checkbox can't have a transparent background. If you have a bitmap in the background, it will be ugly, just like in our example above. The only workaround is to reduce the width of the checkbox to the actual box itself and to place an additional static text (these can be made transparent) adjacent to it.

    The downside of the workaround described is you won't be able to click the text in the label to check/uncheck the checkbox. You'll have to click directly into the control.

    There is, however, one more (even uglier?) workaround: design the final dialog the way to have default grey area to place the checkbox on.