cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
marcosmm
Engaged Sweeper
Whenever I try to install msi or exe files, this syntax error appears.

Result: Deployment ended: Incorrect function. There is no 'Next' step available at the end of the package. Please adjust accordingly. Credential: (XXXXXX). ShareCredential: (XXXXXXX).

How to put a next next finish on the command line?
1 ACCEPTED SOLUTION
Bruce_B
Lansweeper Alumni
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/

View solution in original post

1 REPLY 1
Bruce_B
Lansweeper Alumni
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/