TapdatMouse wrote:
Hey folks,
I am also trying to do a silent install. Mind helping me out here? I put the .exe on the package share via Lansweeper. I keep getting the following error. I have replaced the internal domain and site key with (xxxxxx) for security hygiene.
Result: Deployment ended: Incorrect function. Stop(Failure). Credential: (xxxxxxx\lansweepersvcs). ShareCredential: (lansweepersvcs). Command: "\\C:\Program Files (x86)\Lansweeper\PackageShare\Installers\SentinelAgent_windows_v3_3_3_29.exe"/SITE_TOKEN=xxxxxxxxxxxxxxxxx== /SILENT"
Of course, we are here to help each other learn.
Looking at the command line that is being pushed I can see a few issues. The first being that its referencing the C: drive of the Lansweeper server. This is never going to work as the installer wont be able to connect to that file path referenced. There are also some spacing issues with your command line.
If you are using the built-in Lansweeper package share which it appears you are doing, your command should look something like this.
"{PackageShare}\Installers\SentinelAgent_windows_v3_3_3_29.exe" /SITE_TOKEN=xxxxxxxxxxxxxxxxx /SILENT
The only thing that might give you issues is if the site token has spaces in it, in which case you might need to wrap that in quotes as well.
I would be putting in some condition checks as well if you want to make it more full proof eg, checks that the installer is there first.
Below is a package export, you can save as an XML file and import it.
<?xml version="1.0" encoding="utf-8"?>
<Package>
<Name>DEV.APP.SentinelAgent.v3.3.3.29</Name>
<Description>Test Package for TapdatMouse</Description>
<ShutdownOption>0</ShutdownOption>
<ShutdownTime>0</ShutdownTime>
<MaxDuration>900</MaxDuration>
<Rescan>True</Rescan>
<RunMode>2</RunMode>
<Steps>
<Step>
<Nr>1</Nr>
<Name>Check for Installer File</Name>
<Type>5</Type>
<ReturnCodes></ReturnCodes>
<Success>2</Success>
<Failure>-3</Failure>
<Path></Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command></Command>
<EditMode>False</EditMode>
<Conditions>
<Condition>
<Type>1</Type>
<SpecOne>{PackageShare}\Installers\</SpecOne>
<SpecTwo>SentinelAgent_windows_v3_3_3_29.exe</SpecTwo>
<Operator>1</Operator>
<Value></Value>
</Condition>
</Conditions>
</Step>
<Step>
<Nr>2</Nr>
<Name>Install SentinelAgent</Name>
<Type>1</Type>
<ReturnCodes>0,1641,3010</ReturnCodes>
<Success>-2</Success>
<Failure>-3</Failure>
<Path>{PackageShare}\Installers\SentinelAgent_windows_v3_3_3_29.exe</Path>
<Parameters>/SITE_TOKEN=xxxxxxxxxxxxxxxxx /SILENT</Parameters>
<MSIParameters>/i /qn /norestart</MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command>"{PackageShare}\Installers\SentinelAgent_windows_v3_3_3_29.exe" /SITE_TOKEN=xxxxxxxxxxxxxxxxx /SILENT </Command>
<EditMode>False</EditMode>
<Conditions />
</Step>
</Steps>
<SoftwareVersion>7.0.110.2</SoftwareVersion>
</Package>