|Enable Platform Definition Creation|
If the "MAKEMSI_PLATFORM_ROOT" environment variable exists then this should hold the name of a directory which will become the root of your platform definition tree. You can also set the "PLATFORM_DEFINITION_ROOT" macro to contain the value of the root directory. MAKEMSI will copy your generated MSI and HTML files here.
MAKEMSI builds a desination directory for each supported platform based on the contents of the "PLATFORM_DEFINITION_TEMPLATE" macro, this macro can contain the following case sensitive strings:
The copy occurs after MSI validation so as not to copy files from a failing build.
Supported platforms are defined using the "Platform" command. For every platform your product is supported on a directory tree is updated so that after a period of time you will be able to see for any particular platform (for example "WIN98") what products you support and their latest versions (at least using the default tree structure).
You can set it up to remove all subdirectories in each destination directory (see the "PLATFORM_DEFINITION_KEEP_SUBDIR" macro). For safety this is set to "Y" by default).
If set to "N" then all subdirectories will be removed out of all destination directories, keep this in mind when structuring your tree. One possible use for this is to remove the "development" nodes of an item when a "production" version is built.
This also means that you should be very careful when setting up the template, if you accidently set it to the "C:" root as an example, it will clobber your hard drive.