; viewhtml.nsi ; ; This script creates a silent installer which extracts one (or more) HTML ; files to a temporary directory, opens Internet Explorer to view the file(s), ; and when Internet Explorer has quit, deletes the file(s). ;-------------------------------- ; The name of the installer (not really used in a silent install) Name "ViewHTML" ; Set to silent mode SilentInstall silent ; The file to write OutFile "viewhtml.exe" ; Request application privileges for Windows Vista RequestExecutionLevel user ;-------------------------------- ; The stuff to install Section "" ; Get a temporary filename (in the Windows Temp directory) GetTempFileName $R0 ; Extract file ; 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 "