This is the mail archive of the
mailing list for the Cygwin project.
Re: Welcoming Brian Dessent as setup maintainer
- From: Warren Young <warren at etr-usa dot com>
- To: Cygwin Apps List <cygwin-apps at cygwin dot com>
- Date: Tue, 03 May 2005 17:41:32 -0600
- Subject: Re: Welcoming Brian Dessent as setup maintainer
- References: <md5:18B2AEDE38D9A5170947883E87E8B8B6> <4277FB92.54AB86BD@dessent.net>
Brian Dessent wrote:
Another possibility might be to embed the .chm or .hlp file in the .exe
as a resource. I don't know if that's feasible or not.
Tricky at best. Both WinHelp.exe and hh.exe are separate programs, and
their APIs seem to have no way to tell them to look at a resource inside
another EXE. I seem some mumblings in the HTMLHelp docs about using an
ActiveX control with IE, so perhaps you could embed IE in order to
display your HH file, but....ick.
Still, the context sensitive help would go a long way, and there is a
manual in html that they can refer to online.
Context-sensitive help is just resources, so that wouldn't require a
traditional Windows installer. I recall that it's tricky to do outside
a dialog, though.
Perhaps setup.exe could have a button to launch the default browser to
open the online Cygwin docs from setup.exe. I believe the Shell API has
a way to do this, where you just "open" a URL. ShellExecute(), perhaps?