OSDN Git Service

Small install script update: Don't look for "PRE_RELEASE_INFO.txt" in a Release version.
authorLoRd_MuldeR <mulder2@gmx.de>
Tue, 21 Aug 2012 19:41:34 +0000 (21:41 +0200)
committerLoRd_MuldeR <mulder2@gmx.de>
Tue, 21 Aug 2012 19:41:34 +0000 (21:41 +0200)
etc/NSIS/setup.nsi

index 0c41ee1..8021fbc 100644 (file)
@@ -488,9 +488,11 @@ SectionEnd
 Section "-Finished"
        !insertmacro PrintProgress "$(MUI_TEXT_FINISH_TITLE)."
 
+!ifdef LAMEXP_IS_PRERELEASE
        ${If} ${FileExists} "$INSTDIR\PRE_RELEASE_INFO.txt"
                ${StdUtils.ExecShellAsUser} $R1 "$INSTDIR\PRE_RELEASE_INFO.txt" "open" ""
        ${EndIf}
+!endif
 
        ; ---- POLL ----
        ; !insertmacro UAC_AsUser_ExecShell "" "http://mulder.brhack.net/temp/style_poll/" "" "" SW_SHOWNORMAL