MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: FilesInUse Dialog - Display if Program Running[Next]: Logo on Dialogs
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Tips and Tricks->User Interface Tips->Licence Dialog Enabling

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.


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 15 Nov 2008Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: FilesInUse Dialog - Display if Program Running[Next]: Logo on Dialogs


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday November 15 2008 at 2:05pm
Visit MAKEMSI's Home PageThis external link was OK when tested at 7 Nov 2008

HTML page dated Mon, 29 Jan 2007 00:11:11 GMT
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 15 Nov 2008