How to format the Read Me text in Wisescript Editor?
Updated: 14 Oct 2011 | 4 comments
This issue has been solved. See solution.
Hi,
I'm creating a wizard loop with a few custom dialogs in wisescript editor. When editing the Read Me dialog I can browse the path pointing to my readme file which is in text format. When the dialog is displayed, the read me file is hard to read.
Is it possible to display some texts in bold or bigger size in this ReadMe dialog?
Thanks!
Discussion Filed Under:
Comments
Wisescript supports rich text
Wisescript supports rich text format. Create an rtf document and format to your liking, but rename the .rtf extension to .txt. The dialog should be able to display it.
There's no need to use
There's no need to use WiseScript for this. You can just stick a vbs custom action into the MSI to dynamically read in a licence or readme rtf file.
I've attached a .txt file which contains vbscript that can be used as a custom action to read in a file named _License_Agreement.rtf (at install time) from the folder where the .msi file is running from. The vbscript updates the row in the Control table which contains the License Agreement text.
I've also attached two .zip files, one for Wise Package Studio (or Installation Studio) 7 and another for Wise Package Studio 8 which demonstrates it by using the vbs custom action from a property (an example license agreement file is also included).
-Evan
Read Me Dialog asks for ASCII text file
Thanks Evan for your samples! Your solution is exactly what I need it for my previous problem reading text file dynamically. :-)
The problem is this time I am creating the installer from WiseScript Package Editor and it doesn't seem to support rich text format. I want to add the Read me at the compile time. The Read Me dialog in wisescript editor asks for ASCII text file. I don't know how to convert my rich text file to ASCII text file that still preserve the format setting as in rich text.
Thanks JohanH for your reply! I tried your steps but it didn't work. Attached is my example. Is there any other way to do it?
Many thanks!
It works now
Yay, it works! :-)
I just figured out how to display rich text format in wisescript. All I have to do is check the option "RichEdit" in the Text Control Setting. The ReadMe file path can point to the rich text file. That's it and it works great.
Thanks all for your support!
Would you like to reply?
Login or Register to post your comment.