\
Tips and Tricks
User Interface Tips
Version Number in Dialog Titles
Version Number in Dialog Titles |
This is a User Interface Tips example to
demonstrate how MAKEMSI can may "on the fly" changes to a standard
template allowing you to accept templates from other people.
The following shows how the dialog titles can be modified to include
the Version Number:
#define? UISAMPLE_LICENCE_SPELLING_C_OR_S c ;;Spelling - Licence OR License?
<$Table "Dialog">
#(
;--- Change all dialogs to include the version number ---------------
<$Row
@Where=^`Title` = '[ProductName] [Setup]'^
@OK=^? > 0^
Title="[ProductName] ([ProductVersion]) [Setup]"
>
#)
#ifndef REMOVED_LicenseAgreementDlg
#(
;--- Change all dialogs to include the version number ---------------
<$Row
@Where=^`Title` = '[ProductName] License Agreement'^
@OK=^? > 0^
Title="[ProductName] ([ProductVersion]) Licen<$UISAMPLE_LICENCE_SPELLING_C_OR_S>e Agreement"
>
#)
#endif
<$/Table>