4 Replies Latest reply on Feb 22, 2008 9:44 AM by RoboColum(n)

    Disappearing/Reappearing CHM files, Part II

      I had this problem before and thought, with Colum's help, that I'd figured it out. Seems I was wrong. Here's the original thread for reference:

      http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=65&catid=449&threadid =1319556&highlight_key=y

      A week or so ago, I needed to change the name of my CHM files for my main project and several subprojects. I opened each project, and on the Project Manager tab, expanded the Single Source Layouts folder. I right-clicked the Microsoft HTML Help (Primary Layout) file and selected Properties. In the HTML Help Options in the Select Output Folder and File Name field, I change the file name from OLD.chm to NEW.chm for each of my projects.

      Yesterday and today, I've been making changes to content in my projects. On the TOC of the main project, I deleted the merged topic links and recreated them, pointing to the latest versions of the subprojects' new CHM files (after compiling the CHM files for each subproject).

      Then I compiled the CHM for the master project and checked in the !SSL! folder. Not only are my new CHM files present but *all of the old* CHM files as well. I deleted the links from the master project's TOC, recompiled (after manually deleting the old CHM files from the master's !SSL! folder, and the old CHMs come back.

      I know I must be missing something simple, but unfortunately, I can't figure out what it is. Suggestion, please. Thanks.

        • 1. Re: Disappearing/Reappearing CHM files, Part II
          RoboColum(n) Level 5
          Have you done a search through the entire project to ensure your old CHM file names are not referenced anywhere? Are they in the baggage files? My guess is that is you open up your master project's .HHP file in Notepad you will find the old file names there in the [MERGE FILES] section near the bottom of the file. If you definitlely don't have any other references to them you can manually remove them from the .HHP file and try compiling again. The usual warnings about taking backups, sacrificing goats, etc. need emphasising when editing any of the project's files outside RH.
          • 2. Re: Disappearing/Reappearing CHM files, Part II
            tripwire45 Level 1
            If I had links in topics that point back to the old CHM names, would that be sufficient to regenerate them? I've found some of these links ready and have had to recreate them. If this is the cause, then I'll need to manually recreate all of my links, which will be a bit of a chore.

            BTW, you called it. I opened up the Baggage Files folder and the old CHM names are all present. There are red "Xs" by those names and went I try to open them, I get a message stating "File Not Found".

            I opened the .HHP file in Notepad and all of the old file names were present. Everything is backed up in Subversion, (I just committed the changes this morning) so will remove the names from the [MERGE FILES] section, save the changes and compile again (I don't seem to have a goat handy to sacrifice, unfortunately).

            I'll give it a shot and let you know how it goes (if you hear a loud, anguished scream...you'll know something went wrong).


            • 3. Re: Disappearing/Reappearing CHM files, Part II
              tripwire45 Level 1
              Gave it a whirl and it all worked out fine. Blew away the unwanted CHM file names in the .HHP file, recreated the merged linked and recompiled and it all works. No unwanted CHM files re-emerge. Thanks again, Colum. Have a good weekend.

              • 4. Re: Disappearing/Reappearing CHM files, Part II
                RoboColum(n) Level 5
                Indeed I will. You will too now!