Win installer: fix a bug

This commit is contained in:
Uwe Stöhr 2016-11-27 15:33:06 +01:00
parent c438a93411
commit 7c25e51385
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,7 @@
- automatically install LaTeX package necessary for XeTeX in combinations with
document languages like e.g. Georgian
- fix bug that thesaurus for English (AU) was not installed
- fix bug when JabRef was uninstalled together with LyX
- updated Norwegian, Swedish and Ukrainian translation of the installer
- updated to JabRef 3.7
- updated to ImageMagick 7.0.3-8

View File

@ -94,6 +94,7 @@ Section "un.LyX" un.SecUnProgramFiles
# delete info that programs were installed together with LyX
DeleteRegValue SHCTX "SOFTWARE\MiKTeX.org\MiKTeX" "OnlyWithLyX"
DeleteRegValue SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef" "OnlyWithLyX"
# for texindy the path to the perl.exe must unfortunately be in Windows' PATH variable
# so we have to remove it now
@ -121,7 +122,7 @@ SectionEnd
#---------------------------------
# MiKTeX
Section /o "un.MiKTeX" un.SecUnMiKTeX
Section "un.MiKTeX" un.SecUnMiKTeX
${if} $LaTeXInstalled == "MiKTeX" # only uninstall MiKTeX when it was installed together with LyX
ReadRegStr $1 SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\MiKTeX ${MiKTeXDeliveredVersion}" "UninstallString"