3. Creating a MSHelp2 Collection
link state symbols
- Unvisited
- Focus/Hover
- Visited
- Currently Open
topics
A Help Authoring Guide
Step by Step
- In the Helpware FAR H2 Project Editor dialog box:
- Click the Collection Edit Mode radio button.
- Click the New Collection Wizard button.
- A Confirm message box opens stating that the project files do not have correct XML headers.
- Under Fix up file headers? click the Yes button.
- A FAR message box opens stating 4 files updated.
- Click the OK button.
- The 1. Enter a Collection Filename dialog box opens.
- Your .HxC file name and its containing folder should show in the dropdown field.
- Click the Next button.
- The 2. Add Help Titles dialog box opens.
- Click the Add button.
- This opens your H2_Output folder.
- Click on the .HxS file to highlight it.
- Click the Open button.
- This returns you to the 2. Add Help Titles dialog box.
- The Help Project field will show your H2 Help project name.
- The Title ID field will show your Title ID.
- Click the Next button.
- The 3. Choose a Table of Contents Plug-in Style dialog box opens.
- Select the Flat Style radio button.
- Click the Next button.
- The 4. Enter Collection Namespace and Description dialog box opens.
- In the Namespace Name field, enter your collection’s namespace name.
- Important Note: your namespace name MUST NOT contain any spaces between words.
- An example of a namespace name would be: xyzcorp.classlibrary.en
- The namespace name should end with the characters of the collection’s language, i.e. en = English.
- Write down or record your namespace name for reference later in the process.
- In the Namespace Description field, enter a short description of the collection.
- DO NOT put any spaces between the Namespace Description’s words, i.e. xyzcorpClassLibrary.
- Click the Next button.
- The 5. Create All Files dialog box opens.
- Click the Next button to create all files shown in the viewer area.
- The Select File Type message box appears.
- Select the radio button for the file type that you prefer.
- For example, I use the UTF-8 format for my x.h.t.m.l. project files, thus I choose the UTF-8 Unicode
radio button.
- Click the OK button.
- A Confirm message box appears, telling you that your .HxC file exists, and if you want to overwrite it.
- Click the Yes to All button.
- The 6. Create Registration Script File dialog box opens.
- Make sure the Create H2Reg Script file checkbox is checked (default).
- If not, then please check it.
- Leave the Script File Name field as default (H2Reg_cmd.ini).
- Make sure that the Parent Namespace field contains the ms.vsipcc.v80 namespace.
- Important Note:
- This is a critical part of the H2 Collection creation process.
- Your H2 Collection must become a child of the Microsoft Visual Studio ms.vsipcc.v80 parent namespace for it to show in the Visual
Studio IDE Help Contents listings.
- You will see the importance of this action later, when we are ready to build the Setup and Merge modules of your Collection in the Visual Studio 2005
I.D.E.
- The next action will create the H2Reg_cmd.ini file which will be stored in your H2_Output folder.
- Click the Next button.
- The H2Reg_cmd.ini – Notepad text file is displayed showing the Collection’s registration instructions for the Visual Studio build process, which we will do later.
- Save the file and close it.
- The 7. Register and Test dialog box opens.
- Click on the H2Reg Import button to review its contents.
- DO NOT change or alter anything in this dialog box.
- Click the Close button.
- DO NOT register or view your Collection at this time.
- Registration will be done automatically when you execute the setup.exe or .msi files later.
- Click the Next button.
- The Finished dialog box opens.
- Click the Finished button.
- This returns you to the Helpware FAR HTML H2 Project Editor dialog box.
- Click on the File button in the toolbar, and Save the collection.
- Click on the File button again in the toolbar and Exit the Helpware FAR HTML H2 Project Editor.
- We are now finished using Helpware FAR HTML to create our H2 Project and Collection.
- Close Helpware FAR HTML.