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:
parent
760d43bf8e
commit
dfb0241f94
1 changed files with 10 additions and 0 deletions
|
@ -27,7 +27,17 @@ Section ""
|
||||||
File /oname=$R0 "..\Docs\Chapter1.html"
|
File /oname=$R0 "..\Docs\Chapter1.html"
|
||||||
|
|
||||||
; View file
|
; 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"'
|
; 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 the files (on reboot if file is in use)
|
||||||
Delete /REBOOTOK $R0
|
Delete /REBOOTOK $R0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue