Recent

Author Topic: Lazarus Install Question  (Read 312 times)

440bx

  • Hero Member
  • *****
  • Posts: 5294
Lazarus Install Question
« on: April 28, 2025, 11:46:41 am »
Hello,

When specifying "Create a new secondary installation", when the Lazarus installer prompts the user to "Select configuration folder" (field "Folder for config"), is it ok to give it the same folder where Lazarus will be installed  ?

For instance, if I specify "d:\v4.0rc3" as the "Select Destination Location" folder, is it ok to specify the same folder "d:\v4.0rc3" as the "Folder for config" ?

If yes, are there any potential problems from selecting the same folder ?

Thank you for your help.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v4.0rc3) on Windows 7 SP1 64bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11164
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Install Question
« Reply #1 on: April 28, 2025, 12:57:13 pm »
I am not sure. It may..

I usually create a conf inside. E.g. install d:\laz and config in d:\laz\conf

--
You may get slight different behaviour on primary start... or not.

The installer puts a environmentoptions.xml (and maybe others) in the install path. The install path is the secondary conf path. If the primary conf path (the one you specified) is empty, then files are copied from the secondary.
- empty => afaik checked separately for each conf file, if it exists

If they are the same, the conf path would not be empty, the templates would be found and used as they are.

I don't know if otherwise the templates would get any preparation treatment. They may not, anyway.

440bx

  • Hero Member
  • *****
  • Posts: 5294
Re: Lazarus Install Question
« Reply #2 on: April 28, 2025, 04:28:40 pm »
I am not sure. It may..

I usually create a conf inside. E.g. install d:\laz and config in d:\laz\conf
Fair enough.  I'll do as you do, specify an empty folder inside the installation folder.

Thank you Martin.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v4.0rc3) on Windows 7 SP1 64bit.

 

TinyPortal © 2005-2018