diff --git a/Examples/viewhtml.nsi b/Examples/viewhtml.nsi index 34b503a4..62ebad2f 100644 --- a/Examples/viewhtml.nsi +++ b/Examples/viewhtml.nsi @@ -24,7 +24,12 @@ Section "" GetTempFileName $R0 ; Extract file - File /oname=$R0 "..\Docs\Chapter1.html" + ; Lets skip this one, it's not built to be showin in IE + ; File /oname=$R0 "..\Menu\compiler.html" + ; and write our own! :) + FileOpen $0 $R0 "w" + FileWrite $0 "

HTML page for viewhtml.nsi

" + FileClose $0 ; View file ExecWait '"$PROGRAMFILES\Internet Explorer\iexplore.exe" "$R0"'