InstallAware for Windows Installer
 

Using the Win64 DLL

The steps for programmatically emitting an InstallAware setup are summarized as follows:

  1. Use the script management functions to programmatically generate a setup script.
  2. Store the total number of lines used in your script for use in step 3 below.
  3. Use the project management functions to programmatically generate a setup project. Have the project reference an existing setup script.

While this library cannot programmatically build setups, you may use the Win32 DLL or the command line build tool for this purpose.

Script Management Functions

miaInitializeScript
miaAddCommand
miaFinalizeScript
miaGetTotalLines

Project Management Functions

miaInitializeProject
miaSetScriptFile
miaClearDialogFiles
miaClearSupportFiles
miaClearMergeFiles
miaClearPatchFiles
miaClearIncludeFiles
miaAddDialogFile
miaAddSupportFile
miaAddMergeFile
miaAddPatchFile
miaAddIncludeFile
miaFinalizeProject

Structure

COMMATEXT

Unicode Support

To call the Unicode versions of any of the above functions, append "W" to the end of the function name, and pass all strings as Unicode strings instead of ANSI strings.