NISetError

Related Topics Link IconRelated Topics

Definition

To be used in Windows scripts only:

Use this command to output error messages.

This command has the following functionality:

  • It writes the entry NiSetError-><TextString> to the current NetInstall log file.
    (Which file this is, depends on how you started the installation of the package.) The entry will be qualified as an error (E).
  • It creates the variable WSS.ERRORTEXT and sets its value to <TextString>. The value of this variable is available for further interpretation.

Find more information on Windows Scripts in CallScript