→ Having trouble accessing our new support portal or creating a ticket? Please notify our team here

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
MDGraves
Engaged Sweeper III
I am attempting to run my first deployment. I am getting this error, and don't understand what to do next.

Result: Deployment ended: Incorrect function. Stop(Failure). Credential: (Service account - NT AUTHORITY\SYSTEM). ShareCredential: (<mydomain>\<my_account>).

for BOTH of these commands.

Command: "\\<my_server>\DefaultPackageShare$\Installers\Lansweeper\LansweeperSetup.exe" /silent /notools /accepteula /upgrade

=> the LANSWEEPER folder is missing from this location = "DefaultPackageShare$\Installers\"
=> I get "permission denied" if I try to add folder, to then add EXE to that folder.
=> the <mydomain>\<my_account> is configured in LS to use the share

Command: "D:\Installs$\LANSWEEPER\INSTALL_LANSWEEPER\5.3.0.8\LansweeperSetup_5_3_0_8.exe" /silent /notools /accepteula /upgrade

=> so I tried pointing here, where I downloaded the file to, from the LS site.

I am logged onto this server as the <mydomain>\<my_account> account.
1 ACCEPTED SOLUTION
Bert_D
Lansweeper Employee
Lansweeper Employee
Try going to "C:\Program Files (x86)\Lansweeper\PackageShare" and see if you have permissions to add folders there.

View solution in original post

6 REPLIES 6
Jeroen_Proost
Engaged Sweeper
For me the suggested solution does not work, but my error message is slightly different too. This is what I get when trying to deploy an *.msi.

Result: Deployment ended: Fatal error during installation. Stop(Failure). Credential: (DOMAIN\Administrator). ShareCredential: (DOMAIN\trustedinstaller).

Return 1603

Does anyone got an idea ?

Thank you very much,
CyberCitizen
Honored Sweeper
We are deploying this without issue, we are deploying both the 32bit and 64 bit versions for compatibility with various applications. Here is our XML file you can import.

<?xml version="1.0" encoding="utf-8"?>
<Package>
<Name>APP.Java</Name>
<Description></Description>
<ShutdownOption>0</ShutdownOption>
<ShutdownTime>0</ShutdownTime>
<MaxDuration>900</MaxDuration>
<Rescan>True</Rescan>
<RunMode>2</RunMode>
<Steps>
<Step>
<Nr>1</Nr>
<Name>Install 32bit</Name>
<Type>1</Type>
<ReturnCodes>0,1641,3010</ReturnCodes>
<Success>2</Success>
<Failure>-3</Failure>
<Path>{PackageShare}\Java\jre-8u191-windows-i586.exe</Path>
<Parameters>/s</Parameters>
<MSIParameters>/i /qn /norestart</MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command>"{PackageShare}\Java\jre-8u191-windows-i586.exe" /s</Command>
<EditMode>False</EditMode>
<Conditions />
</Step>
<Step>
<Nr>2</Nr>
<Name>Install 64bit</Name>
<Type>1</Type>
<ReturnCodes>0,1641,3010</ReturnCodes>
<Success>-2</Success>
<Failure>-3</Failure>
<Path>{PackageShare}\Java\jre-8u191-windows-x64.exe</Path>
<Parameters>/s</Parameters>
<MSIParameters>/i /qn /norestart</MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command>"{PackageShare}\Java\jre-8u191-windows-x64.exe" /s</Command>
<EditMode>False</EditMode>
<Conditions />
</Step>
</Steps>
<SoftwareVersion>7.0.110.2</SoftwareVersion>
</Package>


akkayam
Engaged Sweeper
I am trying to deploy JavaSetup8u191.exe and I am getting error : Result: Deployment ended: Incorrect function. Stop(Failure). Credential: (flexitech\lansweeper). ShareCredential: (testuser). Command: "{PackageShare\Installers\JavaTestDeployment\JavaSetup8u191.exe"
I also tried : C:\Program Files (x86)\Lansweeper\PackageShare\JavaTestDeployment\JavaSetup8u191.exe and I had the same error.


Here is the step:

Step #1

Action: Condition
Step Name: Executable check
Condition type: File
Path: C:\Program Files (x86)\Lansweeper\PackageShare\JavaTestDeployment\JavaSetup8u191.exe
File Name:JavaSetup8u191.exe
Condition: Exists
Action on Success: Next
Action on Failure: Next


Step#2

Action: Installer
Step Name: Install Java
Install File : {PackageShare\Installers\JavaSetup8u191.exe
Parameters: /s
Result Command: "{PackageShare\Installers\JavaSetup8u191.exe" /s
Success Codes:0,1641,3010
Action on Success: Stop (Success)
Action on Failure: Stop (Failure)
akkayam wrote:
I am trying to deploy JavaSetup8u191.exe and I am getting error : Result: Deployment ended: Incorrect function. Stop(Failure). Credential: (flexitech\lansweeper). ShareCredential: (testuser). Command: "{PackageShare\Installers\JavaTestDeployment\JavaSetup8u191.exe"
I also tried : C:\Program Files (x86)\Lansweeper\PackageShare\JavaTestDeployment\JavaSetup8u191.exe and I had the same error.


Here is the step:

Step #1

Action: Condition
Step Name: Executable check
Condition type: File
Path: C:\Program Files (x86)\Lansweeper\PackageShare\JavaTestDeployment\JavaSetup8u191.exe
File Name:JavaSetup8u191.exe
Condition: Exists
Action on Success: Next
Action on Failure: Next


Step#2

Action: Installer
Step Name: Install Java
Install File : {PackageShare\Installers\JavaSetup8u191.exe
Parameters: /s
Result Command: "{PackageShare\Installers\JavaSetup8u191.exe" /s
Success Codes:0,1641,3010
Action on Success: Stop (Success)
Action on Failure: Stop (Failure)


Akkayam, you are missing a "}" after "{PackageShare…" in "{PackageShare\Installers\JavaSetup8u191.exe".
MDGraves
Engaged Sweeper III
thanks for the 'direct' path. That worked - I'm deploying now!
Bert_D
Lansweeper Employee
Lansweeper Employee
Try going to "C:\Program Files (x86)\Lansweeper\PackageShare" and see if you have permissions to add folders there.