function ParamCount: Integer;
Returns the number of command line parameters passed to Setup or Uninstall, excluding undocumented internal parameters used by Setup and Uninstall.
ParamStr GetCmdTail