]> git.lyx.org Git - features.git/commitdiff
Windows installer: add 3 new features/bugfixes
authorUwe Stöhr <uwestoehr@lyx.org>
Sat, 19 Apr 2014 16:58:22 +0000 (18:58 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Sat, 19 Apr 2014 16:58:22 +0000 (18:58 +0200)
As discussed with Vincent I added 3 new features:

* LyX can now also be installed over an existing installation of the same LyX version if the users really wants this.
(A message box appears recommending not to do so for test releases and when there are problems with an existing installation of the same release.)
* LyX can now also be installed if the uninstaller executable of a former LyX was accidentally deleted.
(That this case was not handled was more a bug. Thanks Vicent for the pointer.)
* If a user set MiKTeX's automatic package installation to "No" the installer will.
(As discussed with Vincent, if a user has disabled this MiKTeX feature he most probably know the consequences. So respect his decision.)
  respect that and not re-enable it.

I would be happy if anybody can spend a translation of the changed installer message.

27 files changed:
development/Win32/packaging/installer/ChangeLog.txt
development/Win32/packaging/installer/include/LaTeX.nsh
development/Win32/packaging/installer/include/init.nsh
development/Win32/packaging/installer/lang/arabic.nsh
development/Win32/packaging/installer/lang/basque.nsh
development/Win32/packaging/installer/lang/catalan.nsh
development/Win32/packaging/installer/lang/czech.nsh
development/Win32/packaging/installer/lang/danish.nsh
development/Win32/packaging/installer/lang/dutch.nsh
development/Win32/packaging/installer/lang/english.nsh
development/Win32/packaging/installer/lang/french.nsh
development/Win32/packaging/installer/lang/galician.nsh
development/Win32/packaging/installer/lang/german.nsh
development/Win32/packaging/installer/lang/hungarian.nsh
development/Win32/packaging/installer/lang/indonesian.nsh
development/Win32/packaging/installer/lang/italian.nsh
development/Win32/packaging/installer/lang/japanese.nsh
development/Win32/packaging/installer/lang/norwegian.nsh
development/Win32/packaging/installer/lang/polish.nsh
development/Win32/packaging/installer/lang/portuguese.nsh
development/Win32/packaging/installer/lang/romanian.nsh
development/Win32/packaging/installer/lang/slovak.nsh
development/Win32/packaging/installer/lang/spanish.nsh
development/Win32/packaging/installer/lang/swedish.nsh
development/Win32/packaging/installer/lang/turkish.nsh
development/Win32/packaging/installer/lang/ukrainian.nsh
development/Win32/packaging/installer/setup/configure.nsh

index 44020a79322d7515ed35e38d8b32232dfa77d2e8..3223f8d59d8a08e52f0a581e160b18e68b1add36 100644 (file)
@@ -1,4 +1,23 @@
-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
index 1b4cf98ec3087434dd32a0de495771f039a503aa..7a0cef818760a7dafb32a2d31f5c0286bab15075 100644 (file)
@@ -306,6 +306,11 @@ Function ConfigureMiKTeX
    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 == ""
@@ -313,6 +318,11 @@ Function ConfigureMiKTeX
     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 == ""
@@ -322,6 +332,7 @@ Function ConfigureMiKTeX
    # 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'
index b58478ad4da6661d4ff71d136cf44a9fe1d52b92..053570619fca96dc7117079902ed38185eb093a4 100644 (file)
@@ -635,8 +635,13 @@ Function .onInit
    ${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
index e31c1b726564723b1877c6021ab1ae56aa01a53d..eb83ebf0d0d92168a6e79fbddcfd4a1d386313a3 100644 (file)
@@ -75,7 +75,11 @@ ${LangFileString} ModifyingConfigureFailed "Could not set 'path_prefix' in the c
 ${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."
 
index 19ca6ec3ff513398307f2358de2e00ae54de191f..2988c2769e286fe80e9f35127bfe8fcd9ab66c3c 100644 (file)
@@ -83,7 +83,11 @@ ${LangFileString} MiKTeXInfo 'LaTeX-en $\"MiKTeX$\" banaketa LyX-ekin batera era
 ${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."
 
index a8888dd36634a8faee9daa40689f6d12c80efa82..0084fa76d63da5d95fcf1ee904bc2b51c5b242e4 100644 (file)
@@ -77,7 +77,11 @@ ${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 ${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."
 
index db1bac81973fa94d57599a5a865fa81ff65e4458..7b15087925efc6c773b6090cbf333b11b0203fd2 100644 (file)
@@ -77,7 +77,11 @@ ${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\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."
 
index 73ecde130679a0082394381e7399908058e2e762..5fb50fe9dd2641a7adb0fdc7b6530fe61430065b 100644 (file)
@@ -77,7 +77,11 @@ ${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 ${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."
 
index 116208a94d3d8ccba7afabf59a687573af1c3f41..e6831d95280265b0abc5ed0312af4efc40c1fa05 100644 (file)
@@ -77,7 +77,11 @@ ${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 ${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."
 
index cf3b867e14ed821e78a0d84b9eb23a2403954ba5..9b8ba29780de192cea461309115607240e6bb5b8 100644 (file)
@@ -82,7 +82,11 @@ ${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 ${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."
 
index 576f1850d312c74bd447585750fbfe5a7bf6cc93..23e1bdfaeb706a8588b722dbd99e245c7f3eadc3 100644 (file)
@@ -83,7 +83,11 @@ ${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 ${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."
 
index 72f8a698d9072ca1778c0990e8be4ed767f39e85..620ecca8ef5d22949feed02cf9843a50a70857eb 100644 (file)
@@ -77,7 +77,11 @@ ${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 ${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."
 
index 2a02a8553ab1584c10057a919f2bbd0eccf7194f..711308011891f24584c0fd9a92b9b03181da51c9 100644 (file)
@@ -83,7 +83,11 @@ ${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 ${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."
 
index 49f8ee21a736bf20dfcd87cfe0661d93a698a5c3..9348e3822a9e1ad56c3a22f46881f88b4ab6ca33 100644 (file)
@@ -83,7 +83,11 @@ ${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 ${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."
 
index 9553eb82b69f9653705d4e7b5782a1996756e2bf..e4d26973202e1a15a6c369dc0efd821317ddabae 100644 (file)
@@ -83,7 +83,11 @@ ${LangFileString} ModifyingConfigureFailed "Tidak bisa menyatakan 'path_prefix'
 ${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."
 
index 5c7a3f19c3ce13bfc16d2805b5e37b2bad81eaaf..cf6fc5461e9b83e7c61264b039e5fc2d703fb1c3 100644 (file)
@@ -85,7 +85,11 @@ ${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 ${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."
 
index 21408a532ce0e72676bef662758b03350b0397d0..9881c62c5a08d837f2a41bfe15e1e16d1bbcbddb 100644 (file)
@@ -83,7 +83,11 @@ ${LangFileString} ModifyingConfigureFailed "configure
 ${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"
 
index 71c37fe359277f098cb7ecdc7fe4ca16955db156..16a2a35987e10fac0ad16152d7e29ab3f79d1031 100644 (file)
@@ -83,7 +83,11 @@ ${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 ${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."
 
index f61f57f0cbfba01cdd95c80878565c02f8cd8789..3e7287a490ea1df49576137add249c218cddc508 100644 (file)
@@ -77,7 +77,11 @@ ${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 ${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."
 
index 728652c9725e7a8c779c2babd55eb4072afecf8b..5e2d3b1a668c4ba3d1efbe669e2bf2fd4d43f606 100644 (file)
@@ -77,7 +77,11 @@ ${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 ${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."
 
index 701d46d70694da517af5e62e3eca733790a4a0dc..aed8c4b177173a6199dc10d7f9216c0264117049 100644 (file)
@@ -78,7 +78,11 @@ ${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 ${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."
 
index 9c7c7aa8ba867e904a13c3a851118bf00ce9a52c..cb14438619f39d26050f80d686eb4b4e4e353be5 100644 (file)
@@ -84,7 +84,11 @@ ${LangFileString} ModifyingConfigureFailed "Nedal sa nastavi
 ${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."
 
index 4bdd5cde0aff9333d0d8e61ce42ffb6367def563..67aefd5efd7669b6739fdcd94e07d3290ecdb26e 100644 (file)
@@ -83,7 +83,11 @@ ${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 ${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."
 
index aee64063ef09e40c11d70bae3ae7af7a8f86ee6e..49b497ebc54a2261731f0b8354501e80b9477c8d 100644 (file)
@@ -77,7 +77,11 @@ ${LangFileString} ModifyingConfigureFailed "Kunde inte s
 ${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."
 
index d4d2fdf0b46630905bf0cc1ad04fb115f487e57f..27dc62ba4f9537d89d0749ff6a1accc75f36b09d 100644 (file)
@@ -77,7 +77,11 @@ ${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 ${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."
 
index 2cc30710b0023c45af6c90c52f979443b2c705f5..78d84c42cc927aad52998d039b1044b21530b9d2 100644 (file)
@@ -83,7 +83,11 @@ ${LangFileString} ModifyingConfigureFailed "
 ${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."
 
index 9e6d18be9552aade234beca8aa31e47c008c32f3..639bfd5ccf3d59118611ad259851d043a5c3ec5f 100644 (file)
@@ -55,8 +55,8 @@ Section -InstallData
   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"