installer: remove residues of metafile2eps

This commit is contained in:
Uwe Stöhr 2015-11-28 02:04:57 +01:00
parent 5c35ebcd24
commit 764cc2be1f

View File

@ -57,8 +57,9 @@ Section "un.LyX" un.SecUnProgramFiles
#DeleteRegKey SHCTX "Software\Classes\${APP_EXT}15"
#DeleteRegKey SHCTX "Software\Classes\${APP_EXT}16"
#DeleteRegKey SHCTX "Software\Classes\${APP_EXT}20"
DeleteRegKey SHCTX "Software\Classes\${APP_EXT}"
DeleteRegKey SHCTX "Software\Classes\${APP_REGNAME_DOC}"
#DeleteRegKey SHCTX "Software\Classes\${APP_EXT}21"
#DeleteRegKey SHCTX "Software\Classes\${APP_EXT}" enable this for LyX 2.2 final!
#DeleteRegKey SHCTX "Software\Classes\${APP_REGNAME_DOC}"
${endif}
${endif}
${if} $MultiUser.Privileges == "Admin"
@ -85,12 +86,6 @@ Section "un.LyX" un.SecUnProgramFiles
DeleteRegKey SHELL_CONTEXT "Software\Classes\${APP_EXT}"
${EndIf}
${If} $MultiUser.Privileges == "Admin"
${OrIf} $MultiUser.Privileges == "Power"
# Delete Postscript printer for metafile to EPS conversion
ExecWait '$PrinterConf /q /dl /n "Metafile to EPS Converter"'
${EndIf}
# clean other registry entries
DeleteRegKey SHCTX "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\${APP_NAME}.exe"
DeleteRegKey SHCTX "SOFTWARE\${APP_REGKEY}"