CyberCitizen wrote:
support.ict wrote:
Does anyone have a solution for this. We have the same issues. On Window 10 build 1809, exe's are not installed. We have wrapped them in a batch file. Launching in Explorer works fine, deploy from Lansweeper failes. Deploying on earlier versions of Windows 10 are OK.
As Felix mentioned, a lot of software manufacturer don´t provide a msi file.
Would need some more information about what your trying to install, what steps / deployment package you are using etc to troubleshoot. *.exe can be anything. Eg I install Java via an exe as that is what they provide and it installs fine.
Ok, this is how we work for the moment (and it worked fine until we've got our first laptop delivered with Windows 10 build 1809).
Lansweeper runs on 1 server, our software files are located on another server. We have (for legacy reasons) for most of the software a batch file with sets some variables, looks in the registry if the software isn't already present and if not installs the software and does some logging. No rocket science involved here.
The deployment package just runs the batch file.
Example of batch file to install the Borland Database Engine (bde.exe)
If you need bde.exe, I can share it via Egnyte, if you can provide an emailadres.
SetLocal
set deployserver=\\{OurDeployServerName}\_SoftwareDeploy
set ProductName=Borland Database Engine Setup
set LogLocation=%DeployServer%\_Install_Logs
IF NOT "%ProgramFiles(x86)%"=="" (goto ARP64) else (goto ARP86)
:ARP64
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE\Microsoft\Windows\CurrentVersion\Uninstall\%ProductName%"
if NOT %errorlevel%==1 (goto End)
:ARP86
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ProductName%"
if %errorlevel%==1 (goto Deploy) else (goto End)
:Deploy
start /wait %DeployServer%\BorlandBde\bde.exe /S
echo Borland Database Engine ; %date% ; %time% ; Error code %errorlevel% >> %LogLocation%\%computername%.txt
:END
EndLocal
Lansweeper deploy package
<?xml version="1.0" encoding="utf-8"?>
<Package>
<Name>Installer - Borland DBE</Name>
<Description></Description>
<ShutdownOption>0</ShutdownOption>
<ShutdownTime>0</ShutdownTime>
<MaxDuration>300</MaxDuration>
<Rescan>False</Rescan>
<RunMode>1</RunMode>
<Steps>
<Step>
<Nr>1</Nr>
<Name>Install</Name>
<Type>4</Type>
<ReturnCodes>0,1641,3010</ReturnCodes>
<Success>-2</Success>
<Failure>-3</Failure>
<Path>{PackageShare}\BorlandBde\BorlandBDE_GPO_Install.bat</Path>
<Parameters></Parameters>
<MSIParameters></MSIParameters>
<MSIName></MSIName>
<MSIVersion></MSIVersion>
<Command>"{PackageShare}\BorlandBde\BorlandBDE_GPO_Install.bat"</Command>
<EditMode>False</EditMode>
<Conditions />
</Step>
</Steps>
<SoftwareVersion>7.0.151.4</SoftwareVersion>
</Package>