miaInitializeProject
This function initializes in-memory structures for programmatically emitting a new InstallAware project.
void WINAPI miaInitializeProject( bool BuildDebug, int BuildLayout, const char* CompressProfile, bool BuildInFolder, const char* BuildCustomFolder, const char* OutputFile, bool AutoIncrement, const char* Conditionals, const char* Manufacturer, const char* Name, const char* Code, const char* UpgradeCode, const char* Version, const char* Language, const char* Title, const char* Subject, const char* Author, const char* Comments, const char* Revision, const char* arPublisher, const char* arContact, const char* arHelp, const char* arUpdates, const char* arComments );
BuildDebug
Indicates whether the project will be built in debug mode.
BuildLayout
Indicates the media type to be used in builds by default. The following values are possible:
- 0: Uncompressed Directory Layout
- 1: Compressed Self Extracting EXE
- 2: Compressed Web Based EXE
CompressProfile
Indicates the strength of compression. Acceptable values are below:
- 0: No compression, just store
- 1: Minimum compression
- 2: Medium compression
- 3: Good compression
- 4: Best compression
Note that this value is passed as a string.
BuildInFolder
If this value is false, builds will take place in the folder pointed at by the parameter.
If this value is true, builds will take place in the default location, which is the project folder.
BuildCustomFolder
Specifies the custom build folder to use. Ignored unless the false.
parameter isOutputFile
Allows to override the default name of the setup.exe install launcher file. By default, the name of the launcher file is identical to the project file name. Specify an alternate file name in this field to use a different file name.
AutoIncrement
Indicates whether the project revision code should be automatically updated each time a new build is made.
Please note that building a project from the command line or the automation interface will not increment the revision code.
Conditionals
Provides a list of compiler variables for conditional compilation in the form
.Manufacturer, Name, Code, UpgradeCode, Version, Language, Title, Subject, Author, Comments, Revision
Sets the corresponding fields as used in the Aware IDE.
and pages on the dialog in the InstallarPublisher, arContact, arHelp, arUpdates, arComments
Sets the corresponding fields as used in the Aware IDE.
page on the dialog in the Install