installer: clarify a message

It is possible to install a newer lyX over an existing older LyX installation, but we cannot allow to install over the same lyX version. Therefore output the version number if this error message is shown
This commit is contained in:
Uwe Stöhr 2012-11-10 07:21:00 +01:00
parent dab1b4bbc0
commit e447cdbd6b
23 changed files with 23 additions and 22 deletions

View File

@ -47,6 +47,7 @@ Configuration of LyX installer
# to check if it is exactly this version (to support side by side installations)
!define APP_SERIES_NAME "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}"
!define APP_SERIES_KEY "${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}"
!define APP_SERIES_KEY2 "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION}"
!define APP_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\${APP_NAME}.exe"
!define APP_DIR "${APP_NAME} ${APP_SERIES_NAME}"
!define APP_DIR_USERDATA "${APP_NAME}${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}"

View File

@ -75,7 +75,7 @@ ${LangFileString} ModifyingConfigureFailed "Could not set 'path_prefix' in the c
${LangFileString} RunConfigureFailed "äÇ êåãæ ÊæáêÐ Çäà configure script"
${LangFileString} NotAdmin "êÌÈ Ãæ Êãèæ ÈÕäÇÍêÉ ÇäåÏêÑ äãê ääâêÇå ÈÙåäêÉ ÇäÊÑãêÈ!"
${LangFileString} InstallRunning "Êå ÈÇäáÙä ÇäÈÏÁ ÈÙåäêÉ ÇäÊÑãêÈ!"
${LangFileString} StillInstalled "تم بالفعل تركيب برنامج ليك لذا عليك اولاً الغاء تركيب النسخةالسابقة."
${LangFileString} StillInstalled "تم ${APP_SERIES_KEY2} بالفعل تركيب برنامج ليك لذا عليك اولاً الغاء تركيب النسخةالسابقة."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -75,7 +75,7 @@ ${LangFileString} ModifyingConfigureFailed "No es pot establir 'path_prefix' dur
${LangFileString} RunConfigureFailed "No es pot executar el programa de configuració"
${LangFileString} NotAdmin "Necessiteu drets d'administrador per instal·lar el LyX!"
${LangFileString} InstallRunning "L'instal·lador ja s'està executant!"
${LangFileString} StillInstalled "El LyX ja es troba instal·lat! Desinstal·leu-lo primer."
${LangFileString} StillInstalled "El LyX ${APP_SERIES_KEY2} ja es troba instal·lat! Desinstal·leu-lo primer."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -75,7 +75,7 @@ ${LangFileString} ModifyingConfigureFailed "Nelze nastavit 'path_prefix' v konfi
${LangFileString} RunConfigureFailed "Nelze spustit konfiguraèní skript"
${LangFileString} NotAdmin "Potøebujete administrátorská práva pro nainstalování LyXu!"
${LangFileString} InstallRunning "Instalátor je již spuštìn!"
${LangFileString} StillInstalled "LyX je již nainstalován! Nejprve LyX odinstalujte."
${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} je již nainstalován! Nejprve LyX odinstalujte."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -75,7 +75,7 @@ ${LangFileString} ModifyingConfigureFailed "Forsoget p
${LangFileString} RunConfigureFailed "Mislykket forsog på at afvikle konfigurations-scriptet"
${LangFileString} NotAdmin "Du skal have administrator-rettigheder for at installere LyX!"
${LangFileString} InstallRunning "Installationsprogrammet kører allerede!"
${LangFileString} StillInstalled "LyX er allerede installeret! Afinstaller LyX først."
${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} er allerede installeret! Afinstaller LyX først."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -75,7 +75,7 @@ ${LangFileString} ModifyingConfigureFailed "Mislukte poging om 'path_prefix' te
${LangFileString} RunConfigureFailed "Mislukte configuratie poging"
${LangFileString} NotAdmin "U heeft systeem-beheerrechten nodig om LyX te installeren!"
${LangFileString} InstallRunning "Het installatieprogramma is al gestart!"
${LangFileString} StillInstalled "LyX is reeds geinstalleerd! Verwijder LyX eerst."
${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} is reeds geinstalleerd! Verwijder LyX eerst."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -82,7 +82,7 @@ ${LangFileString} MiKTeXInfo 'The LaTeX-distribution $\"MiKTeX$\" will be used t
${LangFileString} ModifyingConfigureFailed "Could not set 'path_prefix' in the configure script"
#${LangFileString} RunConfigureFailed "Could not execute the configure script"
${LangFileString} InstallRunning "The installer is already running!"
${LangFileString} StillInstalled "LyX is already installed! Deinstall LyX first."
${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} is already installed! Deinstall LyX first."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -81,7 +81,7 @@ ${LangFileString} ModifyingConfigureFailed "
${LangFileString} RunConfigureFailed "Échec de la tentative de configuration initiale de LyX."
${LangFileString} NotAdmin "Vous devez avoir les droits d'administration pour installer LyX !"
${LangFileString} InstallRunning "Le programme d'installation est toujours en cours !"
${LangFileString} StillInstalled "LyX est déjà installé ! Le désinstaller d'abord."
${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} est déjà installé ! Le désinstaller d'abord."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -75,7 +75,7 @@ ${LangFileString} ModifyingConfigureFailed "Non se puido engadir o 'path_prefix'
${LangFileString} RunConfigureFailed "Non se deu executado o script de configuración"
${LangFileString} NotAdmin "Precisa de priviléxios de administrador para instalar o LyX!"
${LangFileString} InstallRunning "O instalador xa está a correr!"
${LangFileString} StillInstalled "O LyX xa está instalado! Desinstale o LyX primeiro."
${LangFileString} StillInstalled "O LyX ${APP_SERIES_KEY2} xa está instalado! Desinstale o LyX primeiro."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -83,7 +83,7 @@ ${LangFileString} ModifyingConfigureFailed 'Der $\"PATH_pr
${LangFileString} RunConfigureFailed "Konnte das Konfigurationsskript nicht ausführen."
${LangFileString} NotAdmin "Sie benötigen Administratorrechte um LyX zu installieren!"
${LangFileString} InstallRunning "Der Installer läuft bereits!"
${LangFileString} StillInstalled "LyX ist bereits installiert! Deinstallieren Sie LyX zuerst."
${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} ist bereits installiert! Deinstallieren Sie LyX zuerst."
${LangFileString} MultipleIndexesNotAvailable "Die Unterstützung für mehrere Indexe in einem Dokument wird nicht verfügbar sein, denn$\r$\n\
MiKTeX wurde mit Administratorrechten installiert aber Sie installieren LyX ohne diese."

View File

@ -75,7 +75,7 @@ ${LangFileString} ModifyingConfigureFailed "Nem tudom be
${LangFileString} RunConfigureFailed "Nem tudom végrehajtani a configure parancsfájlt!"
${LangFileString} NotAdmin "A LyX telepítéséhez rendszergazdai jogok szükségesek!"
${LangFileString} InstallRunning "A telepítõ már fut!"
${LangFileString} StillInstalled "A LyX már teleptve van! Elõször távolítsa el a régit."
${LangFileString} StillInstalled "A LyX ${APP_SERIES_KEY2} már teleptve van! Elõször távolítsa el a régit."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -75,7 +75,7 @@ ${LangFileString} ModifyingConfigureFailed "Tidak bisa menyatakan 'path_prefix'
${LangFileString} RunConfigureFailed "Tidak bisa menjalankan skrip configure"
${LangFileString} NotAdmin "Anda harus berlaku dan mempunyai hak sebagai administrator untuk instalasi LyX!"
${LangFileString} InstallRunning "Program instalasi sedang berjalan!"
${LangFileString} StillInstalled "LyX sudah pernah diinstal! Perlu menghapus LyX yang ada terlebih dahulu."
${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} sudah pernah diinstal! Perlu menghapus LyX yang ada terlebih dahulu."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -81,7 +81,7 @@ ${LangFileString} ModifyingConfigureFailed "Fallito tentativo di aggiornare 'pat
${LangFileString} RunConfigureFailed "Fallito tentativo di eseguire lo script di configurazione"
${LangFileString} NotAdmin "Occorrono i privilegi da amministratore per installare LyX!"
${LangFileString} InstallRunning "Il programma di installazione è già in esecuzione!"
${LangFileString} StillInstalled "LyX è già installato! Occorre rimuoverlo per poter procedere."
${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} è già installato! Occorre rimuoverlo per poter procedere."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -75,7 +75,7 @@ ${LangFileString} ModifyingConfigureFailed "configure
${LangFileString} RunConfigureFailed "configureスクリプトを実行することができませんでした"
${LangFileString} NotAdmin "LyXをインストールするには、管理者権限を持っていなくてはなりません"
${LangFileString} InstallRunning "インストーラーは既に動いています!"
${LangFileString} StillInstalled "LyXは既にインストールされています先にLyXをアンインストールしてください。"
${LangFileString} StillInstalled "LyX${APP_SERIES_KEY2}は既にインストールされています先にLyXをアンインストールしてください。"
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -75,7 +75,7 @@ ${LangFileString} ModifyingConfigureFailed "Fors
${LangFileString} RunConfigureFailed "Fikk ikke kjørt konfigurasjonsscriptet"
${LangFileString} NotAdmin "Du trenger administratorrettigheter for å installere LyX!"
${LangFileString} InstallRunning "Installasjonsprogrammet er allerede i gang!"
${LangFileString} StillInstalled "LyX er allerede installert! Fjern LyX først."
${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} er allerede installert! Fjern LyX først."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -75,7 +75,7 @@ ${LangFileString} ModifyingConfigureFailed "Nieudana pr
${LangFileString} RunConfigureFailed "Niedana próba wykonania skryptu konfiguracyjnego"
${LangFileString} NotAdmin "Musisz mieæ prawa administratora aby zainstalowaæ LyX-a!"
${LangFileString} InstallRunning "Instalator jest ju¿ uruchomiony!"
${LangFileString} StillInstalled "LyX jest już zainstalowany! Aby kontynować musisz go najpierw usunšć."
${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} jest już zainstalowany! Aby kontynować musisz go najpierw usunšć."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -75,7 +75,7 @@ ${LangFileString} ModifyingConfigureFailed "N
${LangFileString} RunConfigureFailed "Não foi possível executar o script de configuração"
${LangFileString} NotAdmin "Precisa de privilégios de administrador para instalar o LyX!"
${LangFileString} InstallRunning "O instalador já está a correr!"
${LangFileString} StillInstalled "O LyX já está instalado! Desinstale o LyX primeiro."
${LangFileString} StillInstalled "O LyX ${APP_SERIES_KEY2} já está instalado! Desinstale o LyX primeiro."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -74,7 +74,7 @@ ${LangFileString} ModifyingConfigureFailed "Nu am putut seta 'path_prefix'
${LangFileString} RunConfigureFailed "Nu am putut executa scriptul de configurare"
${LangFileString} NotAdmin "Trebuie să aveţi drepturi de administrator pentru instalarea programului LyX!"
${LangFileString} InstallRunning "Programul de instalare este deja pornit!"
${LangFileString} StillInstalled "LyX este deja instalat! Dezinstalaþi LyX prima oarã."
${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} este deja instalat! Dezinstalaþi LyX prima oarã."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -76,7 +76,7 @@ ${LangFileString} ModifyingConfigureFailed "Nemohol uvies
${LangFileString} RunConfigureFailed "Nemohol vykona<6E> konfiguraèný skript"
${LangFileString} NotAdmin "Pre inštaláciu LyX potrebujete administrátorské práva!"
${LangFileString} InstallRunning "Inštalatér už behá!"
${LangFileString} StillInstalled "LyX je už inštalovaný! Najprv treba odinštalova<76> LyX."
${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} je už inštalovaný! Najprv treba odinštalova<76> LyX."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -75,7 +75,7 @@ ${LangFileString} ModifyingConfigureFailed "Error al intentar a
${LangFileString} RunConfigureFailed "Error al intentar ejecutar el programa de configuración"
${LangFileString} NotAdmin "Necesita privilegios de administrador para instalar LyX!"
${LangFileString} InstallRunning "El instalador ya esta siendo ejecutado!"
${LangFileString} StillInstalled "¡LyX ya esta instalado! Antes desinstale LyX."
${LangFileString} StillInstalled "¡LyX ${APP_SERIES_KEY2} ya esta instalado! Antes desinstale LyX."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -75,7 +75,7 @@ ${LangFileString} ModifyingConfigureFailed "Misslyckades med att s
${LangFileString} RunConfigureFailed "Misslyckades med att köra konfigurationsskriptet"
${LangFileString} NotAdmin "Du måste ha administratörsrättigheter för att installera LyX!"
${LangFileString} InstallRunning "Installationsprogrammet körs readan!"
${LangFileString} StillInstalled "LyX är redan installerat! Avinstallera LyX först."
${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} är redan installerat! Avinstallera LyX först."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -75,7 +75,7 @@ ${LangFileString} ModifyingConfigureFailed "Yap
${LangFileString} RunConfigureFailed "Yapýlandýrma programý çalýþtýrýlamadý"
${LangFileString} NotAdmin "LyX kurabilmek için yönetici yetkileri gerekiyor!"
${LangFileString} InstallRunning "Kurulum programý zaten çalýþýyor!"
${LangFileString} StillInstalled "LyX kurulu zaten! Önce onu kaldýrýn."
${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} kurulu zaten! Önce onu kaldýrýn."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."

View File

@ -75,7 +75,7 @@ ${LangFileString} ModifyingConfigureFailed "
${LangFileString} RunConfigureFailed "Íå âäàëîñÿ âèêîíàòè ñêðèïò íàëàøòóâàííÿ"
${LangFileString} NotAdmin "Äëÿ âñòàíîâëåííÿ LyX âàì ïîòð³áí³ ïðèâ³ëå¿ àäì³í³ñòðàòîðà!"
${LangFileString} InstallRunning "Çàñ³á äëÿ âñòàíîâëåííÿ âæå ïðàöþº!"
${LangFileString} StillInstalled "LyX вже встановлено! Спочатку вилучіть його LyX."
${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} вже встановлено! Спочатку вилучіть його LyX."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."