let MiKTeX ask the user again to download packages if needed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15587 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Joost Verburg 2006-10-27 23:27:43 +00:00
parent fb67703632
commit 54623be435

View File

@ -66,6 +66,24 @@ SectionEnd
Section -LaTeX
;Let MiKTeX ask the user again to download packages if needed
;MiKTeX 2.5
ReadRegStr $R0 HKCU "Software\MiKTeX.org\MiKTeX\2.5\MPM" "AutoInstall"
${if} $R0 == 0
WriteRegStr HKCU "Software\MiKTeX.org\MiKTeX\2.5\MPM" "AutoInstall" 2
${endif}
;MiKTeX 2.4
ReadRegStr $R0 HKCU "Software\MiK\MiKTeX\CurrentVersion\MiKTeX" "InstallPackagesOnTheFly"
${if} $R0 == 0
WriteRegStr HKCU "Software\MiK\MiKTeX\CurrentVersion\MiKTeX" "InstallPackagesOnTheFly" 2
${endif}
;dvipost package
Call SearchLaTeXLocalRoot