bubunia2000
14th November 2009 19:29 UTC
Navigating a section from the .chm file in CreateShortcut
Hi all,
I am trying to navigate lets say "Section: 1 Introduction" from the help file(.chm).I searced in the web but not found any reference.
CreateShortcut "Path\a.l
Can anybody help me in this regard?
Regards
Pradeep
pengyou
14th November 2009 20:04 UTC
CHM (Compiled Help Modules) files are used in the Microsoft HTML Help system. You can use the hh.exe program (distributed with HTML Help) to open a CHM file at a particular topic. Here is a simple batch file that opens the NSIS User Guide at the "2.2 Script Files" page:
hh.exe "mk:@MSITStore:C:/Program Files/NSIS/NSIS.chm::/Section2.2.html#2.2"
Google can find more information for you, e.g. this page describes some command-line options for hh.exe:
http://www.help-info.de/en/Help_Info...hh_command.htmMSG
14th November 2009 21:53 UTC
Or just read the manual online:
http://nsis.sourceforge.net/Docs/Contents.html
kichik
1st December 2009 07:46 UTC
makensis.nsi contains a full example.
Function ShowReleaseNotes
${If} ${FileExists} $WINDIR\hh.exe
StrCpy $0 $WINDIR\hh.exe
Exec '"$0" mk:@MSITStore:$INSTDIR\NSIS.chm::/SectionF.1.html'
${Else}
SearchPath $0 hh.exe
${If} ${FileExists} $0
Exec '"$0" mk:@MSITStore:$INSTDIR\NSIS.chm::/SectionF.1.html'
${Else}
ExecShell "open" "http://nsis.sourceforge.net/Docs/AppendixF.html#F.1"
${EndIf}
${EndIf}
FunctionEnd