>From the MSI SDK: http://msdn.microsoft.com/en-us/library/aa371540.aspx

"ScrollableText Control

This control displays a long string of text that cannot fit entirely on the 
page. A common use for this control is displaying the license agreement.

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."


Other things: http://blogs.msdn.com/robmen/archive/2006/05/30/610950.aspx


-----Original Message-----
From: Andrew Kendall [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2008 08:46
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Store an RTF string in a Property?

Hi All,

Is it valid to hold a RTF string in a Property, like this:

<Property Id="CONFIRMINSTALLRTF" 
Value="{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 MS Sans 
Serif;}}\viewkind4\uc1\pard\lang1033\f0\fs17 Some text\par }" />

and then use this property in a ScrollableText control of a dialog:

<Control Id="SummaryText" Type="ScrollableText" X="20" Y="80" Width="330" 
Height="100" Sunken="no" TabSkip="yes">
<Text>[CONFIRMINSTALLRTF]</Text>
</Control>

If so, I'm doing something wrong, as the example text does not appear in the 
dialog :(

I'm actually trying to create a summary dialog at the end of the gui sequence, 
to confirm to the user what will be installed. I want to present some free-form 
text, so it seems that using a ScrollableText control is a better idea than, 
say, a bunch of Text controls.

I've seen a post showing how a Custom Action can insert RTF text into a MSI db 
Control record, so I was hoping I could do the same with a Property, ie 
MsiSetProperty. As with most of what I've gleaned about MSI/Wix, it's all a 
hideously painful struggle to make any progress, and so once again, my 
dejection has got the better of me and I eagerly look for pointers/assistance 
from the WWW (World Wide Wix) community. Many thanks for your time and 
attention.

Yours truly,
Andrew Kendall




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to