Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-07

Zipped binary snapshot for Windows

7 messages · 6 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Sven Barth

Hi together!

I have a question/suggestion:

Would it be possible to create zipped versions of the binary Lazarus snapshots for Windows (equally to the installer versions, but without the installer).

My reason is this: Sometimes I want to test a newer version of Lazarus maybe even with the different supported compilers. It bugs me a bit that I either need to "make" one myself (I don't have a real problem with building from source, but it takes time...) or I screw the "uninstaller registration" of my stable version by running the snapshot's installer. Thus I'd prefer a "download, unzip, test, remove" approach which is only available with a primitive installation from a Zip file.

If you know a method to uncompress the installer without executing it, I'd go that way to, if you don't want to provide zipped snapshots.

Regards,
Sven

Reply by email

bobby
to Sven Barth
Sven Barth wrote 23 lines
Hi together! I have a question/suggestion: Would it be possible to create zipped versions of the binary Lazarus snapshots for Windows (equally to the installer versions, but without the installer). My reason is this: Sometimes I want to test a newer version of Lazarus maybe even with the different supported compilers. It bugs me a bit that I either need to "make" one myself (I don't have a real problem with building from source, but it takes time...) or I screw the "uninstaller registration" of my stable version by running the snapshot's installer. Thus I'd prefer a "download, unzip, test, remove" approach which is only available with a primitive installation from a Zip file. If you know a method to uncompress the installer without executing it, I'd go that way to, if you don't want to provide zipped snapshots. Regards, Sven

+1

Reply by email

Juha Manninen
to Sven Barth: Hi together! I have a question/suggestion: Would it be possible to create zipped versions…

Sven Barth kirjoitti sunnuntai, 18. hein?kuuta 2010 15:54:01:

I either need to "make" one myself (I don't have a real problem with building from source, but it takes time...) or I screw the "uninstaller registration" of my stable version by running the snapshot's installer. ...

Building Lazarus doesn't take long unless your machine is very old. I would recommend "svn up" and then building yourself. With svn you need to download only the changes. It compensates the time needed for compile.

Juha

Reply by email

Martin
to Sven Barth: Hi together! I have a question/suggestion: Would it be possible to create zipped versions…
Sven Barth wrote 16 lines
Hi together! I have a question/suggestion: Would it be possible to create zipped versions of the binary Lazarus snapshots for Windows (equally to the installer versions, but without the installer). My reason is this: Sometimes I want to test a newer version of Lazarus maybe even with the different supported compilers. It bugs me a bit that I either need to "make" one myself (I don't have a real problem with building from source, but it takes time...) or I screw the "uninstaller registration" of my stable version by running the snapshot's installer. Thus I'd prefer a "download, unzip, test, remove" approach which is only available with a primitive installation from a Zip file.

Not all that unproblematic as it sounds....

(Afaik) The installer also set's up the initial path structure (including pathes in fpc.cfg ?). And without them nothing works.

Well it will work for you, since you already have a working setup, and since your 2nd installation, uses the fpc from your first installation (as this is what's in your setup/config files).
Note that config files are in a global location in the user's home folder.

If a new user, who hasn't Lazarus yet, would download the Zip (and some one will, because they think, it's easier to test it that way, and you can just delete it, no uninstall needed...), then it will not work.

As for your case: Never mind if you install, or unzip, or build yourself => sharing one config dir between multiply Lazarus installations calls for trouble of it's own (e.g. different packages compiled in / lcl compiled with different fpc version, ...). Use: --primary-config-path=

Martin

Reply by email

Sven Barth
to Martin
Martin wrote 22 lines
On 18/07/2010 13:54, Sven Barth wrote: > Hi together! > > I have a question/suggestion: > > Would it be possible to create zipped versions of the binary Lazarus > snapshots for Windows (equally to the installer versions, but without > the installer). > > My reason is this: Sometimes I want to test a newer version of Lazarus > maybe even with the different supported compilers. It bugs me a bit > that I either need to "make" one myself (I don't have a real problem > with building from source, but it takes time...) or I screw the > "uninstaller registration" of my stable version by running the > snapshot's installer. Thus I'd prefer a "download, unzip, test, > remove" approach which is only available with a primitive installation > from a Zip file. Not all that unproblematic as it sounds.... (Afaik) The installer also set's up the initial path structure (including pathes in fpc.cfg ?). And without them nothing works.

I forgot about that one... that makes the whole idea more costly as building it myself... -.-

Show quoted text 13 lines
Well it will work for you, since you already have a working setup, and since your 2nd installation, uses the fpc from your first installation (as this is what's in your setup/config files). Note that config files are in a global location in the user's home folder. If a new user, who hasn't Lazarus yet, would download the Zip (and some one will, because they think, it's easier to test it that way, and you can just delete it, no uninstall needed...), then it will not work. As for your case: Never mind if you install, or unzip, or build yourself => sharing one config dir between multiply Lazarus installations calls for trouble of it's own (e.g. different packages compiled in / lcl compiled with different fpc version, ...). Use: --primary-config-path=

I'm already using that option, cause I'm aware of that "shared config"-problem.

I guess I should prefer a multiversion installer as proposed here http://bugs.freepascal.org/view.php?id=15813 :) Until then I'll have to continue to build it myself...

Regards,
Sven

Reply by email

Marcos Douglas
to Sven Barth: Hi together! I have a question/suggestion: Would it be possible to create zipped versions…
Sven Barth wrote 18 lines
Hi together! I have a question/suggestion: Would it be possible to create zipped versions of the binary Lazarus snapshots for Windows (equally to the installer versions, but without the installer). My reason is this: Sometimes I want to test a newer version of Lazarus maybe even with the different supported compilers. It bugs me a bit that I either need to "make" one myself (I don't have a real problem with building from source, but it takes time...) or I screw the "uninstaller registration" of my stable version by running the snapshot's installer. Thus I'd prefer a "download, unzip, test, remove" approach which is only available with a primitive installation from a Zip file. If you know a method to uncompress the installer without executing it, I'd go that way to, if you don't want to provide zipped snapshots.

I use SVN and, some times, I copy the SVN sources to put in others machines without problems.
If you uses the SVN, you can update many versions different of FPC or Lazarus.

MD

Reply by email