This content has been marked as final. Show 6 replies
I'm guessing that what you'd like to do is test that the HHActiveX.dll is installed before the user tries to run the help?
Because, the easiest way for the user to test whether the .dll is installed is run the help and look for the browse sequences in the toolbar or a glossary (if you use one).
If you need to double check that the HHActiveX.dll is installed, I'd chat with the programmers the run the script to install it and register it (the registering bit is very important as the .dll does not work without being registered on the end user's PC), ask them to run a check to see if the HHActiveX.dll is indeed registerer.
Check http://www.developerfusion.co.uk/show/3479/ which provides some code for the developer for example. Or they could perhaps run a search on the registry after the install - bit over the top though if the code has been written well and tested.
Hope this helps more than a chocolate coffee pot
Thank's CraigCC !
Indeed I have a topic in my chm project to explain to the user that Browse sequence and Glossary are available only if hhactivex is installed. The user must read the topic only if he knows that browse sequence could be availabled.
You gave me a link to a developper page but I don't know how to integrate it in my chm project. I am not a developper.
How is your .chm shipped and installed?
The script was intended for your developer to add to the install process.
Do you provide any means for installing the HHActiveX.dll or do the users do this manually?
the chm is installed by me with the software and Dll on the target PC (with a ghost). So there is no problem.
But users can decide to copy only the chm on another computer or on his notebook to study the software documentation.
Perhaps there is no simple solution.
Hi Malko59. If people are manually copying CHM files to different PCs there is no easy solution. If the software is installed by you or by a SETUP.EXE it is possible to copy and register the .DLL
I'm not saying there isn't a great solution, just that I do not know how to do this. I seem to recall Rick (another Adobe Community Expert) posting a method for running a script when a .chm start's up. This may be an option, but I'll leave it for someone else to pipe in if they have a specific solution.
My only thoughts right now is to provide very clear install instructions or a very clear message on the.chm welcome page (i.e. This Help File is only fully functional if the the HHActiveX.dll is installed, click here for instructions).
Good luck and sorry I could not be more help.