installer:

- use MiKTeX's update program in admin mode if user is admin
- update to Python 2.6.6

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35581 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-10-09 15:39:52 +00:00
parent 14b4d92df6
commit 9ae345346d
2 changed files with 6 additions and 1 deletions

View File

@ -2,6 +2,7 @@
- LyX 1.6.8
- updated to eLyXer 1.0.2
- updated to ImageMagick 6.6.x-y
- updated to Python 2.6.6
Version 4.25

View File

@ -180,7 +180,11 @@ Function ConfigureMiKTeX
File /r "${DVIPostFileDir}"
# refresh MiKTeX's file name database
ExecWait "$LaTeXPath\initexmf --update-fndb"
${if} $MiKTeXUser != "HKCU" # call the admin version when the user is admin
ExecWait "$LaTeXPath\initexmf --admin --update-fndb"
${else}
ExecWait "$LaTeXPath\initexmf --update-fndb"
${endif}
# enable package installation without asking (1 = Yes, 0 = No, 2 = Ask me first)
WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "AutoInstall" "1" # if only for current user