Skip to main content
Inspiring
Jan 21, 2025 10:37 PM UTC
Answered

RoboHelp 2022 command line generation scripting suggestions

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.

Inspiring
Mar 18, 2026 3:39 PM UTC

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.

10 replies

Attempted_DocumentationAuthorCorrect answer
Inspiring
Mar 18, 2026 3:39 PM UTC

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.

Translate
Inspiring
Jan 22, 2025 8:51 AM UTC

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.

 

Translate
Jeff_Coatsworth
Community Expert
Community Expert
Jan 22, 2025 12:55 PM UTC

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

Translate