-Changelog for LyX-207-4:
+Changelog for LyX-210-2:
+- LyX can now also be installed over an existing installation of the same LyX version
+ if the users really wants this.
+- LyX can now also be installed if the uninstaller executable of a former LyX was
+ accidentally deleted.
+- If a user set MiKTeX's automatic package installation to "No" the installer will
+ respect that and not re-enable it.
+
+
+Changelog for LyX-210-1:
+- installs LyX 2.1.0
+- fixed a bug that MiKTeX was not found if Windows' PATH variable is very long
+
+
+Changelog for LyX-208-1:
+- installs LyX 2.0.7
+- fixed a bug that MiKTeX was not found if Windows' PATH variable is very long
+
+
+Changelog for LyX-207-4:
- downgraded to Qt 4.8.4
(there is a bug in the newer Qt 4.8.5 that destroys some shortcuts)
- updated to JabRef 2.10
SetRegView 32
${endif}
${if} $MiKTeXUser == "HKCU" # if only for current user
+ # if AutoInstall is set to "0" we can assume that this was set purposly since the default is "1"
+ ReadRegStr $2 HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "AutoInstall"
+ ${if} $2 == "0"
+ Goto NoAutoInstall
+ ${endif}
WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "AutoInstall" "1"
ReadRegStr $1 HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "RemoteRepository"
${if} $1 == ""
WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "RepositoryType" "remote"
${endif}
${else}
+ # if AutoInstall is set to "0" we can assume that this was set purposly since the default is "1"
+ ReadRegStr $2 HKLM "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "AutoInstall"
+ ${if} $2 == "0"
+ Goto NoAutoInstall
+ ${endif}
WriteRegStr HKLM "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "AutoInstall" "1"
ReadRegStr $1 HKLM "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "RemoteRepository"
${if} $1 == ""
# we need to state that missing packages should be installed for all users too
WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "AutoAdmin" "t"
${endif}
+ NoAutoInstall:
# update MiKTeX's package file list
ExecWait '$PathLaTeX\mpm.exe --update-fndb'
${endif}
${endif}
${if} $0 != ""
- MessageBox MB_OK|MB_ICONSTOP "$(StillInstalled)" /SD IDOK
+ # installing over an existing installation of the same LyX release is not necessary
+ # if the users does this he most probably has a problem with LyX that can better be solved
+ # by reinstalling LyX
+ # for beta and other test releases over-installing can even cause errors
+ MessageBox MB_YESNO|MB_DEFBUTTON2|MB_ICONEXCLAMATION "$(AlreadyInstalled)" /SD IDNO IDYES ForceInstallation
Abort
+ ForceInstallation:
${endif}
# check if there is an existing LyX installation of the same LyX series
${LangFileString} RunConfigureFailed "äÇ êåãæ ÊæáêÐ Çäà configure script"
${LangFileString} NotAdmin "êÌÈ Ãæ Êãèæ ÈÕäÇÍêÉ ÇäåÏêÑ äãê ääâêÇå ÈÙåäêÉ ÇäÊÑãêÈ!"
${LangFileString} InstallRunning "Êå ÈÇäáÙä ÇäÈÏÁ ÈÙåäêÉ ÇäÊÑãêÈ!"
-${LangFileString} StillInstalled "Êå ${APP_SERIES_KEY2} ÈÇäáÙä ÊÑãêÈ ÈÑæÇåÌ äêã äÐÇ Ùäêã ÇèäÇë ÇäÚÇÁ ÊÑãêÈ ÇäæÓÎÉÇäÓÇÈâÉ."
+${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} is already installed!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
${LangFileString} ModifyingConfigureFailed "Ezin izan da 'path_prefix' ezarri konfigurazioaren script-ean"
#${LangFileString} RunConfigureFailed "Ezin izan da konfigurazioaren script-a exekutatu"
${LangFileString} InstallRunning "Instalatzailea jadanik exekutatzen ari da."
-${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} jadanik instalatuta dago. Aurrenik LyX desinstalatu."
+${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} jadanik instalatuta dago!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "Instalatuta dagoen LyX baino bertsio zaharragoa instalatzen saiatzen ari zara.$\r$\n\
Hori egitea nahi baduzu, lehenbizi existitzen den LyX $OldVersionNumber desinstalatu beharko duzu."
${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 ${APP_SERIES_KEY2} ja es troba instal·lat! Desinstal·leu-lo primer."
+${LangFileString} AlreadyInstalled "El LyX ${APP_SERIES_KEY2} ja es troba instal·lat!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
${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\9e spu\9atìn!"
-${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} je ji\9e nainstalován! Nejprve LyX odinstalujte."
+${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} je ji\9e nainstalován!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
${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 ${APP_SERIES_KEY2} er allerede installeret! Afinstaller LyX først."
+${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} er allerede installeret!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
${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 ${APP_SERIES_KEY2} is reeds geinstalleerd! Verwijder LyX eerst."
+${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} is reeds geinstalleerd!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
${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 ${APP_SERIES_KEY2} is already installed! Deinstall LyX first."
+${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} is already installed!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
${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 ${APP_SERIES_KEY2} est déjà installé ! Le désinstaller d'abord."
+${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} est déjà installé !$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version ?"
${LangFileString} NewerInstalled "Vous essayez d$\'installer une version de LyX plus ancienne que celle qui est déjà installée.$\r$\n\
Si c$\'est ce qu vous voulez, vous devez d$\'abord désinstaller LyX $OldVersionNumber."
${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 ${APP_SERIES_KEY2} xa está instalado! Desinstale o LyX primeiro."
+${LangFileString} AlreadyInstalled "O LyX ${APP_SERIES_KEY2} xa está instalado!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
#${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 ${APP_SERIES_KEY2} ist bereits installiert! Deinstallieren Sie LyX zuerst."
+${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} ist bereits installiert!$\r$\n\
+ Das Installieren über bestehende Installationen ist nicht empfohlen, wenn die installierte Version$\r$\n\
+ eine Testversion ist oder wenn es Probleme mit der bestehenden LyX-Installation gibt.$\r$\n\
+ Besser Sie deinstallieren in diesen Fällen LyX zuerst.$\r$\n\
+ Wollen Sie LyX dennoch über die bestehende Version installieren?"
${LangFileString} NewerInstalled "Sie versuchen eine Vesion von LyX zu installieren, die älter als die derzeit installierte ist.$\r$\n\
Wenn Sie das wirklich wollen, müssen Sie erst das existierende LyX $OldVersionNumber deinstallieren."
${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 ${APP_SERIES_KEY2} már teleptve van! Elõször távolítsa el a régit."
+${LangFileString} AlreadyInstalled "A LyX ${APP_SERIES_KEY2} már teleptve van!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "A jelenleg telepítettnél régebbi LyX verziót próbál telepíteni.$\r$\n\
Ha valóban ezt akarja, elõször el kell távolítania a meglévõ LyX $OldVersionNumber változatot."
${LangFileString} RunConfigureFailed "Tidak bisa menjalankan skrip konfigurasi"
${LangFileString} NotAdmin "Anda harus berlaku dan mempunyai hak sebagai administrator untuk instalasi LyX!"
${LangFileString} InstallRunning "Program instalasi sedang berjalan!"
-${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} sudah pernah diinstal! Perlu menghapus LyX yang ada terlebih dahulu."
+${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} sudah pernah diinstal!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "Anda akan memasang versi LyX yang lama dari yang sudah terpasang.$\r$\n\
Jika memang dikehendaki, anda harus menghapus dulu LyX yang ada, LyX $OldVersionNumber."
${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 ${APP_SERIES_KEY2} è già installato! Occorre rimuoverlo per poter procedere."
+${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} è già installato!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
${LangFileString} RunConfigureFailed "configure\83X\83N\83\8a\83v\83g\82ð\8eÀ\8ds\82·\82é\82±\82Æ\82ª\82Å\82«\82Ü\82¹\82ñ\82Å\82µ\82½"
${LangFileString} NotAdmin "LyX\82ð\93±\93ü\82·\82é\82É\82Í\81A\8aÇ\97\9d\8eÒ\8c \8cÀ\82ð\8e\9d\82Á\82Ä\82¢\82È\82\82Ä\82Í\82È\82è\82Ü\82¹\82ñ\81I"
${LangFileString} InstallRunning "\93±\93ü\83v\83\8d\83O\83\89\83\80\82Í\8aù\82É\93®\8dì\92\86\82Å\82·\81I"
-${LangFileString} StillInstalled "LyX${APP_SERIES_KEY2}\82Í\8aù\82É\93±\93ü\8dÏ\82Ý\82Å\82·\81I\90æ\82ÉLyX\82Ì\93±\93ü\82ð\89ð\8f\9c\82µ\82Ä\82\82¾\82³\82¢\81B"
+${LangFileString} AlreadyInstalled "LyX${APP_SERIES_KEY2}\82Í\8aù\82É\93±\93ü\8dÏ\82Ý\82Å\82·\81I$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?\81B"
${LangFileString} NewerInstalled "\82 \82È\82½\82Í\81A\8aù\82É\93±\93ü\8dÏ\82Ý\82ÌLyX\82æ\82è\82à\8cÃ\82¢\94Å\82ð\93±\93ü\82µ\82æ\82¤\82Æ\82µ\82Ä\82¢\82Ü\82·\81B$\r$\n\
\96{\93\96\82É\82»\82¤\82µ\82½\82¢\82Ì\82Å\82 \82ê\82Î\81A\8aù\91¶\82Ì LyX $OldVersionNumber \82ð\82Ü\82¸\93±\93ü\89ð\8f\9c\82µ\82Ä\82\82¾\82³\82¢\81B"
${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 ${APP_SERIES_KEY2} er allerede installert! Fjern LyX først."
+${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} er allerede installert!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "Du prøver å installere en eldre versjon av Lyx enn den du har installert fra før.$\r$\n\
Dersom du ønsker dette må du avinstallere LyX $OldVersionNumber først."
${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 ${APP_SERIES_KEY2} jest ju¿ zainstalowany! Aby kontynowaæ musisz go najpierw usun¹æ."
+${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} jest ju¿ zainstalowany!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "Próbujesz zainstalowaæ starsz¹ wersjê LyX, ni¿ ta która jest ju¿ zainstalowana.$\r$\n\
Je¿eli naprawdê chcesz tego dokonaæ, musisz wpierw odinstalowaæ LyX $OldVersionNumber."
${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 ${APP_SERIES_KEY2} já está instalado! Desinstale o LyX primeiro."
+${LangFileString} AlreadyInstalled "O LyX ${APP_SERIES_KEY2} já está instalado!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
${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 ${APP_SERIES_KEY2} este deja instalat! Dezinstalaþi LyX prima oarã."
+${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} este deja instalat!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
${LangFileString} RunConfigureFailed "Nedal sa spusti\9d konfiguraèný skript"
${LangFileString} NotAdmin "Pre in\9ataláciu LyXu potrebujete administrátorské práva!"
${LangFileString} InstallRunning "In\9atalatér u\9e be\9eí!"
-${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} je u\9e in\9atalovaný! LyX treba najprv odin\9atalova\9d."
+${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} je u\9e in\9atalovaný!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "Pokú\9aate sa in\9atalova\9d verziu LyXu ktorá je star\9aia ako tá ktorá je in\9atalovaná.$\r$\n\
Keï to naozaj chcete, odin\9atalujte najprv existujúci LyX $OldVersionNumber."
${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 ${APP_SERIES_KEY2} ya esta instalado! Antes desinstale LyX."
+${LangFileString} AlreadyInstalled "¡LyX ${APP_SERIES_KEY2} ya esta instalado!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "Está tratando de instalar una versión de LyX más antigua que la que tiene instalada.$\r$\n\
Si realmente lo desea, debe desinstalar antes la versión de LyX instalada $OldVersionNumber."
${LangFileString} RunConfigureFailed "Kunde inte köra konfigurationsskriptet"
${LangFileString} NotAdmin "Du måste ha administratörsrättigheter för att installera LyX!"
${LangFileString} InstallRunning "Installationsprogrammet körs redan!"
-${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} är redan installerad! Avinstallera LyX först."
+${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} är redan installerad!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "Du försöker att installera en äldre version av LyX än vad du har installerad.$\r$\n\
Om du verkligen vill detta måste du avinstallera den befintliga LyX $OldVersionNumber innan."
${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 ${APP_SERIES_KEY2} kurulu zaten! Önce onu kaldýrýn."
+${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} kurulu zaten!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
${LangFileString} RunConfigureFailed "Íå âäàëîñÿ âèêîíàòè ñêðèïò íàëàøòóâàííÿ"
${LangFileString} NotAdmin "Äëÿ âñòàíîâëåííÿ LyX âàì ïîòð³áí³ ïðèâ³ëå¿ àäì³í³ñòðàòîðà!"
${LangFileString} InstallRunning "Çàñ³á äëÿ âñòàíîâëåííÿ âæå ïðàöþº!"
-${LangFileString} StillInstalled "LyX ${APP_SERIES_KEY2} âæå âñòàíîâëåíî! Ñïî÷àòêó âèëó÷³òü éîãî LyX."
+${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} âæå âñòàíîâëåíî!$\r$\n\
+ Installing over existing installations is not recommended if the installed version$\r$\n\
+ is a test release or if you have problems with your existing LyX installation.$\r$\n\
+ In these cases better reinstall LyX.$\r$\n\
+ Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "Âè íàìàãàºòåñÿ âñòàíîâèòè âåðñ³þ LyX, ÿêà º çàñòàð³ëîþ ïîð³âíÿíî ç âæå âñòàíîâëåíîþ.$\r$\n\
ßêùî âè õî÷åòå âñòàíîâèòè çàñòàð³ëó âåðñ³þ, âàì ñë³ä ñïî÷àòêó âèëó÷èòè âæå âñòàíîâëåíèé LyX $OldVersionNumber."
WriteRegDWORD SHCTX ${APP_UNINST_KEY} "NoRepair" 0x00000001
WriteRegStr SHCTX ${APP_UNINST_KEY} "StartMenu" "$SMPROGRAMS\$StartmenuFolder"
- # if we install over an existing version, remove the old uninstaller information
- ${if} $OldVersionNumber != ""
+ # if we install over an older existing version, remove the old uninstaller information
+ ${if} $OldVersionNumber < ${APP_SERIES_KEY}
DeleteRegKey SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_NAME}$OldVersionNumber"
# also delete in the case of an emergency release
DeleteRegKey SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_NAME}$OldVersionNumber1"