commit 764cc2be1f6a56d946235f1ed7804601df829a16
Author: Uwe Stöhr <uwesto...@lyx.org>
Date:   Sat Nov 28 02:04:57 2015 +0100

    installer: remove residues of metafile2eps

diff --git a/development/Win32/packaging/installer/setup/uninstall.nsh 
b/development/Win32/packaging/installer/setup/uninstall.nsh
index bbe1f62..a3d27aa 100644
--- a/development/Win32/packaging/installer/setup/uninstall.nsh
+++ b/development/Win32/packaging/installer/setup/uninstall.nsh
@@ -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}"

Reply via email to