Running the Repackaging Wizard from the Command Line

AdminStudio 2023 | 25.0 | Repackager

To run the Repackaging Wizard from the command line, perform the following steps.

To run the Repackaging Wizard from the command line:

1. Open a command-line prompt.
2. Type Repack.exe followed by any command-line options you want to pass. See Repackaging Wizard Command-Line Options.
3. Press Enter.

An example of a typical command line is as follows:

Repack.exe -app Setup.exe -o C:\MyRepackagedApps\Output

     -pp SomeApp -cs Custom -cf MyOptions.ini -sb

In the above example, the following options are used:

Repackager Command-Line Options used in Example

Option

Description

-app

Specifies the name of the setup.

-o

Specifies the location of the output directory

-pp

Specifies the name of the product (and the name of the Repackager output file).

-cs

Specifies the name of the custom analysis options file to use.

-cf

Name of the analysis options file to use.

-sb

Allows you to run Repackager silently, with no user interaction.