[Lazarus] Installing lazarus on Windows, horror story goes on

Martin lazarus at mfriebe.de
Thu Jul 29 15:51:27 CEST 2010


On 29/07/2010 14:26, Juha Manninen wrote:
> Ok,
> we had a Skype phone+chat session with my friend again trying to 
> install Lazarus, this time on a Windows XP laptop. I thought it must 
> be an easy task and we are done quickly. I was wrong again!
>
> He managed to install Lazarus by himself. So yes, it is easy to 
> install but read on...  First he made a directory for my program under 
> C:\. Then he opened the project with Lazarus. Everything looked good. 
> Then he clicked "Run" button --> "cannot write to directory lib" ... 
> or something. Apparently he did't have enough rights for the folder. 
> But now, why was he able to create the folder through "My Computer" if 
> he has no rights for it? I just don't know Windows enough to 
> understand it.
....
>  I admit that the installation is easy but the result was a broken 
> system so it doesn't help much.

So it isn't about the installer => it is about the space-in-path problem 
(which caused the permission issue, because he couldn't use the "normal" 
location , in his user directory/

Anyway let me start a bit different => I first used Lazarus maybe 2 or 3 
years back => never encountered any of those issues (but I do today know 
they exist, and I do not deny them).

But why is that I didn't encounter them?

- Well first of all: Long before I ever heard of Lazarus, I started to 
use windows only as Admin user. Because when ever I tried otherwise It 
wouldn't be a week, until I run into some issue, that was cause by not 
being admin.
In a corporate environment, where you use no more than 3 or 4 fixed 
applications, and where the company admin comes by every no and then, 
logs in as admin, and updates your system => you the user can work as user.
At home, where I must admin my system myself => that just doesn't cut it.
  -2nd since it is a single user system, I always create my c:\data 
folder and thats where I work. It's too long back, I don't know when and 
why I stopped using the user dir.

So yes, I am not your average user, but windows got me there, long 
before I knew Lazarus. So I cant blame Lazarus for the problems I have 
with windows...


Anyway, as I said the problem is caused by the space-in-path issue, 
solve this, then we can use C:program files./lazarus (even with the 
current installer), and then the problem is gone.

I remember there wher mail-threads about that, and why it wasn't that 
easy, and all that => but it's to long back, I don't know the details 
anymore.

Repeating your quote:
>  I admit that the installation is easy but the result was a broken 
> system so it doesn't help much.
How to you fix this with a different installer, that creates the same 
broken result?

Martin





More information about the Lazarus mailing list