|
![]() |
| Licence Dialog Enabling |
If you use the "Preferred MSI Interface for Building a Complete MSI" then the licence dialog is conditionally disabled depending on whether you appear to have a licence to display or not.
To display a licence you will need to use "wordpad", "word" or a similar word processor to produce an "rtf" formatted file.
| Method 1 - .VER file |
Probably the easiest way to specify a licence file is via the "licence" keyword in the product information section.
Please note that I use the english spelling "licence" and not "license".
| Method 2 - ".licence.rtf" file |
If a licence file matching the name defined in the "COMPANY_LICENCE_NAME" macro exists then this will be used. By default this is defined such that if you have a "TryMe.MM" file then it will look for a licence file of "TryMe.licence.rtf".
You should not try to use both methods of specifying the licence file otherwise a warning message (and return code) will be generated.
The main options related to the searching for a licence file are:
#define? COMPANY_LICENCE_SPELLING_C_OR_S c ;;Spelling - Licence OR License? #define? COMPANY_LOOK_FOR_LICENCE_FILE Y ;;Y/N - Look for file or just use if supplied? #define? COMPANY_PREPROCESS_LICENCE_FILE N ;;Y/N - Does sthe file contain macros or decisions etc? #define? COMPANY_LICENCE_EXTN .licen<$COMPANY_LICENCE_SPELLING_C_OR_S>e.rtf ;;US spelling? #define? COMPANY_LICENCE_NAME <?InputFile $$FilePart:w><$COMPANY_LICENCE_EXTN>
Please see the "options for commands" section of the manual.
![]() | ![]() |