From: Uwe Stöhr Date: Thu, 31 May 2007 00:48:23 +0000 (+0000) Subject: update installer: update also lyx.bat file (needed for new launcher) X-Git-Tag: 1.6.10~9554 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0d2360c4a47c84fa9db98ea41c3bd996edbaba9e;p=features.git 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 --- diff --git a/development/Win32/packaging/AltInstaller/InstallActions-update.nsh b/development/Win32/packaging/AltInstaller/InstallActions-update.nsh index 4bee196bff..1f87218178 100644 --- a/development/Win32/packaging/AltInstaller/InstallActions-update.nsh +++ b/development/Win32/packaging/AltInstaller/InstallActions-update.nsh @@ -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 != ""