Environment Variable: MAKEMSI_MM_ROOTDIR.? |
This environment variable is only used by the "MM.CMD" batch file.
The "?" in this name represents the "processing mode" (typically "D" or "P") and allows you to specify the root output directory where by default the "LOG" and "MSI" output directories will be placed. The value should not end with a back slash.
If the variable does not exist for any particular mode then the default location of "out\*.*" is used (see the "Generate Mask" section of the PPWIZARD manual to explain what "*.*" means).
set MAKEMSI_MM_ROOTDIR.D=out\*.* (development) set MAKEMSI_MM_ROOTDIR.P=out\*.* (production)
Limitation |
Due to a bug in Microsofts "MAKECAB.EXE" you can't specify the full directory name for the cab files destination, the path must be relative, otherwise you will get a cryptic error similar to:
ERROR: (FCIFlushCabinet)Failure creating or writing cabinet file: invalid argument
You could work around this is you are on an NTFS based filesystem by creating a junction to another location (perhaps with a batch file) to another location. One possible tool is the free "junction.exe" from the "SysInternals" site.