The error would indicate that the command you used in not correct. However it's not always the issue.
To test the deployment command, you can do the following:
- Copy the Result command of the failed deployment package step
- Replace {PackageShare} with the exact path defined under Deployment\Security options
- Paste the command into a command prompt on an example target machine and run it.
Genreally speaking, if the deployment works when using the command prompt, it should also work with Lansweeper.