From 0d2360c4a47c84fa9db98ea41c3bd996edbaba9e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Thu, 31 May 2007 00:48:23 +0000 Subject: [PATCH] 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 --- .../Win32/packaging/AltInstaller/InstallActions-update.nsh | 4 ++++ 1 file changed, 4 insertions(+) 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 != "" -- 2.39.5