Incorrect function usually points to either an invalid command or file, or a file access issue. I recommend testing your command in a local CMD before adding it to the deployment module, to ensure it's fully functional.
Your deployment package does indeed also miss a "Next" step, but this is secondary and isn't causing it to fail. Do remember to add a "success" and "fail" action to each step you can create (within the step creation dialogue at the bottom).
More information on creating deployment packages: https://www.lansweeper.com/knowledgebase/creating-a-deployment-package/