
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2015 07:28 PM
I've been following along with the development of Chocolatey, a package manager for Windows. A big advantage is they have a large library of packages available. There are some security questions about certain packages, but I'm more interested in the concept at this point.
The basic idea is that after a computer has run the initial powershell script to install chocolatey, an administrative command prompt can type something like "choco install flashplayer" and flash player will be either installed (if it isn't yet), or updated (if it already is installed) to the latest version in the chocolatey repository.
I made a lansweeper package to run the initial Powershell script to install chocolatey. This package succeeded.
From there, I attempted to create a deployment package that consisted of one step:
Command: chocolatey install notepadplusplus
This command does work at the command line, but when deploying through lansweeper, I get:
Result: Deployment ended: Incorrect function. Stop(Failure).
Is there a place that I can get more info on this error message?
Thanks!
-Stead
Eugene, OR, USA
Solved! Go to Solution.
- Labels:
-
General Discussion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2015 04:16 PM
If you are unable to resolve the issue, contact support@lansweeper.com and provide:
- Program Files (x86)\Lansweeper\Service\Errorlog.txt, as present on your Lansweeper server.
- Export of your deployment package.
- Export of the entire Deployment\Logs page. Hit one of the export buttons on the left.
- Screenshot of the problem command as executed on a client machine that generated a deployment error.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2023 04:33 AM
Sorry to revive an old post. But I also ran into this issue with MDT setting up deployments.
Basically the first powershell installs Chocolately, however that existing cmd process your in can't see Chocolately installed while in that same remote session. Because of this you need to call another session / cmd window to do the installation, however it means you lose the error code reporting as it has to be called as a separate process eg start cmd /c "choco install vlc -y"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2015 04:16 PM
If you are unable to resolve the issue, contact support@lansweeper.com and provide:
- Program Files (x86)\Lansweeper\Service\Errorlog.txt, as present on your Lansweeper server.
- Export of your deployment package.
- Export of the entire Deployment\Logs page. Hit one of the export buttons on the left.
- Screenshot of the problem command as executed on a client machine that generated a deployment error.
