Community FAQ
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/

Archive

This board contains archived posts from the retired Lansweeper Forum and Insiders Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now