installer: - updated to Python 2.6

- fix 2 bugs
           - remove unneeded file

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27194 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-10-30 01:20:48 +00:00
parent 06430c563d
commit 98fb020e21
5 changed files with 22 additions and 88 deletions

View File

@ -15,7 +15,12 @@ Function InstallAspell
# 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}"

View File

@ -1,4 +1,13 @@
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)

View File

@ -120,18 +120,10 @@ Function ConfigureLyX
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

View File

@ -85,9 +85,12 @@ Function MissingPrograms
${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"

View File

@ -1,75 +0,0 @@
# 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 ##########################
#