miaFinalizeScript
This function flushes in-memory structures for an InstallAware script to disk and forms a valid MIA script file which may later be referenced from a setup project.
void WINAPI miaFinalizeScript( const char* SaveFile );
SaveFile
Specifies the full path to the script file. It is recommended the project file end with a MIA extension since this is the standard file extension used for InstallAware scripts.