Search code examples
wixwindows-installer

WiX installer ScrollableText is empty when property value is provided


I'm trying to create a WiX v4 installer which will display different EULAs depending on the region. When I provide a static text using:

<Control Id="LicenseText" Type="ScrollableText" X="18" Y="105" Width="348" Height="120" TabSkip="no" Sunken="yes">
  <Text Value="!(loc.EulaInt)" />
</Control>

where EulaInt contains the RTF content, it displays correctly. But when I try to provide a property value using

<Property Id="EULATEXT" Value="!(loc.EulaInt)" />
...
<Control Id="LicenseText" Type="ScrollableText" X="18" Y="105" Width="348" Height="120" TabSkip="no" Sunken="yes">
  <Text Value="[EULATEXT]" />
</Control>

It displays an empty field. Any help will be greatly appreciated


Solution

  • Windows Installer documentation for ScrollableText says that isn't supported.

    Note that the string of text used with this control cannot contain an embedded property. To display text with embedded properties use instead the Text Control.