Command Line Support

Master Packager command line support is enabled by using mrp.exe file.
Default location: "C:\Program Files (x86)\Master Packager\mrp.exe"

Available commands:

  • Help
  • Capture
  • Build
  • ApplyTemplate
  • Activate

Help

        Shows available command lines.

Capture

        mrp.exe Capture

        Create a snapshot in default path: "C:\MRP\Snapshots\Snapshot_timestamp.mrps"

        mrp.exe Capture "<snapshot.mrps>"

        Create a snapshot in custom path

        Example:

        mrp.exe Capture "C:\MRP\Snapshots\Snapshot_260818_204918.mrps"

Build

        Required Parameters:

        [-inside;-outside] - CAB location

        [-x86;-x64] - MSI architecture

        Optional Parameters:

        [-Compression <"none; min; normal; max">] - Compression level. Default value "min"

        [-CabSize <int>] - Cab file size in MB. Default 300. Max value 2000

        Example:

        mrp.exe Build -FirstSnapshot "C:\Snapshot1.mrps" -SecondSnapshot "C:\Snapshot2.mrps" -inside -x86 -CabSize 300 -Compression none

ApplyTemplate

        Required Parameters:

        Template Name(s) - One or many space seperated template names. Must follow immediately after command

        [-MsiPath] - Path to msi

        Optional Parameters:

        [-MstPath] - Path to a new or existing mst file

        Example:

        mrp.exe ApplyTemplate Template1 Template2 -msipath "C:\Master.msi" -mstpath "C:\Master.mst"

Activate

        Required Parameters:

        [-email] - E-mail address assigned to Master Packager license key

        [-licenskey] - Valid license key

        Example:

        mrp.exe activate -email example@example.com -licensekey "1234567890"