Pascal Scripting: ParamStr

Prototype:

function ParamStr(Index: Integer): String;

Description:

Returns the Index-th command line parameter passed to Setup or Uninstall, excluding undocumented internal parameters used by Setup and Uninstall.

Parameter number zero is the full file name with which Setup or Uninstall was started.

If Index is invalid, ParamStr returns an empty string.

See also:

ParamCount
GetCmdTail