From 8d0f6ab171214aa19d052f3f588d52255c484da3 Mon Sep 17 00:00:00 2001 From: kichik Date: Wed, 19 Nov 2003 14:08:06 +0000 Subject: [PATCH] Chapter1.html no longer comes with the default package git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3172 212acab6-be3b-0410-9dea-997c60f758d6 --- Examples/viewhtml.nsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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"'