]> git.lyx.org Git - features.git/commitdiff
installer: fix 2 minor bugs
authorUwe Stöhr <uwestoehr@lyx.org>
Fri, 16 Nov 2012 00:21:47 +0000 (01:21 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Fri, 16 Nov 2012 00:21:47 +0000 (01:21 +0100)
- correct required space for German thesaurus
- fix display problem of EPS and PDF images for a certain installation constellation

development/Win32/packaging/installer/ChangeLog.txt
development/Win32/packaging/installer/include/init.nsh
development/Win32/packaging/installer/settings.nsh
development/Win32/packaging/installer/setup/install.nsh
development/Win32/packaging/installer/setup/uninstall.nsh

index 7509feb4d7e6f10903b7e8e4854c6851c46b133d..e3c82c3ec08a85b069037f33238370e68d3e5927 100644 (file)
@@ -1,4 +1,10 @@
-Changelog for LyX-205-3:
+Changelog for LyX-205-4:
+- fixed bug that EPS and PDF images were not be displayed if LyX was installed this time without admin privileges
+  but an older LyX version was once installed with admin privileges
+- correct the required disk space for the German thesaurus dictionaries 
+
+
+Changelog for LyX-205-3:
 - fixed infinite loop when starting the installer and not having Ghostscript previously installed (LyX bug #8417)
 - updated to JabRef 2.8.1
 - updated French and Spanish translation of the installer messages
index d10d3f15c50a90d2a78550e04f6d4ec3e4002943..383c94d8ba0de9c3d4ee1ed17bbfa73d840f15af 100644 (file)
@@ -442,12 +442,12 @@ SectionEnd
 
 Section /o "Deutsch (D/A)" SecTGermanDA
  StrCpy $ThesCodes "de_DE$ThesCodes"
- AddSize 5360
+ AddSize 14600
 SectionEnd
 
 Section /o "Deutsch (CH)" SecTGermanCH
  StrCpy $ThesCodes "de_CH$ThesCodes"
- AddSize 5360
+ AddSize 14600
 SectionEnd
 
 Section /o "English (GB)" SecTEnglishGB
index f84137aaba638b87bdd1bac463802f2b19294dfc..b0ce50c29c7d65efc4d8afb03b31f25110eaf92d 100644 (file)
@@ -12,7 +12,7 @@ These typically need to be modified for each LyX release
 !define APP_VERSION_MAJOR 2
 !define APP_VERSION_MINOR 0
 !define APP_VERSION_REVISION 5
-!define APP_VERSION_BUILD 3 # Start with 1 for the installer releases of each version
+!define APP_VERSION_BUILD 4 # Start with 1 for the installer releases of each version
 
 !define APP_VERSION "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION}" # Version to display
 
index c0dd5901d0da6b4ce24499b7a3f50640f6b1902d..9eb51e199f6162b1fcc34ab6591d7c1318d16e70 100644 (file)
@@ -88,6 +88,7 @@ Section -ProgramFiles SecProgramFiles
   WriteRegStr SHCTX "SOFTWARE\ImageMagick\Current" "LibPath" "$INSTDIR\imagemagick"
   WriteRegDWORD SHCTX "SOFTWARE\ImageMagick\Current" "QuantumDepth" 0x00000010
   WriteRegStr SHCTX "SOFTWARE\ImageMagick\Current" "Version" "${ImageMagickVersion}"
+  WriteRegStr SHCTX "SOFTWARE\ImageMagick" "OnlyWithLyX" "Yes${APP_SERIES_KEY}"
   
   # Components of Ghostscript
   ${if} $GhostscriptPath == ""
index 0cf286ec072f9421785b66f278d4587bbba2e6ea..ce1d49b02cbfb7e174a5d349175a56a2ae3a8da9 100644 (file)
@@ -18,16 +18,6 @@ Section "un.LyX" un.SecUnProgramFiles
   # need them and these few files don't harm to stay in LaTeX 
     
   # Binaries
-  #!insertmacro FileListLyXBin Delete "$INSTDIR\bin\"
-  #!insertmacro FileListQtBin Delete "$INSTDIR\bin\"
-  #!insertmacro FileListDll Delete "$INSTDIR\bin\"
-  #!insertmacro FileListMSVC Delete "$INSTDIR\bin\"
-  #!insertmacro FileListNetpbmBin Delete "$INSTDIR\bin\"
-  #!insertmacro FileListDTLBin Delete "$INSTDIR\bin\"
-  #!insertmacro FileListDvipostBin Delete "$INSTDIR\bin\"
-  #!insertmacro FileListPDFToolsBin Delete "$INSTDIR\bin\"
-  #!insertmacro FileListPDFViewBin Delete "$INSTDIR\bin\"
-  #!insertmacro FileListMetaFile2EPS Delete "$INSTDIR\bin\"
   RMDir /r "$INSTDIR\bin"
 
   # Resources
@@ -36,25 +26,25 @@ Section "un.LyX" un.SecUnProgramFiles
   # Python
   RMDir /r "$INSTDIR\python"
   
-  # Components of ImageMagick
-  #!insertmacro FileListImageMagick Delete "$INSTDIR\imagemagick\"
-  #!insertmacro FileListMSVC Delete "$INSTDIR\imagemagick\"
+  # ImageMagick
   RMDir /r "$INSTDIR\imagemagick"
+  ReadRegStr $0 SHCTX "SOFTWARE\ImageMagick" "OnlyWithLyX" # test if it was installed together with this LyX version
+  ${if} $0 == "Yes${APP_SERIES_KEY}"
+   WriteRegStr SHCTX "SOFTWARE\Classes\Applications" "AutoRun" ""
+   DeleteRegKey SHCTX "Software\ImageMagick"
+  ${endif}
   
   # Components of Ghostscript
-  #!insertmacro FileListGhostscript Delete "$INSTDIR\ghostscript\"
-  #!insertmacro FileListMSVC Delete "$INSTDIR\ghostscript\"
   RMDir /r "$INSTDIR\ghostscript"
   
   # delete start menu folder
   ReadRegStr $0 SHCTX "${APP_UNINST_KEY}" "StartMenu"
   RMDir /r "$0"
-  #Delete "$SMPROGRAMS\${APP_NAME} ${APP_SERIES_NAME}.lnk"
   # delete desktop icon
   Delete "$DESKTOP\${APP_NAME} ${APP_SERIES_NAME}.lnk"
   
   # remove file extension .lyx
-  ReadRegStr $0 SHCTX "${APP_DIR_REGKEY}" "OnlyWithLyX" # special entry to test if they were registered by this LyX version
+  ReadRegStr $0 SHCTX "${APP_DIR_REGKEY}" "OnlyWithLyX" # test if they were registered by this LyX version
   ${if} $0 == "Yes${APP_SERIES_KEY}"
    ReadRegStr $R0 SHCTX "Software\Classes\${APP_EXT}" ""
    ${if} $R0 == "${APP_REGNAME_DOC}"