Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3970182
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T04:03:20+00:00 2026-05-20T04:03:20+00:00

Can anybody give an example of WIX script to register custom help in visual

  • 0

Can anybody give an example of WIX script to register custom help in visual studio help? I,ve searched for some tutorial, but the only thing that I found was VS schema reference. Everything I tried to do did not work. I use WIX 3.0.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T04:03:21+00:00Added an answer on May 20, 2026 at 4:03 am

    I hope this answer is not too late.

    You’re going to need:

    • Your help collection (and some details, such as the internal collection name).
    • Orca
    • Some merge modules included as part of the Visual Studio SDK

    First thing you want to do is create the Wix code that will hold your help collection.

    <DirectoryRef Id="MyHelpDirectory">
      <Component Id="MyHelpCollection" Guid="INSERT_GUID_HERE">
        <File Id="MyHelpCollection.HxS" Source="..\MyHelpCollection.HxS" KeyPath="yes" />
        <File Id="MyHelpCollection.HxA" Source="..\MyHelpCollection.HxA" />  
        <File Id="MyHelpCollection.HxC" Source="..\MyHelpCollection.HxC" />
        <File Id="MyHelpCollection.HxT" Source="..\MyHelpCollection.HxT" /> 
        <File Id="MyHelpCollectionFIndex.HxK" Source="..\MyHelpCollectionFIndex.HxK" />
        <File Id="MyHelpCollectionIndex.HxK"  Source="..\MyHelpCollectionIndex.HxK" />
        <File Id="MyHelpCollectionKIndex.HxK" Source="..\MyHelpCollectionKIndex.HxK" />
        <File Id="MyHelpCollectionNamedUrlIndex.HxK" Source="..\MyHelpCollectionNamedUrlIndex.HxK" />
      </Component>
    </DirectoryRef>
    

    Next, you want to make a copy of the MSHelp2_RegTables_RTL_—_—.msm merge module. (It can be found at C:\Program Files\Microsoft Visual Studio 2008 SDK\HelpIntegrationWizard\MSHelp2) and open it with Orca.

    Here you want to edit the HelpNamespace table in the merge module. You’re going to want to fill a record with the following information:

    NamespaceKey    = Company.MyHelp.1033  (You can get this from the person who created your help collection.)
    NamespaceName   = Company.MyHelp.1033
    File_Collection = MyHelpCollection.HxC (Note that this is the Id attribute of the HxC file declared in the Wix code above.)
    Description = My Help Collection
    

    Now you want to edit the HelpFile table:

    HelpFileKey  = MyHelp (Taken from the NamespaceKey above.)
    HelpFileName = MyHelp
    LangID       = 1033
    File_HxS     = MyHelpCollection.HxS (Note that this is the Id attribute of the HxS file declared in the Wix code above.)
    File_HxI     = MyHelpCollection.HxI (This is the Id attribute of the HxI file if your collection uses an HxI file.  The collections I use do not use HxI files.)
    File_HxQ     = N/A
    File_HxR     = N/A
    File_Samples = N/A
    

    Next you want to edit the HelpFileToNamespace table:

    HelpFile      = MyHelp (Note that this must match the value defined in the HelpFile table above.)
    HelpNamespace = Company.MyHelp.1033 (Note that this must match the value defined in the HelpNamespace table above.)
    

    Finally, you want to edit the HelpPlugin table:

    HelpNamespace_ = Company.MyHelp.1033  (Once again, keep this consistent)
    HelpNamespace_Parent = MS_VSIPCC_v80  (For VS2005)
                         = MS.VSIPCC.v90  (For VS2008)
    File_HxT       = MyHelpCollection.HxT (Id attribute for HxT file from Wix)
    File_HxA       = MyHelpCollection.HxA (Id attribute for HxA file from Wix)
    File_ParentHxT = FL_vsipcc_hxt_86880________.3643236F_FC70_11D3_A536_0090278A1BB8 (For VS2005)
                   = FL_vsipcc_hxt_86880_86880_cn_ln.3643236F_FC70_11D3_A536_0090278A1BB8.48273237_1399_45CF_801C_338E1AB00E90 (For VS2008)
    

    You can now save your copy of the MSHelp2_RegTables_RTL_—_—.msm merge module. It’s probably a good idea to rename it to something like MyHelpCollection.msm.

    Now you just have to include this merge module in your wix project, in addition to the VSIP merge module for the version of VS you’re targeting:

    <Merge Id="MyHelpCollectionMerge"
           Language="1033"
           Disk="1"
           SourceFile="PATH_TO_THE\MyHelpCollection.msm" />
    
    <!-- For VS2005 -->
    <Merge Id="VS2005VSIPMerge"
           Language="1033"
           Disk="1"
           SourceFile="C:\Program Files\Microsoft Visual Studio 2008 SDK\HelpIntegrationWizard\VS_2005\VSIPCC_Collection_Files_RTL_---_---.msm" />
    
    <!-- For VS2008 -->
    <Merge Id="VS2008VSIPMerge"
           Language="1033"
           Disk="1"
           SourceFile="C:\Program Files\Microsoft Visual Studio 2008 SDK\HelpIntegrationWizard\VS_2008\VSIPCC_Collection_Files_RTL_---_---.msm" />
    

    Adapted from MSDN Walkthrough

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anybody give me an example how to implement AttachedCommands? There are some examples
Can anybody give an example of c++ code that can easily convert a decimal
Can anybody give me an example how to use the osgi framework classes? I
Can anybody give me some sample source code showing how to connect to a
Can anybody give me example that NSMutableArray is thread safe or not?
can anybody give example how to implement gesture detector onfling in webview in android
Can anybody give me an example how to load the module? For example if
I want to design the following UI. Can anybody give me an example or
Can anybody give me an example when to use allow null default 0 default
Can anybody give me an example how I would download an image asynchroniously and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.