Skip to main content
Inspiring
January 21, 2025
Answered

RoboHelp 2022 command line generation scripting suggestions

  • January 21, 2025
  • 2 replies
  • 694 views

Hello,
We are working on upgrading to RH2022 from RH2020. We have 50+ outputs, mostly PDFs, to generate from each of three projects, and a few from a fourth project. We have been using TCCLE to run the generation bat file, but unfortunately, this is not working with the newest version of RoboHelp, 2022.5. They don’t seem to work together.
I have seen references here to larger projects with greater numbers of outputs and I am hoping someone may have some suggestions for a scripting vehicle(?) that will help us get RH2022 to generate all my outputs reliably. 
I appreciate any suggestions and feedback that you are willing to share.
Thank you.

Correct answer Attempted_Documentation

The issue turned out to be in the Java HOME path.  A powershell script was added to the output generation process. One of the script functions sets the path, allowing RoboHelp to find Java. Something about TCC/LE not using the parent environment and a new environment was needed with a new HOME path. The script also helps with the “rh-render-process-gone” error.

2 replies

Attempted_DocumentationAuthorCorrect answer
Inspiring
March 18, 2026

The issue turned out to be in the Java HOME path.  A powershell script was added to the output generation process. One of the script functions sets the path, allowing RoboHelp to find Java. Something about TCC/LE not using the parent environment and a new environment was needed with a new HOME path. The script also helps with the “rh-render-process-gone” error.

Inspiring
January 22, 2025

Generating that many outputs is certainly possible. Generating them reliably is a whole other beast.

 

In my scenario, I frequently have to generate 9 different pdf outputs with different expressions/TOCs from different projects. I've noticed that my custom publication tool cannot handle publications of more than 3 pdfs at a time without hanging indefinitely.

The average generation time per pdf (if successful) seems to be around 3 minutes when the computer is not being actively used.

 

I'm also not quite sure what you mean with 'not working with the newest version of RoboHelp'. The generation in RH2022.5 still works with commandline and TCC/LE (from what I can see) interacts with that.

 

Jeff_Coatsworth
Community Expert
Community Expert
January 22, 2025

Had to google that one - never heard of TCC/LE before.