
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2019 06:57 PM
Command=
\\server1\DefaultPackageShare$\Installers\install_ver2.exe
Deployment ended 'incorrect function' (I know a little vague) Now I know the permissions are correct on the share as I left the default 'everyone' to have read / execute. I tried running the install as the system account as well as scanning credentials (scanning is admin on win 10 pc). Still no dice. Now I do see the setup exe in the task manager but it never seems to progress and certainly nothing pops on screen. I did this exe without a silent switch just to test. Also this is an upgraded version to existing software. "ver1"
Is there something clear I'm missing?
- Labels:
-
General Discussion

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2019 04:04 PM
This can at least help you rule out basic connectivity and permission issues.
As for software, make sure the parameters you're using work.
You can also test your deployment package steps. For testing the commands:
- Copy the Result command of the failed deployment package.
- Use the exact path defined under Deployment\Security options.
- Paste the command into the command prompt of a machine where the deployment failed.
- This should help you identify the cause of the issue. Only when the command works in Command Prompt will it work in Lansweeper as well.
- If the command worked then we recommend that you check that the command has been added correctly to your package and the parameter are also correctly added to the parameter field.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2019 03:47 PM
For uninstalls, you can also find these commands in the registry.
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\
-or-
HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\
Search through those for the software your working with and generally there will be a 'UninstallString' or 'QuietUninstallString' key that has the switches you would need.
-Kris

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2019 03:25 PM
you could try adding a WMI command to uninstall the software (testing on your PC first of course hehe)
command:
WMIC
product where name="whatever" call uninstall
reference: http://pcsolutions-alternative.blogspot.com/2014/02/how-uninstall-programs-using-command.html
BUT... it's been a while since I ran something not silent/quiet... and I don't really use deployment in LS anymore... so I'd also try the silent/quiet switch, if there is one.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2019 02:50 PM
EDIT: I did let it run the full 15min and error changed to timeout.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2019 11:12 PM
I would run the same command in your deployment in a admin command window so that I could see if all the switches were correct. There may also be the need to uninstall or stop the previous version which a switch just can't handle.
-Kris

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2019 05:01 PM
HelpGy wrote:
Is there something clear I'm missing?
Did you go through this list?
https://www.lansweeper.com/knowledgebase/deployment-requirements/
Make sure remote registry service is running and configure it through a GPO then you're not running around your office like a baffoon changing the machines one by one. 😉

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2019 02:19 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2019 04:58 PM
JacobH wrote:
Just for grins and giggles, try renaming the .exe's file name to less than 8 characters, and try again.
Oh jeez - well i'm glad you suggested to do that because fool me thought because their was deployment action already setup the LsAgent would be already in the default package share - it wasn't lol
Anyway - better logging messages should have provided this info. tsk.
It worked by the way without renaming

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2019 12:22 PM
I have all the prerequisites in place as, my first deployment was going to be LsAgent actually and it proper kept falling over itself, but could deploy the application without a hitch using the free version of PDQDeploy which is embarrassing for you guys becaue their inventory and deployment sofwtare was the alternative I looked at before choosing Lansweeper.
Example error message below fron lansweeper log..
Result: Deployment ended: Incorrect function. Stop(Failure). Credential: (abc\stuvxyz). ShareCredential: (stuvxyz).
Command: "\\server\DefaultPackageShare$\Installers\LsAgent-windows.exe" --mode unattended --server 192.168.1.235 --port 9524 --agentkey [my actual agent key] 6.0.230.4
not really helpful error messages unfortunately 😞
