|MM Batch Files|
The "MM.CMD" (WinNT+) or "MM.BAT" (Win9x) are batch files that I have prepared which invoke the build process from the command line.
MAKEMSI installs one of this files based on your operating system and the build an MSI via right click explorer shortcuts call these batch files to do most of the actual work.
In some ways these batch files should be considered more as "examples" than critical parts of the build process. They really only "demonstrate" one possible way of invoking the build and are restricted to processing ".MM" files that reside in the "current directory" (an artificial restriction for ease of use).
|MM.CMD - WinNT, WIN2000, WINXP, Vista or newer...|
This batch takes one or two parameters:
If this name is not supplied then if there is only one ".MM" script in the current directory then it will be invoked otherwise all available scripts will be listed and you will need to pass one of these for this parameter!
There are quite a few environment variables that affect how this batch file operates. Any environment variables it sets are temporary ones as the batch file begins with a "setlocal" command.
Note that for testing you could set these environment variables from the command, for more permanent configuration youu would configure windows instead ("MyComputerPropertiesAdvancedEnvironment Variables" in WINXP).
You can use this batch file for silent (unattended) builds and the batch file will return "0" for success and non-zero otherwise.
This batch file has command line "shortcuts" to open explorer at particular directories if parameter 1 starts with "?", they are:
|MM.BAT - WIN95 WIN98, WINME|
This batch file is pretty basic (mainly due to DOS restrictions) and takes one or two parameters: