If you are creating a windows installer setup, the Microsoft Help Integration Wizard is probably a much better option for deploying your Help 2.x files that using the command line tool. The Help Integration creates a Merge Module you can include in your setup. This will handle un-registration automatically...