2

I have a dialog in an InstallScript Msi project (2008) and I'm trying to set some text in a label to bold, but can't seem to figure it out. I tried prefixing with {&STYLE_BOLD} (which is a predefined style), but it didn't help. Does anyone know how to do this?

Thanks!

Tamar
  • 2,016
  • 1
  • 15
  • 26
  • I believe setting the `Text Style` property from properties window should do this. Isn't it? There are so many pre-defined fonts who have got *bold* font-weight e.g. `TahomaBold10`, `TahomaBold8`, etc – RBT Jan 25 '17 at 09:53

1 Answers1

1

InstallScript MSI dialogs use InstallScript's support instead of MSI's. Thus you will need to use CtrlSetFont. See the example in the help, or in the online help online help for InstallShield 2015 (CtrlSetFont hasn't changed in years).

Michael Urman
  • 15,737
  • 2
  • 28
  • 44