Repackaging Wizard Command-Line Options
AdminStudio 2023 | 25.0 | Repackager | Repackaging Wizard
The following command-line options are supported by the Repackaging Wizard:
Option |
Description |
|||||||||
Displays a dialog box containing usage information for all Repackager command line options:
|
||||||||||
Enables you to provide a pipe (|) delimited list of setups to run during repackaging. You can also pass command-line arguments to the setup by separating them from the setup name with a semicolon. If entering multiple setups, proper double quoting—including escaping nested quotes—is necessary: -app "\"exe1path\";cmdline1|\"exe2path"|...exeN; cmdlineN |
||||||||||
This option allows you to select your own configuration template containing exclusions. A sample of this type of file (named Default.ini) can be found in the following directory: [AdminStudioInstallDirectory]\Repackager This particular file contains the default exclusion information. |
||||||||||
This option allows you to select the configuration file type for exclusions. Possible values are:
|
||||||||||
Regarding the Repackaging an InstallScript MSI Setup to a Basic MSI Setup procedure, use this parameter in the command line using the following syntax: Repack.exe -app "c:\setup.exe" -o C:\apps\output -mm -is In the above example, the user wants to repackage c:\setup.exe using the Installation Monitoring repackaging method (as specified by -mm) and InstallScript conversion (as specified by -is). Repackager would perform the InstallScript conversion process and produce a Basic MSI package with InstallScript support as output. Without the -is parameter, Repackager would perform repackaging without performing InstallScript conversion, and would only create a Repackager .inc file as the output. Note:The command line parameter -is will be considered only if the setup to be repackaged is a InstallScript MSI setup. If user specified any other legacy setup that is not a InstallScript MSI setup then -is will be ignored. Note:If user chooses to use the Multiple Step Snapshot repackaging method, then the -is parameter will be ignored. Even if the setup is an InstallScript MSI setup, -is will still be ignored when using the Multiple Step Snapshot repackaging method. |
||||||||||
Repackager supports the following repackaging modes for snapshots:
|
||||||||||
Instructs Repackager to use installation monitoring as the repackaging technology. |
||||||||||
Instructs Repackager to use snapshots as the repackaging technology. |
||||||||||
Specifies a folder path not including the filename. The file name is derived from the Product Name unless overridden with the -of switch. |
||||||||||
Specifies the .inc file name that should be used instead of the product name. Use -o to specify the path. |
||||||||||
When using the Installation Monitoring method via command line to perform repackaging on a 64-bit operating system, you can use the -onp command line option to cause the Installation Monitoring method to only monitor new processes created on the system and to ignore any existing/ running ones. This option is useful to optimize the monitoring process on a 64-bit operating system. |
||||||||||
Allows you to set the company name. |
||||||||||
Allows you to set the product name. This will be the same name as the generated Repackager output file (.inc). |
||||||||||
Allows you to set the product version. |
||||||||||
This option allows you to run Repackager silently, with no user interaction. A progress dialog box is displayed. If no .ini file is specified using the -i parameter, Repackager uses Repack.ini as the default input file. If an output folder is not specified using -o, the default output folder is C:\Packages. |
||||||||||
This option allows you to run Repackager silently, with no user interaction and no progress dialog box. If no .ini file is specified using the -i parameter, Repackager uses Repack.ini as the default input file. If an output folder is not specified using -o, the default output folder is C:\Packages. |
||||||||||
This option displays standard version information for Repackager, including the full version and copyright information. |
Tip:To open a help topic from the command line that lists command line options, enter the following:
repack.exe /?
Note:In addition to the - sign for command-line arguments, you can also use the / symbol.