H2Compile also generates all the files required to register, test and ship your collection. Once conversion\compilation completes look in the \HxS\Ship\ folder. Along with the compiled .HxS help file you will find...
Registering using H2RegWe ship H2Reg.exe and H2Reg.ini with H2Compile.exe (see the install folder). You can also download H2Reg from the H2Reg Web Page. To register your collection run
To unregister your collection run
After registering \ unregistering check H2Reg_Log.txt for errors. Currently H2Reg_Cmd.ini tells H2Reg to try and plug-in to VS 2002\2003\2005 and 2008. Now you you won't have all these versions of Visual Studio installed so you will see some errors where it attempted this. Just ignore these errors. More information about H2Reg can be found at http://helpware.net/mshelp2/h2reg.htm Testing using H2ViewerIf registration was successful you can open Visual Studio help and observer your help in the TOC. Programs like h2Viewer (free) can also be used to view Help 2 collection. You can edit H2Reg_Cmd.ini text file to change namespace names etc. if required. H2Reg.exe can be shipped with your help to register your help on the customer PC. All you need to do is modify your Installer to call H2Reg.exe -r -m CmdFile="H22Reg_cmd.ini" during installation. And use the -u flag when uninstalling. |