Output Configuration
Now that you understand the JSON project structure, it is time to fill in the actual values. This page covers what to build and where – the output format (MSI, MSIX, or both) and the output location.
What to build – choosing your output type
The very first decision is which installer format to produce. Set outputTypes to one or both of "msi" and "msix":
"outputTypes": ["msi"]
"outputTypes": ["msix"]
"outputTypes": ["msi", "msix"]
Where the installer package output goes
outputDirectory
Tell MPDEV where to place the built packages:
"outputDirectory": "output"
A relative path is resolved against the working directory of mpdev.
The directory is cleaned at the start of every build, so do not store anything else in it.
outputFileName (optional)
Control the file name of the built package. The extension (.msi or .msix) is added automatically:
"outputFileName": "$.packageName_$.version_$.platform"
If you omit this property, the default pattern is $.packageName $.version, which produces something like MySimpleApp 1.0.0.msi.
You can mix property references ($.propertyName) and environment variables (%BUILD_NUMBER%) freely. See JSON Project Structure for how paths and references work.
compressionLevel (optional)
"compressionLevel": "Normal"
| Value | Effect |
|---|---|
None | No compression. Fastest build, largest output. |
Min | Light compression. |
Normal | Default and recommended. Balanced speed and size. |
Max | Highest compression. Slowest build, smallest output. |