cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
DLee65
Level 13

ISPRINT prints wrong rtf file

I have a BASIC MSI setup that includes four possible license agreements depending on the product license entered by the user. The best solution that I found was to duplicate the License Agreement dialog and to associate the appropriate license agreement with each one and display the appropriate License Agreement dialog based upon a Property set by the License validation process. The License dialog shows up appropriately and the appropriate license displays to the end user. However, to my surprise, when the user clicks on PRINT the ISPRINT routine does not print what is provided in the current dialog!

Rather, it prints what is in the original dialog. 😄

Sooo, is there any way within the next few days to get this fixed - other than removing the Print button and disabling the Print feature completely? Unfortunately this was not discovered earlier in the test process and we only have a few days until we go gold.

Thanks.
Labels (1)
0 Kudos
(3) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

The IS_PRINT_DIALOG property can be set to the name of the dialog that contains the license agreement to print. If this property is not set, the print button will print the license agreement from a dialog named "LicenseAgreement". More details can be found in the help topic "Adding a Print Button to a Dialog".
0 Kudos
DLee65
Level 13

Thank you, that is exactly what I was looking for but could not find.
0 Kudos
sprinleo
Level 3

check this out:

http://helpnet.acresso.com/robo/projects/installshield12helplib/ihelpeudialogsaddprintbutton.htm

The syntax for setting a property is [propertyname].
Please also see http://helpnet.acresso.com/robo/projects/installshield12helplib/IHelpEUDialogsControlEventsList.htm

So please try the following:
- Change the event from “IS_PRINT_DIALOG” to “[IS_PRINT_DIALOG]”
- Add the condition 1
0 Kudos