[prev in list] [next in list] [prev in thread] [next in thread]
List: nsis-commits
Subject: [NSIS-commits] SF.net SVN: nsis:[7163] NSIS/trunk/Examples
From: anders_k--- via NSIS-commits <nsis-commits () lists ! sourceforge ! net>
Date: 2020-03-29 19:10:02
Message-ID: 1585509002.633873.4107 () sfp-scm-7 ! v30 ! lw ! sourceforge ! com
[Download RAW message or body]
Revision: 7163
http://sourceforge.net/p/nsis/code/7163
Author: anders_k
Date: 2020-03-29 19:10:02 +0000 (Sun, 29 Mar 2020)
Log Message:
-----------
Removed viewhtml.nsi
Modified Paths:
--------------
NSIS/trunk/Examples/SConscript
NSIS/trunk/Examples/makensis.nsi
Removed Paths:
-------------
NSIS/trunk/Examples/viewhtml.nsi
Modified: NSIS/trunk/Examples/SConscript
===================================================================
--- NSIS/trunk/Examples/SConscript 2020-03-26 00:19:55 UTC (rev 7162)
+++ NSIS/trunk/Examples/SConscript 2020-03-29 19:10:02 UTC (rev 7163)
@@ -24,7 +24,6 @@
TextFuncTest.nsi
unicode.nsi
VersionInfo.nsi
- viewhtml.nsi
waplugin.nsi
WordFunc.ini
WordFunc.nsi
Modified: NSIS/trunk/Examples/makensis.nsi
===================================================================
--- NSIS/trunk/Examples/makensis.nsi 2020-03-26 00:19:55 UTC (rev 7162)
+++ NSIS/trunk/Examples/makensis.nsi 2020-03-29 19:10:02 UTC (rev 7163)
@@ -313,7 +313,6 @@
File ..\Examples\example2.nsi
File ..\Examples\install-per-user.nsi
File ..\Examples\install-shared.nsi
- File ..\Examples\viewhtml.nsi
File ..\Examples\waplugin.nsi
File ..\Examples\bigtest.nsi
File ..\Examples\primes.nsi
Deleted: NSIS/trunk/Examples/viewhtml.nsi
===================================================================
--- NSIS/trunk/Examples/viewhtml.nsi 2020-03-26 00:19:55 UTC (rev 7162)
+++ NSIS/trunk/Examples/viewhtml.nsi 2020-03-29 19:10:02 UTC (rev 7163)
@@ -1,53 +0,0 @@
-; 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 "<HTML><BODY><H1>HTML page for viewhtml.nsi</H1></BODY></HTML>"
- FileClose $0
-
- ; 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
-
-SectionEnd
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
_______________________________________________
NSIS-commits mailing list
NSIS-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nsis-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic