Files
Ian MacLarty b20f03c4df Fix problems with the Windows installer generator.
Estimated hours taken: 10
Branches: main

Fix problems with the Windows installer generator.
The GUID's are now all pregenerated, which makes the generator a lot faster
(previously an external program needed to be called to generate each GUID).

Fix a problem with calling MinGW GCC from its installed location in
"Program Files/Mercury ...".  MinGW is configured to be installed in
c:\MinGW, so the Mercury compiler must pass extra arguments to gcc to
get it to find cc1 and the standard header files and libraries.

Allow installed shortcuts to be visible to all users.

extras/windows_installer_generator/wix.m:
extras/windows_installer_generator/wix_files.m:
	Read the GUIDs from a file instead of generating them on demand.

extras/windows_installer_generator/wix_gui.m:
	Allow more space for text in the welcome and finish steps.

extras/windows_installer_generator/wix_installer.m:
	Allow installed shortcuts to be visible to all users.

extras/windows_installer_generator/sample/Mercury.config:
	Add a customised version of Mercury.config for the WIndows installer.

extras/windows_installer_generator/sample/README:
extras/windows_installer_generator/sample/gen_merc_msi:
	Add a script to generate an .msi installer and mention it in the
	README.

extras/windows_installer_generator/sample/gen_merc_wxs.m:
	Set MERCURY_CONFIG_DIR on installation so that mercury_compile.exe
	(which we rename to mmc.exe) can find Mercury.config.
	Improve the messages in the installer wizard.

extras/windows_installer_generator/sample/mdb.c:
	Add a C version of mdb for the Windows installer.

extras/windows_installer_generator/sample/mdbrc:
	This file is used to generate a version of mdbrc that includes
	the stuff from mdb_doc, so that mdbrc doesn't need to know where
	mdb_doc is.

extras/windows_installer_generator/sample/images/banner.bmp:
extras/windows_installer_generator/sample/images/bg.bmp:
	Update installer images.
2006-01-04 07:48:42 +00:00

11 lines
389 B
Plaintext

This directory contains the program gen_merc_wxs, which can be used to generate
a windows installer for the Mercury distribution.
To compile gen_merc_wxs, first build the wix library in the parent directory
and then do:
mmc --make gen_merc_wxs
The script gen_merc_msi can then be used to generate a Windows installer
for Mercury. See the comments in that script for usage information.