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.?

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 "SysInternalsLink failed validation at 23 Aug 2008.
#301 - PERMANENT move to http://technet.microsoft.com/en-us/sysinternals/default.aspx

This appears to be a recent problem as I am not yet monitoring the URL." site.


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 23 Aug 2008Please 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).
Thursday August 28 2008 at 11:28am
Visit MAKEMSI's Home PageThis external link was OK when tested at 13 Aug 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 23 Aug 2008