install dvipost package after LaTeX setup

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15135 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Joost Verburg 2006-09-22 23:34:08 +00:00
parent 91486fdfee
commit e8b1501de7
3 changed files with 21 additions and 16 deletions

View File

@ -62,6 +62,26 @@ Section -InstallData
SectionEnd
Section -LaTeX
;dvipost package
Call SearchLaTeXLocalRoot
Pop $R0
${if} $R0 != ""
SetOutPath "$R0\tex\latex\dvipost"
File "${FILES_DVIPOST_PKG}\dvipost.sty"
${endif}
;Update file name database
${if} $PathLaTeX != ""
nsExec::Exec '"$PathLaTeX\initexmf.exe" --update-fndb'
${endif}
SectionEnd
Section -Configure
;Remove old configuration files

View File

@ -90,21 +90,5 @@ Section -Core SecCore
SetOutPath "$INSTDIR\aiksaurus"
!insertmacro FileListAiksaurusData File "${FILES_AIKSAURUS}\"
;dvipost package
Call SearchLaTeXLocalRoot
Pop $R0
${if} $R0 != ""
SetOutPath "$R0\tex\latex\dvipost"
File "${FILES_DVIPOST_PKG}\dvipost.sty"
${endif}
;Update file name database
${if} $PathLaTeX != ""
nsExec::Exec '"$PathLaTeX\initexmf.exe" --update-fndb'
${endif}
SectionEnd

View File

@ -41,6 +41,7 @@ ReserveFile "dialogs\external.ini"
ReserveFile "dialogs\viewer.ini"
ReserveFile "dialogs\langselect.ini"
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
ReserveFile "${FILES_DVIPOST_PKG}\dvipost.sty"
;--------------------------------
;Variables