Command Line Macros

Home » Documentation » Command Line Macros

When specifying command line arguments for the wrapped installer, you can use macro names that will be substituted with values at runtime. Macro values can be used when specifying a fixed list of parameters in the wizard or when passing arguments to the wrapped installer using the WRAPPED_ARGUMENTS.

The following macros are currently supported:

  • [SourceDir] – The full path of the folder that contains the MSI package.
  • [FilesDir] – The full path of the folder where the executable an other included files are extracted during installation.
  • [OriginalDatabase] – The full path to the MSI package.

Please note that macro names are case sensitive.

Example:

You could specify something like /mysource=”[SourceDir]” in the list of install arguments for the wrapped installer.

Note: This feature is only available in the professional version.