11-30-2021 02:37 AM
Hello
I created a package which runs a batch file on post installation. The batch file returns a error code and the NIPM window shows the error message as The executable returned error '5000' after running the custom execute command 'path='"<batch-file-path>"', options='''.
To customize the error, I have created custom-errors.xml and txt file. But the batch file is not showing the error message written in the file.
is there a way to return error message from batch file to NIPM ?
11-30-2021 12:33 PM
NIPM does not use custom-errors.xml, and there unfortunately is not a way to display a custom message. Assuming you're using the LabVIEW package builder, two alternatively could be:
Regards,
- Wes