Help file as a Link

Shanushaan's picture

Hi again,
I have a new task to show the product help file (help.chm)  to be shown as hyperlink in the final User Exit dialog and that hyperlink will open the chm file using hh.exe
How to make that. I don't see any custom action that refers to that.

Regards
Rohit 

EdT's picture

How to make that....

There is no ready made custom action to do this, but it is very simple to implement.
You already seem aware that launching a CHM file requires HH.EXE

So all you need to do, is to use the "Execute program from Destination" custom action to run c:\windows\hh.exe as the executable and give the full path to your CHM file as the command line.
Sequence this custom action after InstallFinalize, and make it asynchronous so that the install does not wait for the user to close the CHM file before it terminates the install.
Job done.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

VBScab's picture

Ed, I think you mis-read the post

I think the OP wants to include a hyperlink on the final dialog. I think you'd need some fairly heavyweight resources to do that, because there's no hyperlink control in any Wise dialog editor that I'm familiar with. You could perhaps use a button instead?

Don't know why 'x' happened? Want to know why 'y' happened? Use ProcMon and it will tell you.
Think about using http://www.google.com before posting.

EdT's picture

Yes, I misread the post - getting senile :-(

You could indeed experiment with adding a button on the exit dialog, with the URL as the button title, and probably something like a DoAction event handler in the background.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

Shanushaan's picture

 Thanks Ed and VBScab,  Ed, I

 Thanks Ed and VBScab, 
Ed, I was doing the same(As you suggested) earlier with a check box, so that if the check box is checked then on the finish button the CA will launch the help. 
That was more as a hyperlink question, anyways if there is no control for Hyperlink then I have to leave it that way only.  

Regards
Rohit