Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

using script to display rtf file


4 replies to this topic

hsong3

hsong3
  • Members
  • 89 posts

Posted 19 July 2003 - 18:27

hello everyone

i create a custom dialog (using DefineDialog and OpenFile function). however, i can not open and display rtf file format.

how do i display read-in informations from other than a text file???

thank you

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 July 2003 - 11:15

Take a look at sample "RTF License Dialog for Standard Projects" at http://www.installsi.../en/msi/isd.htm

Does that help you?

hsong3

hsong3
  • Members
  • 89 posts

Posted 23 July 2003 - 00:46

thank you for the tip.

however, i can not use the script in the sample project, "RTF License Dialog for Standard Projects", in basic msi project.

is there some restriction about win32 functions when it runs in basic install shield project????

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 24 July 2003 - 20:48

Sorry, I didn't notice yu are using BasicMSI.

Can you elaborate on how and where you are calling DefineDialog and OpenFile? Is there a reason you're not using the ScrollableText control to display RTF content?

hsong3

hsong3
  • Members
  • 89 posts

Posted 01 August 2003 - 14:42

thanks for your replies. however i fix this problem by using C. ^^;;

i needed dynamic display option for RTF because i have 2 different license agreement documents and i tried to avoid rebuilding the setup second time.

again, thank you for your kind replies.