20 May 2012
[ Overview  |  First  |  Previous  |  Next  |  Last  ]

Command Line Interface

MSIStudio provides a command line interface for building projects. This allows setup compilation to be easily scripted and included in overnight batch jobs. In addition to the main IDE, there is a separate executable project compiler, msicomp.exe, that performs the actual compilation of the setup projects. The IDE simply spawns a process to run this executable when compiling, much like how Visual Studio spawns a separate executable, cl.exe, to build code projects. The output from the compiler process is redirected to the IDE output window. When runnig standalone, this output is directed to a console window and can be piped out to a file.

A scripted compilation command takes the following form

msicomp.exe <project file path> [-r <release name> | all]

The release name is optional. If not specified, it will compile the active release as specified when the project was last saved. Specifying all as the release name will cause all releases to be built.


[ Overview  |  First  |  Previous  |  Next  |  Last  ]