Hi Carlo
With H2 if you get one thing wrong it wont work correctly.
This tutorial is a good place to start
http://helpware.net/mshelp2/h2tutorial.htm
Looking at your code I see you are using a HxS
file as collection file. I'd try using a HxC file.
My best advice... Use the Collection Wizard in the
latest FAR Beta to create your collection H2Reg
script. This will eliminate most problems.
http://helpware.net/mshelp2/CollectionWizard/ColWizard.htm
Also remember that getting the H2 attributes embedded in
your HTML files wrong can create problems such as TOC not showing.
http://helpware.net/mshelp2/attribs.htm
Email back if you have more questions.
Rob
--- In H2Reg@yahoogroups.com, "ckok_1" <ck@...> wrote:
>
>
> With the log file below I'm trying to register ahelp collection and
> plug one into another (vs 2008).the remobjects.oxygene namespace
> register fine but doesn't plug into it (though it registers fine,
> error only says registration failed). However the keyword list for
> remobjects.oxygene does show opening vs.net help, the TOC however does
> not show. I tried registering the remobjects.oxygene one under another
> namespace but that also fails. the original (before compilation) hxt
> file for remobjects.oxygene looks like:
>
> <?xml version="1.0"?><!DOCTYPE HelpTOC><HelpTOC DTDVersion = "1.0"
> LangId = "1033" ParentNodeIcon = "Book" PluginStyle =
> "Flat"><HelpTOCNode Title = "Delphi Prism" Icon="0" >
> <HelpTOCNode Title = "Main Method - Delphi Prism"
> Url="Main_Method.html" />
> <HelpTOCNode Title = "Language - Delphi Prism" Url="Language.html" />
> </HelpTOCNode>
> </HelpTOC>
>
> the hxc looks like:
>
> <?xml version="1.0"?>
> <!DOCTYPE HelpCollection>
> <HelpCollection
> DTDVersion="1.0"
> Id=""
> FileVersion="1.0.0.0"
> LangId="1033"
> Font=""
> FontSize=""
> Charset=""
> Title="Delphi Prism"
> Copyright="">
>
> <TOCDef File="Delphi Prism.HxT"/>
>
> <KeywordIndexDef File="Delphi Prism.HxK"/>
> <KeywordIndexDef File="Delphi Prism_F.HxK"/>
> <KeywordIndexDef File="Delphi Prism_N.HxK"/>
> <KeywordIndexDef File="Delphi Prism_A.HxK"/>
> <KeywordIndexDef File="Delphi Prism_D.HxK"/>
>
> <ItemMoniker Name="!DefaultFullTextSearch"
> ProgId="HxDs.HxFullTextSearch" InitData="AnyString"/>
> <ItemMoniker Name="!DefaultTOC" ProgId="HxDs.HxHierarchy"
> InitData="Delphi Prism"/>
> <ItemMoniker Name="!DefaultKeywordIndex" ProgId="HxDs.HxIndex"
> InitData="K"/>
> <ItemMoniker Name="!DefaultAssociativeIndex" ProgId="HxDs.HxIndex"
> InitData="A"/>
> <ItemMoniker Name="!DefaultContextWindowIndex" ProgId="HxDs.HxIndex"
> InitData="F"/>
> <ItemMoniker Name="!DefaultDynamicLinkIndex" ProgId="HxDs.HxIndex"
> InitData="D"/>
> <ItemMoniker Name="!DefaultNamedUrlIndex" ProgId="HxDs.HxIndex"
> InitData="NamedUrlIndex"/>
>
> <ToolData Name="MSVHWNamespace" Value="delphi_Prism"/>
> <ToolData Name="MSVHWUniqueID" Value="delphi_Prism"/>
> <ToolData Name="FAR.CommandLine" Value="C:\Program Files
> (x86)\Helpware\FAR\FAR.exe"/>
> <ToolData Name="FAR.CommandLineArgs" Value="ms-help://$NAMESPACE"/>
> <ToolData Name="FAR.IncBuildNumber" Value="0"/>
> <ToolData Name="MSVHWLogFile" Value="delphi Prism.log"/>
> <ToolData Name="MSVHWLogLevel" Value="3"/>
> </HelpCollection>
>
> Currently I'm only deploying the compiled .hxs file. What can I check
> to figure out where this error comes from and what i can do to fix it ?
>
>
===============================================================================
> Log File: D:\1\WIKOF\out\H2Reg_Log.txt
> Date: 15-12-2008 10:10:51
> Operating System: Windows NT 6.0 (Build 6001) Service Pack 1
> SysLocale.DefaultLCID: 0x0413 (1043)
> SysLocale.PriLangID: 0x0013 (19)
> SysLocale.SubLangID: 0x0001 (1)
> DecimalSeparator: ,
>
-------------------------------------------------------------------------------
> EXE Path = D:\1\WIKOF\out\H2Reg.exe
> EXE Version = 1.6.0.0
> Cmdline Param(s) = -r
> Actual CmdLine = h2reg -r
> _RunDir = D:\1\WIKOF\out
> _ModuleName = H2Reg.exe
> _ModuleDir = D:\1\WIKOF\out
> _ModulePath = D:\1\WIKOF\out\H2Reg.exe
> Module Version = 1.6.0.0
>
-------------------------------------------------------------------------------
> _hhInstalled = YES
> _hhVerStr = 6.0.6001.18000
> _hhFriendlyVerStr = > 1.4a
>
-------------------------------------------------------------------------------
> _ieInstalled = YES
> _ieVerStr = 6.0.6001.18000
> _ieFriendlyVerStr = Internet Explorer 6 (Windows Server 2003)
>
===============================================================================
> MS Help 2.x Runtime Found: YES
> 2.7.61224.0, C:\Program Files (x86)\Common Files\Microsoft
> Shared\Help\hxds.dll
> 2.7.61224.0, C:\Program Files (x86)\Common Files\microsoft
> shared\Help\hxvz.dll
> NT Admin Log On: YES
> PC Language ID = nl
>
-------------------------------------------------------------------------------
> Quiet Mode (-Q): No
> Registration Mode (-R): Yes
> UnRegistration Mode (-U): No
> Append Log Mode (-A): No
> No NT Admin Check (-N): No
> Merge Indexes Mode (-M): No
> Cmd Script File (CmdFile=): D:\1\WIKOF\out\H2Reg.ini
> User Dir 1 (UserDir1=):
> User Dir 2 (UserDir2=):
> User Dir 3 (UserDir3=):
> User Dir 4 (UserDir4=):
>
===============================================================================
> CmdFile = D:\1\WIKOF\out\H2Reg.ini
> <windir> = C:\Windows
> <winsysdir> = C:\Windows\system32
> <programfilesdir> = C:\Program Files (x86)
> <exedir> = D:\1\WIKOF\out
> <exedirparent> = D:\1\WIKOF
> <cmdfiledir> = D:\1\WIKOF\out
> <cmdfiledirparent> = D:\1\WIKOF
> <userdir1> =
> <userdir1parent> =
> <userdir2> =
> <userdir2parent> =
> <userdir3> =
> <userdir3parent> =
> <userdir4> =
> <userdir4parent> =
>
-------------------------------------------------------------------------------
> [Reg_Namespace]
> remobjects.oxygene|Delphi Prism.HxS|Delphi Prism
>
> [Reg_Title]
> remobjects.oxygene|remobjects.oxygene|1033|Delphi Prism.HxS
>
> [Reg_Plugin]
> MS.VSIPCC.v90|_DEFAULT|remobjects.oxygene|_DEFAULT
>
> [Reg_Filter]
> remobjects.oxygene|Delphi Prism|("Product"="Delphi Prism")
>
> [UnReg_Namespace]
> remobjects.oxygene|Delphi Prism
>
> [UnReg_Title]
> remobjects.oxygene|remobjects.oxygene|1033
>
> [UnReg_Plugin]
> remobjects.oxygene|Delphi Prism|("Product"="Delphi Prism")
>
> [UnReg_Filter]
> remobjects.oxygene|Delphi Prism
>
-------------------------------------------------------------------------------
> 10:10:51 [Reg_Namespace] - Lines To Process = 1
> 10:10:51 <nsName>="remobjects.oxygene"
> 10:10:51 <nsColfile>="D:\1\WIKOF\out\Delphi Prism.HxS"
> 10:10:51 <nsDesc>="Delphi Prism"
> 10:10:51 +Mode = Not Enabled
> 10:10:51 Preparation: Old Namespace "remobjects.oxygene"
> successfully removed. Its important to start with a clean slate.
> 10:10:51 -->Registered OK
>
-------------------------------------------------------------------------------
> 10:10:51 [Reg_Title] - Lines To Process = 1
> 10:10:51 <nsName>="remobjects.oxygene"
> 10:10:51 <TitleID>="remobjects.oxygene"
> 10:10:51 <LangID>="1033"
> 10:10:51 <HxS_HelpFile>="D:\1\WIKOF\out\Delphi Prism.HxS"
> 10:10:51 <HxI_IndexFile>=""
> 10:10:51 <HxQ_QueryFile>=""
> 10:10:51 <HxR_AttrQueryFile>=""
> 10:10:51 <HxsMediaLoc>=""
> 10:10:51 <HxqMediaLoc>=""
> 10:10:51 <HxrMediaLoc>=""
> 10:10:51 <SampleMediaLoc>=""
> 10:10:51 -->Registered OK
>
-------------------------------------------------------------------------------
> 10:10:51 [Reg_Plugin] - Lines To Process = 1
> 10:10:51 <nsName_Parent>="MS.VSIPCC.v90"
> 10:10:51 <HxT_Parent>="_DEFAULT"
> 10:10:51 <nsName_Child>="remobjects.oxygene"
> 10:10:51 <HxT_Child>="_DEFAULT"
> 10:10:51 <HxA_Child>=""
> 10:10:51 Plug Child "remobjects.oxygene" into "MS.VSIPCC.v90"
> 10:10:51 ** Reg Error **: Registration Failed
>
-------------------------------------------------------------------------------
> 10:10:51 [Reg_Filter] - Lines To Process = 1
> 10:10:51 <nsName>="remobjects.oxygene"
> 10:10:51 <FilterName>="Delphi Prism"
> 10:10:51 <FilterQueryStr>="("Product"="Delphi Prism")"
> 10:10:51 -->Registered OK
>
===============================================================================
>
> --END OF FILE--
>