Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

RoboHelp 2022 Fails to Generate CHM File - ENOENT Error and HHC3004 Warnings

New Here ,
Nov 24, 2025 Nov 24, 2025

Hi everyone,

I’m encountering an issue with RoboHelp 2022 when trying to generate a CHM file. I’ve been testing with one of the sample projects provided by Adobe, and every time I attempt to compile the CHM file, the process fails with the following error:

 

ENOENT: no such file or directory, lstat 'C:\Users\<User>\AppData\Local\Temp\RHTMP\<RandomFolder>\About_RoboHelp.chm'
Failed to generate <OutputName>. Check log for more details.

 

Here’s what I’ve tried so far:

  1. Verified that the Microsoft HTML Help Workshop (hhc.exe) is installed and functional.
  2. Cleared the temporary files in C:\Users\<User>\AppData\Local\Temp\RHTMP.
  3. Changed the output directory to a local folder (e.g., C:\TEMP\Test) to avoid issues with OneDrive or network drives.
  4. Ran RoboHelp in compatibility mode for Windows 10.
  5. Verified permissions on the temporary directory to ensure full access.

Additionally, when I manually test the HTML Help Compiler (hhc.exe), it attempts to compile but generates several warnings like this:

HHC3004: Warning: <FileName>.htm : The HTML tag "?xml version="1.0" encoding="windows-1252" ?" is not a valid HTML tag (it does not begin with an alphanumeric character).

The warnings seem to be caused by an XML declaration (

<?xml version="1.0" encoding="windows-1252"?>

) at the top of several HTML files. I understand this tag is not valid in HTML and needs to be removed, but even after addressing this, the CHM file still fails to generate in RoboHelp.

Has anyone else encountered this issue or have suggestions on how to resolve it? Any help would be greatly appreciated!

Thanks in advance!

56
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 24, 2025 Nov 24, 2025
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp