InstallAware for Windows Installer
 

miaBuildProjectEy

This function builds an existing InstallAware project.

bool WINAPI miaBuildProjectEy(
        hwnd Handle,
        const char* Project,
        const char* Output,
        const char* Log,
        const char* Conditionals,
        const char* Language,
        const char* Password,
        int Mode
);

Handle

Handle to the parent window for the build progress window shown during build.

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

Language

Indicates the default setup language.

If NULL, the setting from the project file will be used.

Password

Indicates the 256 bit AES strong encryption key for the setup package.

If NULL, the setting from the project file will be used.

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