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]: DENNIS.MMH[Next]: MAKEMSI_COMPANY_SUPPORT_DIR
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)

Environment Variables (MAKEMSI Configuration)

The following environment variables are used (or affect) MAKEMSI:

  1. MAKEMSI_COMPANY_SUPPORT_DIR
  2. MAKEMSI_MINGW
  3. MAKEMSI_MM
  4. MAKEMSI_MM_BEEPS
  5. MAKEMSI_MM_CODEPAGE
  6. MAKEMSI_MM_CONBUFFSIZE
  7. MAKEMSI_MM_PRIORITY
  8. MAKEMSI_MM_ROOTDIR.?
  9. MAKEMSI_MM_SUPPORT_TEXT
  10. MAKEMSI_MSI_TEMPLATE.MSI
  11. MAKEMSI_PLATFORM_ROOT
  12. MAKEMSI_SAMPLES
  13. MAKEMSI_USER_FILES_PATH
  14. MAKEMSI_WILOGUTL_EXE

How To Set Environment Variables

Under XP and WIN2000 you can configure environment variables by following "My ComputerPropertiesAdvancedEnvironment Variables".

The following shows a system environment variable (affects all users) being set:

Note that you may have to logoff and/or restart the computer for the change to take effect.

Setting Environment in WIN95-WINME or Command Prompt

The "SET" command can be used from a command prompt, for example:

SET MAKEMSI_MM_CODEPAGE=1252

In WIN95-WINME you should be able to place set commands in "autoexec.bat".

Reading Environment Variables in Your MAKEMSI Scripts

The details of this are described in the "PPWIZARD" manual, however here is an example of reading an environment variable called "SOURCE_DIR":

<$Files "<??*SOURCE_DIR>\*" DestDir="APPDIR" SUBDIR='TREE'>


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]: DENNIS.MMH[Next]: MAKEMSI_COMPANY_SUPPORT_DIR


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