b3nspencer wrote:
I have be playing around with wix UI dialogs. I have a number of dialogs
contained within a fragment in a separate .wxs file. One of the dialogs is
to display the license text. I want to be able to specify the file for the
text used in the .wxs file which consumes the fragment.
MSI doesn't support loading the content of a rich-text control from the
Binary table, as it does for graphics. The approach we take in WiX v3 is
to let you specify the file name via a bind-time variable then use that
variable as the text source. From the doc:
Specifying a license file
WixUIExtension.dll includes a default, placeholder license agreement. To
specify your product's license, override the default by specifying a WiX
variable named WixUILicenseRtf with the value of an RTF file that
contains your license text. You can define the variable in your WiX
authoring:
<WixVariable Id="WixUILicenseRtf" Value="bobpl.rtf" />
or at the *light* command line:
light -ext WixUIExtension -cultures:en-us -dWixUILicenseRtf=bobpl.rtf
Product.wixobj -out Product.msi
The file you specify must be in a directory *light* is looking in for
files. Use the *-b* switch to add directories.
--
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users