Script execution
Script execution
Scripts entered here are automatically executed using the Windows command line during the publishing procedure.
Examples
Powershell script
powershell "C:\scripts\myscript.ps1"
Batch script
C:\scripts\myscript.cmd
Error handling
If a script is not executed properly (ExitCode ≠ 0), the publication fails. The previously executed actions (script before publishing or writing the message file) are not reverted in case of an error.
Before publishing
Scripts entered here are executed before writing the message file.
After publishing
Scripts entered here are executed after writing the message file.