Skip to main content
March 25, 2008
Answered

Merged CHM Search Problem

  • March 25, 2008
  • 3 replies
  • 1344 views
Using RH v7 on Windows XP.

I have a master project that includes a secondary merged CHM. I have published both CHMs to the same directory.

When I open the master project, the secondary TOC shows up and functions as expected. When I do a search, results from both projects are returned....the "Location" column on the search window indicates the origin of the matching topic.

When another user tries the same test, their results are different. For them, everything works except for the search. The secondary TOC is being built into the master TOC correctly...and the secondary topics are displayed correctly in the main frame. But when the user does a search, only results from the master project are returned.

Any ideas?
Thanks
Dave
This topic has been closed for replies.
Correct answer Pete_Lees
Hi, Dave,

If you open the project (.hhp) file for the master help file in a text editor like Notepad, does the [MERGE FILES] section specify the absolute path to the secondary help file? If so, you need to change this to a relative path and then recompile.

Pete

3 replies

Inspiring
March 25, 2008
As an aside, it has been my experience that RoboHelp will use that absolute path again the next time you compile after making changes in your project. You'll need to fix the HHP every time. It's become part of our process, really. Just something to remember.
March 26, 2008
Hi, Lucas -
Thanks. I see what you mean. Looks like 1 more step to add to our process.
Dave
RoboColum_n_
Brainiac
March 25, 2008
And they have the exact same files and have entered exactly the same search? Did you try the search on the secondary file?
March 25, 2008
Yes. I just double-checked.

Same versions of the file. Same search string.

The search works if the secondary file is opened independently.

The only difference is that my files are on my C:\ drive, and their copies are on their C:\ drive. We both copied them from the same network directory (we currently don't access CHMs on the network directly because of the MS security patches).
Pete_LeesCorrect answer
Participating Frequently
March 25, 2008
Hi, Dave,

If you open the project (.hhp) file for the master help file in a text editor like Notepad, does the [MERGE FILES] section specify the absolute path to the secondary help file? If so, you need to change this to a relative path and then recompile.

Pete
RoboColum_n_
Brainiac
March 25, 2008
Hi Dave. Have you seen this behaviour or are you just passing on info. If it works for you, it is either a user error on behalf of the other user or there is some set-up issue. Have you checked they have the same versions of the files you have? If they open the secondary file and search the same keyword can they find it?
March 25, 2008
Hi, Colum -
Thanks for the reply.

To answer your question, I have seen the odd behavior personally. The "other user" is in my department. We discovered the oddity during our internal testing.

Also, if they open the secondary CHM independently, they can search successfully for the phrase.

Thanks,
Dave