I have a requirement when I need to show the license agreement in accordance with the OS language. Localized license agreements (.rtf) are stored on the server.
I created a custom action to determine the OS language and load the corresponding license agreement, but how can I show the localized license agreement in the license agreement dialog box?
I have all the dialog set files (.wxs). I am using the Wix_Minimal dialog box.
I tried changing the following lines in WelcomeEulaDlg.wxs
<Control Id="LicenseText" Type="ScrollableText" X="130" Y="36" Width="226" Height="162" Sunken="yes" TabSkip="no"> <Text SourceFile="!(wix.WixUILicenseRtf=$(var.licenseRtf))" /> </Control>
to
<Control Id="LicenseText" Type="ScrollableText" X="130" Y="36" Width="226" Height="162" Sunken="yes" TabSkip="no" Text="[MyPropertyConatingRTFData]"> </Control>
but nothing appears in the text of the license agreement.
How can I set this text?
ajay_whiz
source share