Skip to main content
Participant
November 21, 2013
Question

Creating a merge project via command line

  • November 21, 2013
  • 2 replies
  • 1069 views

Hi,

When I create a merge chm-project via the command line (rhcl.exe), then the generated hhp file contains absolute paths to the child chm files, instead of relative paths.

The result is that the index and search does not work when opening the merged chm when the files are on another location. This seems a bug to me?

regards,

Peter

    This topic has been closed for replies.

    2 replies

    Participant
    February 6, 2014

    Has this problem been solved? I have the same problem with my merged file in RH10. I am very close to being able to use the command line to auto-generate all help files as part of our software build process, but am unable to due to this .hhp bug for merged files and a few minor tweaks to the Word output's formatting.

    In Robohelp 8 we often had to fix the HHP as mentioned in the link Peter Grainge provided, but now with 10, even fixing the HHP and verifying the content of the XPJ doesn't work with the command line - it always resets to include an absolute path.

    Peter Grainge
    Community Expert
    Community Expert
    February 6, 2014

    I don't use command line generation but to the best of my knowledge, this has not been fixed.

    Please follow this link.

    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38


    See www.grainge.org for RoboHelp and Authoring tips

    @petergrainge

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Peter Grainge
    Community Expert
    Community Expert
    November 21, 2013

    Please see the Sticky Topics and always include the version of Rh that you are using.

    Are you saying this only happens when you generate from the command line and it is OK if you generate from Rh?


    See www.grainge.org for RoboHelp and Authoring tips

    @petergrainge

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Participant
    November 22, 2013

    Hi,

    I'm sorry, I forgot to mention that I Use RH 10.

    It indeed only happens when generating from the command line. When you generate from Rh, then the hhp of the merge project contains following section:

    [MERGE FILES]

    BaseProject1.chm

    BaseProject2.chm

    When generating from command line, the section looks like this (C:\usr\MergProject is the folder where the MergeProject is located, and the child chm files are located in that folder):

    [MERGE FILES]

    C:\usr\MergeProject\BaseProject1.chm

    C:\usr\MergeProject\BaseProject2.chm

    Peter Grainge
    Community Expert
    Community Expert
    November 24, 2013

    Please see Item 13 at http://www.grainge.org/pages/authoring/rh9/using_rh9.htm

    I am thinking the problem was fixed when generating from Rh but not the command line.


    See www.grainge.org for RoboHelp and Authoring tips

    @petergrainge

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.