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]: MAKEMSI_MM_PRIORITY[Next]: MAKEMSI_MM_SUPPORT_TEXT
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Source Code->Configuration / Options->Environment Variables (MAKEMSI Configuration)->MAKEMSI_MM_ROOTDIR.?

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.


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: MAKEMSI_MM_PRIORITY[Next]: MAKEMSI_MM_SUPPORT_TEXT


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday May 28 2022 at 3:11pm
Visit MAKEMSI's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.