installer: fix uninstallation of file extensions like ".lyx14"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27456 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-11-15 15:04:49 +00:00
parent 42fded69af
commit 3b0b260aaf
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,10 @@
Version 4.13 Version 4.14
- fix a bug in the Romanian translation of the installer
- fix installation of Aspell dictionaries in Win Vista
- fix uninstalling of the file extensions ".lyx13" and the like
Version 4.13
- LyX 1.6.0 - LyX 1.6.0

View File

@ -137,6 +137,9 @@ Section "un.LyX" un.SecUnProgramFiles
${if} $0 == "Yes${PRODUCT_VERSION_SHORT}" ${if} $0 == "Yes${PRODUCT_VERSION_SHORT}"
ReadRegStr $R0 SHCTX "Software\Classes\${PRODUCT_EXT}" "" ReadRegStr $R0 SHCTX "Software\Classes\${PRODUCT_EXT}" ""
${if} $R0 == "${PRODUCT_REGNAME}" ${if} $R0 == "${PRODUCT_REGNAME}"
DeleteRegKey SHCTX "Software\Classes\${PRODUCT_EXT}13"
DeleteRegKey SHCTX "Software\Classes\${PRODUCT_EXT}14"
DeleteRegKey SHCTX "Software\Classes\${PRODUCT_EXT}15"
DeleteRegKey SHCTX "Software\Classes\${PRODUCT_EXT}" DeleteRegKey SHCTX "Software\Classes\${PRODUCT_EXT}"
DeleteRegKey SHCTX "Software\Classes\${PRODUCT_REGNAME}" DeleteRegKey SHCTX "Software\Classes\${PRODUCT_REGNAME}"
${endif} ${endif}