HI,

Think this is a bit more tricky:

<Control Id="LicenseText" Type="ScrollableText" X="20" Y="60"
Width="330" Height="140" Sunken="yes" TabSkip="no">
    <Text SourceFile="!(wix.WixUILicenseRtf=$(var.licenseRtf))" />
</Control>

adds the source file for the ScrollableText during binding of the
installation. Actually here you would need 3 different rtf files and
so you have to work around to populate the ScrollableText control.

At first glance it seems that you need some additional code to do so
(comp. http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg06828.html
)


Regards,
Tobias

2011/4/7 Thomazeau Michel <neomichou...@gmail.com>:
> Hi,
>
> I see your point Tobias, thanks for your quick answer. If the solution with
> the combo box doen't work/doesn't fit my expectation, I will go for the
> transform.
>
>
> I have a question about the combo box.
>
>
> I have set the combobox with its property and it seems to works fine
>  <Control Type="ComboBox" Property="LANGUAGELIST" Id="languageCombo"
> Width="84" Height="16" X="30" Y="244" ComboList="yes" RightToLeft="yes"/>
> <ComboBox Property="LANGUAGELIST">
>            <ListItem Text="English" Value="1033" /> <!--or <ListItem
> Text="English" Value="English" />-->
>            <ListItem Text="Spanish" Value="3082" />
>            <ListItem Text="Japanese" Value="1041" />
>          </ComboBox>
> <Property Id="LANGUAGELIST">1033</Property> <!-- default value-->
>
>
> but I don't see how to use this property to change the value of my
> ScrollableText dynamically.
>
>  <Control Id="AgreementText" Type="ScrollableText" X="20" Y="60" Width="330"
> Height="140" Sunken="yes" TabSkip="no">
>  <Text SourceFile="EULA_English.rtf" />
>  </Control>
>
>
> Just putting the properties in the field (<Text
> SourceFile="EULA_[LANGUAGELIST].rtf"/>) doen't compile and it is normal.
>
> Do I need to go for a wix project variable? or a condition?
>
>
> Can someone help me to do that?
>
>
> Thanks
>
>
> Michel.
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to