Skip to main content
Kofax

How-To Rollback the KAFC Workflow Agent

307588

Question / Problem: 

When the Kofax Analytics for Capture (KAFC) Event Sender WorkflowAgent has been upgraded and needs to be Rolled Back, then the uninstallation process may not unregister the related DLL / AEX files.  How can the KAFC Workflow Agent be rolled back to allow an earlier version to be installed?

Answer / Solution: 

The uninstallation of the KAFC Workflow Agent may not successfully unregister components and manual steps to complete that process must be followed, belowL 

  1. Launch an elevated command prompt: Install KAFC Workflow Agent 2.1

  2. Navigate to the Kofax Capture BIN directory
     - Default Location  --  C:\Program Files (x86)\Kofax\Capture\Bin

  3. Backup the .DLL and .AEX files installed during Step #1 and referenced in Step #6

  4. Launch the Control Panel and Uninstall KAFC Workflow Agent 2.1

  5. Replace .DLL and .AEX files to the BIN directory (from Step #3 Backup)

  6. Launch an elevated command prompt: Change Directory to the location of the DLL File; Copy/Paste each entry and Press Enter to complete separately: 
    "C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe" /U "C:\Program Files (x86)\Kofax\Capture\Bin\Kofax.Analytics.Capture.setup.dll"
    "C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe" /U "C:\Program Files (x86)\Kofax\Capture\Bin\Kofax.Analytics.Capture.workflowagent.setup.dll"
    "C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe" /U "C:\Program Files (x86)\Kofax\Capture\Bin\Kofax.Analytics.Capture.WorkflowAgent.dll"
    "C:\Program Files (x86)\Kofax\Capture\Bin\regascex.exe" /U /f "C:\Program Files (x86)\Kofax\Capture\Bin\Kofax.Analytics.Capture.WorkflowAgent.AEX" /w "Kofax Analytics for Capture"
    "C:\Program Files (x86)\Kofax\Capture\Bin\regascex.exe" /U /f "C:\Program Files (x86)\Kofax\Capture\Bin\Kofax.Analytics.Capture.setup.AEX" /x "Kofax Analytics for Capture Setup"

  7. Launch a Registry Editor and navigate to the location of the related registry key: 
     - HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{F7BEDBDF-03F8-4123-9958-C10281159995}\InprocServer32\

  8. Backup & Delete the "2.1.0.0" Directory
     - HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{F7BEDBDF-03F8-4123-9958-C10281159995}\InprocServer32\2.1.0.0

  9. Launch an elevated command prompt: Install KAFC Workflow Agent 2.0.0.2
    This will overwrite the existing .DLL/.AEX files from the KAFC 2.1 installation.  

Applies to:  

Product Version Category
KAFC 2.0 Install / Uninstall
KAFC 2.1 Install / Uninstall

 

Sean Helms