update installer: update also lyx.bat file (needed for new launcher)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18586 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-05-31 00:48:23 +00:00
parent b015bf44fd
commit 0d2360c4a4

View File

@ -178,6 +178,10 @@ Function InstDirChange
StrCpy $FileName "session"
Call CheckAppPathPreferences # function from LyXUtils.nsh
# set the new path to the lyx.bat file
# following macro from TextFunc.nsh # calls Function ReplaceLineContent from LyXUtils.nsh
${LineFind} "$INSTDIR\bin\lyx.bat" "" "1:-1" "ReplaceLineContent"
# set new path to ImageMagick
ReadRegStr $ImageMagickPath SHCTX "SOFTWARE\Classes\Applications" "AutoRun"
${if} $ImageMagickPath != ""