Skip to main content

Error when applying Fix Pack: Error:Copying the file to patch backup folder ---- System.ArgumentException: Illegal characters in path.

Article # 308722 - Page views: 334

Question / Problem: 

A customer has had an issue with applying a Fix Pack to their existing KTA environment.

The installation writes out the following to an error log text file (placed on the Desktop):

2019-06-27 15:57:37.3586 ---- BackgroundWorker.OnDoWork => Installer.HotFixInstall => DeltaPatchInstaller.CreateBackup ---- Error:Copying the file to patch backup folder ---- System.ArgumentException: Illegal characters in path.
   at System.IO.LongPathHelper.Normalize(String path, UInt32 maxPathLength, Boolean checkInvalidCharacters, Boolean expandShortPaths)
   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.GetFullPathInternal(String path)
   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   at Agility.Install.PatchInstallerBase.CopyInsatalledMedia(String patchSourcePath)
   at Agility.Install.DeltaPatchInstaller.CreateBackup()

(For TS reference only:  Previous case number is 25044561)

Answer / Solution: 

TS gathered a ProcMon trace from the customer, and in reviewing the ProcMon details, we looked at a registry key used by our installer:

The value on the customers system is:
"C:\Program Files\TotalAgility Installation Information\Kofax TotalAgility\Setup.exe" /u

And while that looks reasonable, we would not actually expect the path to be quoted in this context. Nor does it have quotes on any TS test systems.

We added quotes to this value and, tried to install a Fix Pack, and we were able to replicate the customers error.

Removing these " "  quotes from the value, allowed for the next upgrade attempt to be successfull.

Applies to:  

Product Version Category
TotalAgility 7.5 Smart Process Applications


Author:  Barry Gilloway

  • Was this article helpful?