InstallAware for Windows Installer
 

miaBuildProject

This function builds an existing InstallAware project.

bool WINAPI miaBuildProject(
	const char* Project,
	const char* Output,
	const char* Log,
	const char* Conditionals,
	int Mode
);

Project

Specifies the full path to the MPR project file.

Output

Specifies the full path to the build output folder.

If NULL, the default project output folder will be used.

Log

Specifies the full path to the log file. The log file will receive verbose information on the build process, and may be helpful for tracking build errors.

If NULL, no log file will be created.

Conditionals

Provides a list of compiler variables for conditional compilation in the form "VAR1=VALUE1","VAR2=VALUE2".

Mode

Specifies the kind of media to build. Use one of the following values:

  • 0: Uncompressed Directory Layout
  • 1: Compressed Self Extracting EXE
  • 2: Compressed Web Based EXE
  • 3: Patch

 Notes

  • This function is provided for backward compatibility purposes only. Newer applications should use the miaBuildProjectEx function.