OSDN Git Service

Popup "PRE_RELEASE_INFO.txt" during the setup procedure, if the file exists.
authorlordmulder <mulder2@gmx.de>
Sun, 1 Jul 2012 19:33:04 +0000 (21:33 +0200)
committerlordmulder <mulder2@gmx.de>
Sun, 1 Jul 2012 19:33:04 +0000 (21:33 +0200)
doc/PRE_RELEASE_INFO.txt
etc/NSIS/setup.nsi

index a105590..06594de 100644 (file)
@@ -8,3 +8,7 @@ Note: This "test" version of LameXP will expire 30 days after the release date.
 LameXP is free/libre software. The "stable" versions of LameXP do *not* expire!
 
 You have been warned ;-)
+
+
+The latest official (stable) release of LameXP can be found at:
+http://lamexp.sourceforge.net/
index a867193..1c7f334 100644 (file)
@@ -487,6 +487,10 @@ SectionEnd
 Section "-Finished"
        !insertmacro PrintProgress "$(MUI_TEXT_FINISH_TITLE)."
 
+       ${If} ${FileExists} "$INSTDIR\PRE_RELEASE_INFO.txt"
+               ${StdUtils.ExecShellAsUser} $R1 "$INSTDIR\PRE_RELEASE_INFO.txt" "open" ""
+       ${EndIf}
+
        ; ---- POLL ----
        ; !insertmacro UAC_AsUser_ExecShell "" "http://mulder.brhack.net/temp/style_poll/" "" "" SW_SHOWNORMAL
        ; ---- POLL ----