# this assures that every user can have its own word list
StrCpy $AppSubfolder "Aspell"
StrCpy $AppFiles "$APPDATA\Aspell\Personal"
- Call CreateAppPathSub # function from LyXUtils.nsh
+ ${if} $ProductRootKey == "HKLM" # if install for all users
+ Call CreateAppPathSub # function from LyXUtils.nsh
+ ${else}
+ CreateDirectory "$APPDATA\$AppSubfolder"
+ CopyFiles "$AppFiles" "$APPDATA\$AppSubfolder"
+ ${endif}
WriteRegStr HKLM "SOFTWARE\Aspell" "Base Path" "${AspellDir}"
WriteRegStr HKLM "SOFTWARE\Aspell" "Dictionary Path" "${AspellDictPath}"
-Version 4.10
+Version 4.11
+- LyX 1.6rc5
+ (list of current regressions: http://tinyurl.com/yu4the )
+ (list of current crashes and critical bugs: http://tinyurl.com/653prg)
+- fix bug that the installer ignored for some cases when LyX should only
+ installed for the current user
+- updated to Python 2.6
+
+
+Version 4.10
- LyX 1.6rc4
(list of current regressions: http://tinyurl.com/yu4the )
(list of current crashes and critical bugs: http://tinyurl.com/653prg)
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) (${SHCNE_ASSOCCHANGED}, ${SHCNF_IDLIST}, 0, 0)'
${endif}
- # create the LyX Application Data folder for all users
- # this folder is automatically created by LyX when it is first started but we want to start LyX with a specific session file,
- # so we create this folder before LyX starts and copy there the session file
- StrCpy $AppSubfolder ${PRODUCT_SUBFOLDER}
- StrCpy $AppFiles "$INSTDIR\Resources\session"
- Call CreateAppPathSub # function from LyXUtils.nsh
- Delete "$INSTDIR\Resources\session" # delete the session file in the INSTDIR because it is unneeded there
-
# delete unnecessary files
${if} $DelPythonFiles == "True"
Delete $INSTDIR\bin\python.exe
- Delete $INSTDIR\bin\python25.dll
+ Delete $INSTDIR\bin\python26.dll
Delete $INSTDIR\bin\Python-License.txt
RMDir /r $INSTDIR\bin\Lib
RMDir /r $INSTDIR\bin\DLLs
${endif}
# test if Python is installed
- # only use an existing python when it is version 2.5 because many Compaq and Dell PC are delivered
- # with outdated Python interpreters
+ # only use an existing python when it is version 2.5 or newer because some
+ # Compaq and Dell PCs were delivered with outdated Python interpreters
ReadRegStr $PythonPath HKLM "Software\Python\PythonCore\2.5\InstallPath" ""
+ ${if} $PythonPath == ""
+ ReadRegStr $PythonPath HKLM "Software\Python\PythonCore\2.6\InstallPath" ""
+ ${endif}
${if} $PythonPath != ""
StrCpy $PythonPath $PythonPath -1 # remove the "\" at the end
StrCpy $DelPythonFiles "True"
+++ /dev/null
-# This file is written by LyX, if you want to make your own
-# modifications you should do them from inside LyX and save
-
-
-#
-# MISC SECTION ######################################
-#
-
-\preview_scale_factor 1.0
-
-#
-# SCREEN & FONTS SECTION ############################
-#
-
-\screen_zoom 120
-
-#
-# COLOR SECTION ###################################
-#
-
-
-#
-# PRINTER SECTION ###################################
-#
-
-
-#
-# EXPORT SECTION ####################################
-#
-
-
-#
-# TEX SECTION #######################################
-#
-
-
-#
-# FILE SECTION ######################################
-#
-
-
-#
-# PLAIN TEXT EXPORT SECTION ##############################
-#
-
-
-#
-# SPELLCHECKER SECTION ##############################
-#
-
-
-#
-# LANGUAGE SUPPORT SECTION ##########################
-#
-
-
-#
-# 2nd MISC SUPPORT SECTION ##########################
-#
-
-
-#
-# FORMATS SECTION ##########################
-#
-
-
-#
-# CONVERTERS SECTION ##########################
-#
-
-
-#
-# COPIERS SECTION ##########################
-#
-