On the Build menu, click Build Solution to build your Help project .HxS and the HelpDemo_Setup.msi files.
Note: |
|---|
"Unable to find module dependency" warnings can be ignored if the build completes successfully. These warnings are a relic of the process used to create the redistributable merge modules. |
When the build is complete, open HelpDemo_Setup.msi with Orca. The HelpDemo_Setup.msi will be built in a Release subdirectory of your setup project directory.
Open MSHelp2_RegTables__RTL_---_---.msm with Orca.
Select the HelpNamespace table in MSHelp2_RegTables__RTL_---_---.msm and add a new row with the following data for your namespace.
Column | Data |
|---|
NamespaceKey | <MS.HyHelp.1033> |
NamespaceName | <MS.HyHelp.1033> |
File_Collection | <.HxC File Table entry> |
Description | My Help Integration Demo Collection |
The NamespaceKey and NamespaceName entries take the form: <company prefix>.<collection>.<language ID>.
The File_Collection entry is obtained from the HelpDemo_Setup.msi File table. Find the File table entry for your .HxC file. Copy the File column value and paste it into the File_Collection column in the HelpNamespace table of MSHelp2_RegTables__RTL_---_---.msm.
Populate the HelpFile table with a row for each .HxS file in the collection.
Select the HelpFile table in MSHelp2_RegTables__RTL_---_---.msm and add a new row with the following data for each .HxS file in the collection.
Column | Data |
|---|
HelpFileKey | <MyHelpProject> |
HelpFileName | <MyHelpProject> |
LangID | 1033 |
File_HxS | <.HxS File table entry> |
File_HxI | <.HxI File table entry> |
File_HxQ | N/A |
File_HxR | N/A |
File_Samples | N/A |
The File_HxS entry is obtained from the HelpDemo_Setup.msi File table. Find the File table entry for helpdemoproject.HxS. Copy the File column value and paste it into the File_HxS column in the HelpFile table of MSHelp2_RegTables__RTL_---_---.msm.
If the compile output type of your Help project is an .HxS file with a separate .HxI file, you must include a File_HxI entry. The File_HxI entry is obtained from your HelpDemo_Setup.msi File table. Find the File table entry for your .HxI file. Copy the File column value and paste it into the File_HxI column in the HelpFile table of MSHelp2_TegTables__RTL_---_---.msm.
Select the HelpFileToNamespace table in MSHelp2_RegTables__RTL_---_---.msm and add a new row with the following data for each .HxS file in the collection. This table maps the Help files defined in the HelpFile table to the Help namespace defined in the HelpNamespace table.
Column | Data |
|---|
HelpFile_ | <MyHelpProject> |
HelpNamespace_ | <MS.HyHelp.1033> |
The HelpFile_ entry is obtained from MSHelp2_RegTables__RTL_---_---.msm HelpFile table. Find the HelpFile entry for the .HxS file. Copy the HelpFileKey column value and paste it into the HelpFile_ column in the HelpFileToNamespace table of MSHelp2_RegTables__RTL_---_---.msm.
The HelpNamespace_ entry is obtained from the MSHelp2_RegTables__RTL_---_---.msm HelpNamespace table. Find the HelpNamespace entry for the child namespace. Copy the NamespaceKey column value and paste it into the HelpNamespace_ column in the HelpFileToNamespace table of MSHelp2_RegTables__RTL_---_---.msm.
Select the HelpPlugin table in MSHelp2_RegTables__RTL_---_---.msm and add a new row with the following data for the child namespace to be plugged into VSCC.
Column | Data |
|---|
HelpNamespace_ | <MS.HyHelp.1033> |
HelpNamespace_Parent | MS_VSIPCC_v80 |
File_HxT | <.HxT File table entry> |
File_HxA | <.HxA File table entry> |
File_ParentHxT | <.HxT parent File table entry> |
The HelpNamespace_ entry is obtained from the MSHelp2_RegTables__RTL_---_---.msm HelpNamespace table. Find the HelpNamespace entry for the child namespace. Copy the NamespaceKey column value and paste it into the HelpNamespace_ column of the HelpPlugin table of MSHelp2_RegTables__RTL_---_---.msm.
The File_HxT entry is obtained from the HelpDemo_Setup.msi File table. Find the File table entry for .HxT file. Copy the File column value and paste it into the File_HxT column of the HelpPlugin table of MSHelp2_RegTables__RTL_---_---.msm.
The File_HxA entry is obtained from the HelpDemo_Setup.msi File table. Find the File table entry for .HxA file. Copy the File column value and paste it into the File_HxA column of the HelpPlugin table of MSHelp2_RegTables__RTL_---_---.msm.
The File_ParentHxT is obtained from the HelpDemo_Setup.msi. Find the File table entry for the parent .HxT file. Copy the File column value and paste it into the File_HxA column of the HelpPlugin table of MSHelp2_RegTables__RTL_---_---.msm.
For more information about editing the tables, see Editing the Help Registration Merge Module.
Save and close MSHelp2_RegTables__RTL_---_---.msm.
On the Build menu, click Build Solution.
The final .msi file, which includes all Help registration work completed in the previous steps, is created.
Note: |
|---|
"Unable to find module dependency" warnings can be ignored if the build completes successfully. These warnings are a relic of the process used to create the redistributable merge modules. |
Run HelpDemo_Setup.msi to install your Help collection and plug into VSCC. When the installation is complete, view the Visual Studio documentation and observe your Help collection by means of the Contents, Index, and Search windows.