Shows the HTML file and both possible ways

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2507 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-04-29 13:42:52 +00:00
parent 760d43bf8e
commit dfb0241f94

View file

@ -27,7 +27,17 @@ Section ""
File /oname=$R0 "..\Docs\Chapter1.html"
; View file
ExecWait '"$PROGRAMFILES\Internet Explorer\iexplore.exe" "$R0"'
; Note: another way of doing this would be to use ExecShell, but then you
; really couldn't get away with deleting the files. Here is the ExecShell
; line that you would want to use:
;
; ExecShell "open" '"$R0"'
;
; The advantage of this way is that it would use the default browser to
; open the HTML.
;
; Delete the files (on reboot if file is in use)
Delete /REBOOTOK $R0