Use the search and browse feature to view Kepware's repository of more than 500 Knowledge Base articles. Narrow your results or type your query into the search field below.

Search Solutions Results By: View All Solutions

Kepware Knowledge Base: Solution


Installation Error: -5006: 0x80004005 (80004005)


Last Update: 11/7/2018

Possible Cause:
This error usually occurs when a compressed setup is being run that is not named "setup.exe" on machines with Terminal Services enabled. The operating system fails to return the correct Fonts system folder, which then causes the setup to throw an exception during initialization. Investigation has shown that these operating systems do not use the default Windows folder; instead, they use C:\Documents and Settings\<CurrentUser>\Windows. This folder does not include a Fonts subfolder, so the operating systems return a failure when trying to find it.

Solution:
Rename "KEPServerEX.exe" to "setup.exe". If errors continue, try the following:

  • Disable Terminal Services on the machine and then re-run the installation.
  • Run the install from Add/Remove Programs instead of by directly launching the installation.
  • Create the Fonts folder in the location where the setup is looking for it. This should resolve the issue and allow the install to continue. For example, adding a folder at Documents and Settings\<CurrentUser>\Windows\Fonts (where CurrentUser is the user name of the user currently logged in) allows the setup to initialize successfully.

Note: The reason that the alternate Windows folder is returned is documented in MSDN or the PlatformSDK in the help for the GetWindowsDirectory() API.

Related Products
KEPServerEX