many uncorrect filepaths in the automatically written files on installin Lazarus-FPC-Snapshots (FPC 2.4.2)
Original Reporter info from Mantis: br_Klaus
-
Reporter name:
Original Reporter info from Mantis: br_Klaus
- Reporter name:
Description:
When installing automatically Lazarus-Snapshots, there are always the same files that have "wrong" indications in it (wrong File path or wrong version).
Perhaps this could be corrected in newer editions.
(used snapshot: Lazarus-0.9.31-29088-fpc-2.4.2-20110118-win32.exe )
I found these files (mainly in the \examples-folder):
\doceditor\fpcdocupdater:
mainunit.lfm --> D:\Projects\lazarus\...
mainunit.pas --> E:\lazarus.. and E:\lazarus\fpc\2.2.1\..
\examples\codepageconverter\
mainunit.lfm ---> i:\FPC\Lazarus\examples...
\examples\database\dblookup
project1.lpi --> \fpc\2.2.3 and \fpc\2.2.5
\examples\dbeditmask\
unit1.lfm --> D:\repositories\examples...
C:\LazarusProjects\DBLookupTest\data\
some indications of paths seem to come from the program authors:
\components\lazreport\samples\barcode\cbunit.lfm
object Dbf1: TDbf
FilePath = 'C:\Documents and Settings\javiVF\Escritorio\lazarus\Proyectos\cb\db\/\'
IndexDefs = <>
TableName = 'disco.dbf'
TableLevel = 3
end
\components\jcf2\IdePlugin\lazarus\jcfidelazarus.lpk
<IncludeFiles Value="..\..\Include\;C:\programming\lazarus\components\jcf2\Ui\Settings\"/>
\components\jcf2\CommandLine\jcf.dof
RunParams=-config=C:\Code\CodeFormat\Jcf2\Test\TestCases
\JCFTestSettings.cfg -out -F C:\Code\CodeFormat\Jcf2\Test\TestCas\EmptyTest1.pas
similarly in \ == \D11\jcf.bdsproj und ==\D12\jcf.bdsproj
\components\jcf2\Contributions\StyleEditor\JCFStyle.cfg
-LE"C:\Documents and Settings\Anthony\My Documents\Borland Studio Projects\Bpl"
-LN"C:\Documents and Settings\Anthony\My Documents\Borland Studio Projects\Bpl"
\components\jcf2\JcfGui\D11\fcfGui.bdsproj and ...\D12\....
<Language Name="RootDir">C:\Code\JcfCheckout\CodeFormat\Jcf2\CommandLine\</Language>
similarly in ...\D11\JcFNotePad.bdsproj and ...\D12\...
\debugger\test\Gdbmi\TestGdbmi.lpi
<Filename Value="C:\FPC\SVN\trunc\.... (many times)
\doceditor\fpcdocupdater\mainunit.lfm
FileName = 'c:\fpcbeta\bin\i386-win32\makeskel'
\docs\html\build_html.bat
PATH=C:\Programas\lazarus22\fpc\2.2.0\bin\i386-win32
wouldn't it be possible to fix these paths automatically when installing
\examples\affinetransforms\project1.lpi
C:\fpc\2.2.4\source\rtl\objpas\types.pp"/>
C:\lazarusSVN\... (many times)
\examples\dockmanager\toolbar\test1.lpi
<DestinationDirectory Value="D:\SourceForge\lazarus\examples\dockmanager\toolbar"/>
\examples\postscript\usamplepostscriptcanvas.pas
C:\Program Files\Ghostgum\gsview\gsview32
\examples\SynEdit\Completion\SynCompletionSample.lpi
C:\FPC\SVN\trunc... (many times)
...\bin\i386-win32\cygwin1.dll
C:\CYGWIN_SYSLOG.TXT
,,\source\packages\ptc\docs\INSTALL
set FPCDIR=c:\fpc\2.0.0
this seems to be o very old file. Is it still up to date?
..\source\rtl\palmos\m68k\prto.pas
c:\FPC\FIXES\RTL\PALMOS\CRT..... (many times)
\mingw\bin\libexpat-1.dll
C:\MinGW\src\gccbf\mingw32\libgc...
\test\testlpi.pas
ScriptEngine := 'C:\Program Files\AutoHotkey\AutoHotKey.exe';
bhook'
If the Unins000.dat already exists (with earlier version), it is not overwritten! (so you can no more uninstall, because of wrong paths)
When starting Lazarus, the program uses still the options (file paths with older version) of the prior version.
I have to correct this manually.