Recent

Author Topic: Is there a non-installation version of Lazarus?  (Read 8729 times)

Goodman H__

  • Full Member
  • ***
  • Posts: 130
Is there a non-installation version of Lazarus?
« on: July 06, 2010, 10:19:29 am »
System:winxp/win 7.

For some reason ,I can not install software on my pc,so is there a non-installation version of lazarus,zip file or something like?Or What extra files should I copy /what extra configuration should I do to copy an installed lazarus from one pc to another pc?

It would be grateful if anybody can help.

Sam
fpc:2.6.1 Lazarus:1.1 SVN39277
OS:win 7

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1930
Re: Is there a non-installation version of Lazarus?
« Reply #1 on: July 06, 2010, 11:23:09 am »
Or What extra files should I copy /what extra configuration should I do to copy an installed lazarus from one pc to another pc?

Just try it. I think if the drive letters are the same, it should work to just copy the lazarus folder.
Not 100% sure though.

Goodman H__

  • Full Member
  • ***
  • Posts: 130
Re: Is there a non-installation version of Lazarus?
« Reply #2 on: July 06, 2010, 11:55:17 am »
Or What extra files should I copy /what extra configuration should I do to copy an installed lazarus from one pc to another pc?

Just try it. I think if the drive letters are the same, it should work to just copy the lazarus folder.
Not 100% sure though.

Thanks.I have tried before open this post.But it does not work properly.
First I copied Qt4pas5.dll form c:/windows/system32 to lazarus root folder and then start copy to another machine.

In another machine,Laz can startup as normal,when building a new test application,it failed with the failaure to find Contnrs unit.But it was there since I have configured the fpc source directory and compiler path and make path unde Environment->Options.

Now I have no clue what's wrong with it.
fpc:2.6.1 Lazarus:1.1 SVN39277
OS:win 7

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1930
Re: Is there a non-installation version of Lazarus?
« Reply #3 on: July 06, 2010, 12:36:08 pm »
So you didn't copy from:
C:\lazarus to C:\lazarus but something like
C:\lazarus to C:\whatever\lazarus ?

Maybe you should have a look at the file fpc.cfg then

bonmario

  • Sr. Member
  • ****
  • Posts: 346
Re: Is there a non-installation version of Lazarus?
« Reply #4 on: July 06, 2010, 01:24:47 pm »
Here you can found a portable version: http://www.winpenpack.com/en/download.php?view.727

LazaruX

  • Hero Member
  • *****
  • Posts: 597
  • Lazarus original cheetah.The cheetah doesn't cheat

Leledumbo

  • Hero Member
  • *****
  • Posts: 8776
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Is there a non-installation version of Lazarus?
« Reply #6 on: July 06, 2010, 01:30:07 pm »
I also have built one, but it's not really perfect. I'll try winpenpack version.

eny

  • Hero Member
  • *****
  • Posts: 1646
Re: Is there a non-installation version of Lazarus?
« Reply #7 on: July 06, 2010, 04:18:26 pm »
Same 'problem' here.
Just make it easy for yourself:
- install Lazarus on another PC (or virtual PC for that matter) in exactly the same directory as you want to use it on the target machine;
- zip the installed directory;
- unzip on the target machine with the same folder structure.

Works like a charm! (I don't use QT so maybe you should copy that file manually.)
Minor problem: if you reinstall a new Lazarus version, you need to reinstall/rebuild the packages.

On a side note: the QT lib is installed in c:\windows\system32 which is a serious bug in Lazarus. This is something that should have been fixed a long time ago.
All posts based on: Win10 (Win64); Lazarus 3_4  (x64) 25-05-2024 (unless specified otherwise...)

Goodman H__

  • Full Member
  • ***
  • Posts: 130
Re: Is there a non-installation version of Lazarus?
« Reply #8 on: July 07, 2010, 02:49:06 am »
So you didn't copy from:
C:\lazarus to C:\lazarus but something like
C:\lazarus to C:\whatever\lazarus ?

Maybe you should have a look at the file fpc.cfg then

Yes,exactly.I tried again with same folder structure,it works now.

Thank you all for all your help!


BTW,then is anybody here would like to do me a favour ,just to share your copy of lazarus which can use sqlite3 without problem.I have tried handreds of time to install-uninstall-download another copy of laz and install again but never can use sqlite3 with laz.Three main problems found on different versions/installations under winxp:

1.can not save new records even I have below code followed by the reply of one of my post in the forum regarding laz can not write back new record to sqlite3 db.
Code: [Select]

//under dbgrid click evet:
if button=nbpost then SQLQuery.applyupdate;

//or apply below in a button and let it do the save record job:
SQLQuery.ApplyUpdates;

SQLTransaction.CommitRetaining;


There is no problem with my sqlite3.dll since I use it everywhere with my c++.

or 2.DataGrid can not hold the value you typed,when the focus leaves any of the columns,the value hold in this column disappears.
or 3.When edit 'SQL (TstringList)' in a sqlquery control,after I wrote "select * from mydb;" and press the green left-arrow button,it says "no such table: mytable",of course mydb is right there and under some installation this problem disappears,but under some installation,it appears again.

« Last Edit: July 07, 2010, 03:30:00 am by Goodman H__ »
fpc:2.6.1 Lazarus:1.1 SVN39277
OS:win 7

 

TinyPortal © 2005-2018