Locked Separate HxComp.exe installation/running

  • Thursday, November 22, 2007 9:34 AM
     
     
    Hi, All!

    As far as i know, Html Help 2.0 Compiler now is available only as a part of Visual Studio SDK. (Is it?)

    When i try run hxcomp.exe on clran system, it raise an error:
    Fatal Error HXC1022: The compiler server could not be initialized. Reinstall the Microsoft Help 2.0 compiler.

    Is it possible to use HH2 Compiler without installation of big and fat VS SDK?

All Replies

  • Thursday, November 22, 2007 11:02 AM
     
     Answered

    Hi,

     

    Unfortunately, I don't think Microsoft has released the Help 2.x SDK as a separate download.  Information on the web only seems to reference the VS SDKs.  For example:

     

    http://www.helpware.net/mshelp2/h20.htm

     

    - Dave

  • Friday, November 30, 2007 7:53 PM
     
     
    Well, let it be released only as part of VS SDK...
    But, may be there is a way to register manually and use hxcomp separatelty?

    I need it on my build server.
    And now i have to install 400Mb VS SDK only for run little hxcomp??? Sad
    Its very ugly! Sad
  • Friday, November 30, 2007 8:12 PM
     
     

    Hi,

    You might look into this post on HelpWare far's FAQ.

    http://www.helpware.net/mshelp2/h2faq.htm#novsnet2

     

    James, mentions on there that you only need to run a single MSI to install the compiler; I haven't tried it myself, but might be useful.

     

    --Geoff

     

  • Wednesday, December 19, 2007 3:44 PM
     
     Answered
    Well, i found the solution, best for me.
    It is possible to install and run HxComp just by hands, without any SDK parts!


    1. Create folder C:\Program Files\HxComp

    2. Copy next files to this folder:

    C:\Program Files\HxComp\
        hxcomp.exe
        hxcsrv.exe
        hxreg.exe
        Resources.HxS
        1033\
            hxcompui.dll
            HxCSrvUI.dll
            HxRegUI.dll

    3. From any folder run next command file (install.cmd):

    @echo off
    set HXCOMP_DIR=C:\Program Files\HxComp
    set PATH=%PATH%;"%HXCOMP_DIR%"
    regedit /s uninstall.reg
    hxreg -n Hx -i Resources -l 1033 -r

    Now HxComp is installed!

    4. For uninstall, run next command file (uninstall.bat):

    @echo off
    set HXCOMP_DIR=C:\Program Files\HxComp
    set PATH=%PATH%;"%HXCOMP_DIR%"
    regedit /s uninstall.reg
    hxreg -n Hx -i Resources -l 1033 -r

    5. Content of install.reg file:

    REGEDIT4

    ;
    ; Registering HxComp and HxCSrv classes and libraries.
    ;

    [HKEY_CLASSES_ROOT\AppID\hxcsrv.EXE]
    "AppID"="{7BA6721B-F938-11D2-B98D-00C04F79F7FB}"

    [HKEY_CLASSES_ROOT\AppID\{7BA6721B-F938-11D2-B98D-00C04F79F7FB}]
    @="hxcsrv"

    [HKEY_CLASSES_ROOT\CLSID\{314111b4-a502-11d2-bbca-00c04f8ec294}]
    @="HxComp Class"
    "AppID"="{7BA6721B-F938-11D2-B98D-00C04F79F7FB}"

    [HKEY_CLASSES_ROOT\CLSID\{314111b4-a502-11d2-bbca-00c04f8ec294}\LocalServer32]
    @="C:\\Program Files\\HxComp\\hxcsrv.exe"

    [HKEY_CLASSES_ROOT\CLSID\{314111b4-a502-11d2-bbca-00c04f8ec294}\ProgID]
    @="Hxcomp.HxComp.1"

    [HKEY_CLASSES_ROOT\CLSID\{314111b4-a502-11d2-bbca-00c04f8ec294}\Programmable]
    @=""

    [HKEY_CLASSES_ROOT\CLSID\{314111b4-a502-11d2-bbca-00c04f8ec294}\TypeLib]
    @="{7BA6721A-F938-11D2-B98D-00C04F79F7FB}"

    [HKEY_CLASSES_ROOT\CLSID\{314111b4-a502-11d2-bbca-00c04f8ec294}\VersionIndependentProgID]
    @="Hxcomp.HxComp"

    [HKEY_CLASSES_ROOT\Hxcomp.HxComp]
    @="HxComp Class"

    [HKEY_CLASSES_ROOT\Hxcomp.HxComp\CLSID]
    @="{314111b4-a502-11d2-bbca-00c04f8ec294}"

    [HKEY_CLASSES_ROOT\Hxcomp.HxComp\CurVer]
    @="Hxcomp.HxComp.1"

    [HKEY_CLASSES_ROOT\Hxcomp.HxComp.1]
    @="HxComp Class"

    [HKEY_CLASSES_ROOT\Hxcomp.HxComp.1\CLSID]
    @="{314111b4-a502-11d2-bbca-00c04f8ec294}"

    [HKEY_CLASSES_ROOT\Interface\{314111B5-A502-11D2-BBCA-00C04F8EC294}]
    @="IHxComp"

    [HKEY_CLASSES_ROOT\Interface\{314111B5-A502-11D2-BBCA-00C04F8EC294}\ProxyStubClsid]
    @="{00020424-0000-0000-C000-000000000046}"

    [HKEY_CLASSES_ROOT\Interface\{314111B5-A502-11D2-BBCA-00C04F8EC294}\ProxyStubClsid32]
    @="{00020424-0000-0000-C000-000000000046}"

    [HKEY_CLASSES_ROOT\Interface\{314111B5-A502-11D2-BBCA-00C04F8EC294}\TypeLib]
    @="{314111EE-A502-11D2-BBCA-00C04F8EC294}"
    "Version"="1.0"

    [HKEY_CLASSES_ROOT\Interface\{314111F9-A502-11D2-BBCA-00C04F8EC294}]
    @="IHxCompError"

    [HKEY_CLASSES_ROOT\Interface\{314111F9-A502-11D2-BBCA-00C04F8EC294}\ProxyStubClsid]
    @="{00020424-0000-0000-C000-000000000046}"

    [HKEY_CLASSES_ROOT\Interface\{314111F9-A502-11D2-BBCA-00C04F8EC294}\ProxyStubClsid32]
    @="{00020424-0000-0000-C000-000000000046}"

    [HKEY_CLASSES_ROOT\Interface\{314111F9-A502-11D2-BBCA-00C04F8EC294}\TypeLib]
    @="{314111EE-A502-11D2-BBCA-00C04F8EC294}"
    "Version"="1.0"

    [HKEY_CLASSES_ROOT\TypeLib\{314111EE-A502-11D2-BBCA-00C04F8EC294}]

    [HKEY_CLASSES_ROOT\TypeLib\{314111EE-A502-11D2-BBCA-00C04F8EC294}\1.0]
    @="Microsoft Help HxComp 1.0 Compiler Services"

    [HKEY_CLASSES_ROOT\TypeLib\{314111EE-A502-11D2-BBCA-00C04F8EC294}\1.0\0\win32]
    @="C:\\Program Files\\HxComp\\hxcsrv.exe"

    [HKEY_CLASSES_ROOT\TypeLib\{314111EE-A502-11D2-BBCA-00C04F8EC294}\1.0\FLAGS]
    @="0"

    [HKEY_CLASSES_ROOT\TypeLib\{314111EE-A502-11D2-BBCA-00C04F8EC294}\1.0\HELPDIR]


    6. Content of uninstall.reg file:

    REGEDIT4

    ;
    ; Unregistering HxComp and HxCSrv classes and libraries.
    ;

    [-HKEY_CLASSES_ROOT\AppID\hxcsrv.EXE]

    [-HKEY_CLASSES_ROOT\AppID\{7BA6721B-F938-11D2-B98D-00C04F79F7FB}]

    [-HKEY_CLASSES_ROOT\CLSID\{314111b4-a502-11d2-bbca-00c04f8ec294}]

    [-HKEY_CLASSES_ROOT\Hxcomp.HxComp]

    [-HKEY_CLASSES_ROOT\Hxcomp.HxComp.1]

    [-HKEY_CLASSES_ROOT\Interface\{314111B5-A502-11D2-BBCA-00C04F8EC294}]

    [-HKEY_CLASSES_ROOT\Interface\{314111F9-A502-11D2-BBCA-00C04F8EC294}]

    [-HKEY_CLASSES_ROOT\TypeLib\{314111EE-A502-11D2-BBCA-00C04F8EC294}]










  • Friday, May 23, 2008 9:44 AM
     
     

    Hi Igor,

     

    it kind of works. Unfortunately is also unregistered DTD system IDs.

     

    Compiling HTML Help 2.x file...
    Microsoft Help Compiler Version 2.05.50727.42 Copyright (c) Microsoft Corp.

    Error HXC4001: File

    Error processing resource 'MS-Help://Hx/Resources/HelpCollection.dtd'.

     

    Any idea how to register Hx namespace and its resources, please?

     

      Cc.

  • Friday, May 23, 2008 10:51 AM
     
     

    Hi, Petr,

     

    There is some information here on how to deal with error HXC4001:

     

    http://helpware.net/mshelp2/h2faq.htm#FixMissingDTD

     

    Pete

  • Thursday, August 25, 2011 10:20 PM
     
      Has Code

    Registering is even easier than that

     

    hxcsrv /regserver

  • Thursday, July 19, 2012 8:54 PM
     
     

    Just to let you know, you have accidentally pasted the same file for the install.cmd and the uninstall.bat. This is what I believe the correct install.cmd should contain (it needs to be run as administrator btw):

    @echo off
    set HXCOMP_DIR=C:\Program Files\HxComp
    set PATH=%PATH%;"%HXCOMP_DIR%"
    regedit /s install.reg
    hxreg -n Hx -i Resources -l 1033 -s Resources.HxS