4

Can I change the Text properties of buttons on existing controls?

The code below doesn't do the trick

<Publish Dialog="FeaturesDlg" Control="Install" Property="Text" Value="Next" />    1</Publish>

I'd like to avoiud creating a custom dialog if at all possible.

  • 2
    I think it is only possible to create your own dialog, its very easy to do as the Wix sources has all the code there for you. – Natalie Carr Dec 12 '12 at 09:44
  • 1
    Check out http://stackoverflow.com/questions/1723840/customizing-text-in-the-standard-wix-dialogs – sohil Dec 12 '12 at 11:28
  • All dialogs are custom, and all actions are custom. It's just that some of them are given to you, ready to use. If the shoe doesn't fit, pick another. – Dialecticus Dec 12 '12 at 21:54

1 Answers1

0

Strings in the WiX UI should all use loc identifiers. Thus, you should be able to override the text using a .wxl file. In WiX v3.6+ you can override control sizes, as per: http://www.joyofsetup.com/2012/07/14/localizing-more-than-strings-in-wix-v3-6/

Rob Mensching
  • 33,834
  • 5
  • 90
  • 130