Updated installer script.

This commit is contained in:
LoRd_MuldeR 2011-02-27 22:28:34 +01:00
parent d3c1a14f1f
commit d2a2954188
7 changed files with 31 additions and 6 deletions

View File

@ -7,7 +7,7 @@
<body style="font-family:Monospace;font-size:10pt;"> <body style="font-family:Monospace;font-size:10pt;">
<h3>LameXP - Frequently Asked Questions (FAQ)</h3><br> <h3>LameXP - Frequently Asked Questions (FAQ)</h3><br>
<a name=""><b>What is LameXP ???</b></a><br> <a name="6a0b023d"><b>What is LameXP ???</b></a><br>
<br> <br>
LameXP is a graphical user-interface for a number of audio encoders. It was developed to support a huge<br> LameXP is a graphical user-interface for a number of audio encoders. It was developed to support a huge<br>
number of input formats. File formats are detected reliably using MediaInfo. Compressed audio formats are<br> number of input formats. File formats are detected reliably using MediaInfo. Compressed audio formats are<br>
@ -20,7 +20,7 @@ any ACM Codecs or DirectShow/DMO filters! And it will NOT install anything of th
<br><br> <br><br>
<a name=""><b>What platforms does LameXP run on?</b></a><br> <a name="be0a8459"><b>What platforms does LameXP run on?</b></a><br>
<br> <br>
LameXP is currently being developed and tested on the following platforms:<br><ul> LameXP is currently being developed and tested on the following platforms:<br><ul>
<li>Microsoft Windows XP, Service Pack 3 <li>Microsoft Windows XP, Service Pack 3
@ -40,7 +40,7 @@ The following platforms are NOT supported any longer:<br><ul>
<br><br> <br><br>
<a name=""><b>What output formats (encoders) does LameXP support?</b></a><br> <a name="29065b86"><b>What output formats (encoders) does LameXP support?</b></a><br>
<br> <br>
Currently the following output formats are supported by LameXP:<br><ul> Currently the following output formats are supported by LameXP:<br><ul>
<li>MPEG Audio-Layer III (MP3), using the LAME encoder [built-in] <li>MPEG Audio-Layer III (MP3), using the LAME encoder [built-in]

View File

@ -51,6 +51,22 @@
;Web-Site ;Web-Site
!define MyWebSite "http://mulder.dummwiedeutsch.de/" !define MyWebSite "http://mulder.dummwiedeutsch.de/"
;--------------------------------
;Check for Pre-Release
;--------------------------------
!define LAMEXP_IS_PRERELEASE
!searchparse '${LAMEXP_SUFFIX}' '' LAMEXP_INSTTYPE '-' LAMEXP_IGNORE
!if '${LAMEXP_INSTTYPE}' == 'Final'
!undef LAMEXP_IS_PRERELEASE
!endif
!if '${LAMEXP_INSTTYPE}' == 'Hotfix'
!undef LAMEXP_IS_PRERELEASE
!endif
;-------------------------------- ;--------------------------------
;Includes ;Includes
;-------------------------------- ;--------------------------------
@ -294,6 +310,13 @@ Function MyUacInit
MessageBox MB_ICONSTOP|MB_TOPMOST|MB_SETFOREGROUND "Unable to elevate installer! (Error code: $0)" MessageBox MB_ICONSTOP|MB_TOPMOST|MB_SETFOREGROUND "Unable to elevate installer! (Error code: $0)"
Quit Quit
${EndSwitch} ${EndSwitch}
!ifdef LAMEXP_IS_PRERELEASE
!insertmacro GetCommandlineParameter "Update" "?" $R0
StrCmp $R0 "?" 0 +3
MessageBox MB_TOPMOST|MB_ICONEXCLAMATION|MB_OKCANCEL "$(LAMEXP_LANG_PRERELEASE_WARNING)" /SD IDOK IDOK +2
Abort
!endif
FunctionEnd FunctionEnd
Function un.MyUacInit Function un.MyUacInit
@ -581,8 +604,6 @@ Function RunAppFunction
FunctionEnd FunctionEnd
Function ShowReadmeFunction Function ShowReadmeFunction
!insertmacro UAC_AsUser_ExecShell "open" "$INSTDIR\Changelog.html" "" "" SW_SHOWNORMAL
!insertmacro UAC_AsUser_ExecShell "open" "$INSTDIR\FAQ.html" "" "" SW_SHOWNORMAL !insertmacro UAC_AsUser_ExecShell "open" "$INSTDIR\FAQ.html" "" "" SW_SHOWNORMAL
!insertmacro UAC_AsUser_ExecShell "open" "$INSTDIR\Translate.html" "" "" SW_SHOWNORMAL
FunctionEnd FunctionEnd

View File

@ -38,3 +38,4 @@ LangString LAMEXP_LANG_LINK_CHANGELOG ${LANG_ENGLISH} "Version History"
LangString LAMEXP_LANG_LINK_TRANSLATE ${LANG_ENGLISH} "Translator's Guide" LangString LAMEXP_LANG_LINK_TRANSLATE ${LANG_ENGLISH} "Translator's Guide"
LangString LAMEXP_LANG_LINK_UNINSTALL ${LANG_ENGLISH} "Uninstall" LangString LAMEXP_LANG_LINK_UNINSTALL ${LANG_ENGLISH} "Uninstall"
LangString LAMEXP_LANG_LINK_FAQ ${LANG_ENGLISH} "Frequently Asked Questions" LangString LAMEXP_LANG_LINK_FAQ ${LANG_ENGLISH} "Frequently Asked Questions"
LangString LAMEXP_LANG_PRERELEASE_WARNING ${LANG_ENGLISH} "You are about to install a Demo (pre-release) version of LameXP!"

View File

@ -38,3 +38,4 @@ LangString LAMEXP_LANG_LINK_CHANGELOG ${LANG_GERMAN} "Versionshistorie"
LangString LAMEXP_LANG_LINK_TRANSLATE ${LANG_GERMAN} "Leitfaden für Übersetzer" LangString LAMEXP_LANG_LINK_TRANSLATE ${LANG_GERMAN} "Leitfaden für Übersetzer"
LangString LAMEXP_LANG_LINK_UNINSTALL ${LANG_GERMAN} "Deinstallieren" LangString LAMEXP_LANG_LINK_UNINSTALL ${LANG_GERMAN} "Deinstallieren"
LangString LAMEXP_LANG_LINK_FAQ ${LANG_GERMAN} "Häufig Gestellte Fragen" LangString LAMEXP_LANG_LINK_FAQ ${LANG_GERMAN} "Häufig Gestellte Fragen"
LangString LAMEXP_LANG_PRERELEASE_WARNING ${LANG_GERMAN} "Sie sind dabei eine Demo-Version von LameXP zu installieren!"

View File

@ -38,3 +38,4 @@ LangString LAMEXP_LANG_LINK_CHANGELOG ${LANG_SPANISH} "Historial de version
LangString LAMEXP_LANG_LINK_TRANSLATE ${LANG_SPANISH} "Guía de traducción" LangString LAMEXP_LANG_LINK_TRANSLATE ${LANG_SPANISH} "Guía de traducción"
LangString LAMEXP_LANG_LINK_UNINSTALL ${LANG_SPANISH} "Desinstalar" LangString LAMEXP_LANG_LINK_UNINSTALL ${LANG_SPANISH} "Desinstalar"
LangString LAMEXP_LANG_LINK_FAQ ${LANG_SPANISH} "Preguntas frecuentes" LangString LAMEXP_LANG_LINK_FAQ ${LANG_SPANISH} "Preguntas frecuentes"
LangString LAMEXP_LANG_PRERELEASE_WARNING ${LANG_SPANISH} "You are about to install a Demo (pre-release) version of LameXP!"

View File

@ -38,3 +38,4 @@ LangString LAMEXP_LANG_LINK_CHANGELOG ${LANG_RUSSIAN} "История ве
LangString LAMEXP_LANG_LINK_TRANSLATE ${LANG_RUSSIAN} "Руководство Переводчика" LangString LAMEXP_LANG_LINK_TRANSLATE ${LANG_RUSSIAN} "Руководство Переводчика"
LangString LAMEXP_LANG_LINK_UNINSTALL ${LANG_RUSSIAN} "Деинсталляция" LangString LAMEXP_LANG_LINK_UNINSTALL ${LANG_RUSSIAN} "Деинсталляция"
LangString LAMEXP_LANG_LINK_FAQ ${LANG_RUSSIAN} "Часто Задаваемые Вопросы" LangString LAMEXP_LANG_LINK_FAQ ${LANG_RUSSIAN} "Часто Задаваемые Вопросы"
LangString LAMEXP_LANG_PRERELEASE_WARNING ${LANG_RUSSIAN} "You are about to install a Demo (pre-release) version of LameXP!"

View File

@ -25,7 +25,7 @@
#define VER_LAMEXP_MAJOR 4 #define VER_LAMEXP_MAJOR 4
#define VER_LAMEXP_MINOR_HI 0 #define VER_LAMEXP_MINOR_HI 0
#define VER_LAMEXP_MINOR_LO 1 #define VER_LAMEXP_MINOR_LO 1
#define VER_LAMEXP_BUILD 339 #define VER_LAMEXP_BUILD 341
#define VER_LAMEXP_SUFFIX Beta-3 #define VER_LAMEXP_SUFFIX Beta-3
/* /*