Article - CS411851

Running into Installer Runtime Error (Exit Code: 5) when installing Kepware+ Agent

Modified: 20-Nov-2025   


Applies To

  • Kepware+ 1.0 F000 to 6.1

Description

  • Kepware + agent install fails on new node with Exit Code: 5
  • User received Error Exit Code: 5 while installing Kepware+ Agent 
  • Attempting to install PTC Edge for Kepware+, User believe they have the required firewall whitelists applied and the linux installer downloads required packages however two attempts of installing result in Error Exit Code: 5
  • Full error message:
[ERR] AgentInstaller encountered an unhandled exception: Sequence contains no matching element
[ERR] Stack Trace:    at System.Linq.ThrowHelper.ThrowNoMatchException()
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at Installer.Utilities.OsUtilities.IsHyperVAvailable(ICommandExecutor commandExecutor)
   at Installer.SoftwareInstallerEFlow.InstallPrerequisites()
   at Installer.AgentInstaller.Start(String deviceName, CancellationToken token)
   at Installer.AgentInstaller.ExecuteInstall(String deviceName, Boolean displayEula)
[ERR] Installer Runtime Error (Exit Code: 5)

 

 

This is a printer-friendly version of Article 411851 and may be out of date. For the latest version click CS411851