Using the Win32 DLL
The steps for programmatically emitting and building an InstallAware setup are summarized as follows:
- Use the script management functions to programmatically generate a setup script.
- Store the total number of lines used in your script for use in step 3 below.
- Use the project management functions to programmatically generate a setup project. Have the project reference an existing setup script.
- Use the build function to build a newly generated or existing setup project.
Script Management Functions
miaInitializeScript
miaAddCommand
miaFinalizeScript
miaGetTotalLines
Project Management Functions
miaInitializeProject
miaSetScriptFile
miaClearDialogFiles
miaClearSupportFiles
miaClearMergeFiles
miaClearPatchFiles
miaClearIncludeFiles
miaAddDialogFile
miaAddSupportFile
miaAddMergeFile
miaAddPatchFile
miaAddIncludeFile
miaFinalizeProject
Build Function
miaBuildProject
miaBuildProjectEx
miaBuildProjectEy
Structure
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.