r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL2 Releases] Discuss 2.x releases

Graham
29-Dec-2009
[622x2]
The R2/forwards stuff is all tested ??
can you post a release so we can test it if not?
BrianH
29-Dec-2009
[624]
Yes, and the most recent release is already in R3 chat. The installer 
can be fixed in an evening at most.
Graham
29-Dec-2009
[625]
for those of us not in R3 chat ...
BrianH
29-Dec-2009
[626]
...you'll be left out of 2.7.8 development. Get in there.
Pekr
29-Dec-2009
[627]
As for installer, me, as a fan of copy&run principle, I would like 
simple option as Altme client has - on first screen, please allow 
"run from current location", and never ask again ...
Graham
29-Dec-2009
[628]
Pekr, that won't work with windows 7
Pekr
29-Dec-2009
[629x2]
... I expect that when you lauch .exe on system where REBOL is not 
yet installed, the installation process will run, right?
no?
BrianH
29-Dec-2009
[631]
That is the portable app method, which can't set file associations.
Graham
29-Dec-2009
[632]
Nope ...
Pekr
29-Dec-2009
[633]
Hmm, installers, default dirs, etc., that's kind of deep topic :-)
BrianH
29-Dec-2009
[634]
Which I've already thought through. I've written installers for R2 
before and other apps.
Graham
29-Dec-2009
[635]
To get altme to run from the my c:\altme directory, I either have 
to run as admin, or, I have to write enable myself on the directory
BrianH
29-Dec-2009
[636x2]
Right. That's why portable apps are usually run from USB keys with 
FAT filesystems.
In the long run I would prefer to make the installer configurable 
and encappable, but for now a View-specific one will do.
Graham
29-Dec-2009
[638]
So, rebol has to go to <program files>\rebol ?  And it has to write 
in user documents somewhere?
Pekr
29-Dec-2009
[639]
Graham - exactly .... but - I hate that model ...
Graham
29-Dec-2009
[640]
and when you start a rebol console .. you end up deep in user documents 
somewhere ...
Pekr
29-Dec-2009
[641]
there might be even 3 paths - rebol app (program files), rebol cache 
(user profile .... bla bla \roaming\rebol), rebol data user profile\documents\rebol 
...
BrianH
29-Dec-2009
[642]
Pekr, it's required for secure multi-user use on Windows. Hating 
it won't change that. No flame wars please - we don't have the time.
Pekr
29-Dec-2009
[643]
most of the time, I can guarantee you, that users feel lost, once 
they are supposed to navigate to their docs in file-manager ...
BrianH
29-Dec-2009
[644]
File placement is easy, and mostly handled by 2.6.3 - the real trick 
is registry usage.
Pekr
29-Dec-2009
[645]
BrianH - I am fine with whatever crap windows require. I have my 
most needed stuff on C:, in !mp3, !REBOL, !Foto etc. dirs. I run 
as an admin, so I don't care ...
Graham
29-Dec-2009
[646]
So, if a program that is being installed needs Rebol ... where should 
it look?
BrianH
29-Dec-2009
[647]
Right. File placement is a matter of chosing the default folders 
of the installer, as it does now. You can change those choices.
Graham
29-Dec-2009
[648]
Python seems to install to c:\python2n\
BrianH
29-Dec-2009
[649]
As in almost all cases, Python is a bad example.
Pekr
29-Dec-2009
[650]
BrianH: so where can users (not admin) safely put his rebol scripts, 
so that rebol executalbe can write and read from such a directory? 
We can't do it in program files, but can we do in somewhere on C:\REBOL?
BrianH
29-Dec-2009
[651]
The trick is registry usage. The folder locations can be looked up 
in the registry.at runtime, as long as those registry settings are 
in the right location of the registry. I'll have those exact locations 
Tuesday evening.
Pekr
29-Dec-2009
[652]
... or only user profile dirs is the right placement?
Graham
29-Dec-2009
[653x2]
c:\rebol is out ... unless you write enable
d:\rebol is fine though :)
BrianH
29-Dec-2009
[655x2]
Pekr, it's not abot where the user can pt their user scripts, it's 
about the desktop files and such. File associations manage the user 
script issue.
User scripts can go wherever you like.
Graham
29-Dec-2009
[657x2]
will the installer be written in rebol?
Or, will you use a standard installer script ?
BrianH
29-Dec-2009
[659x2]
It is already.
It's in the SDK source.
Graham
29-Dec-2009
[661x2]
And how then will it cope with Windows 64?
32 bit programs can't write to the windows 64 bit registry
Pekr
29-Dec-2009
[663]
BrianH - but when user script is run, REBOL changes current dir to 
that of the script placement, no? And the script might require to 
create some file at that destination. I know that temp files will 
go to some deep cache dir, but what if script wants to write to the 
dir of the script placement?
BrianH
29-Dec-2009
[664x3]
It will go in the WOW64 "Program Files (x86)" directory.
Pekr, that is a runtime issue, not affected by the installer at all.
For R2, all that matters for install is the View desktop and file 
associations.
Graham
29-Dec-2009
[667]
If you have the installer all sorted out .. we should move on to 
something else!
Pekr
29-Dec-2009
[668]
yes, we should all move onto R3 :-)
Janko
29-Dec-2009
[669]
I can only SAY WOOOW on this release, I am still a strong R2 user 
and this is much more than appreciated!
BrianH
29-Dec-2009
[670]
Yup Graham. For me that should be a little sleep - I have to wake 
up again in 2 hours to go to a customer site. Pekr, stay on topic 
:)
Janko
29-Dec-2009
[671]
Graham: thanks a lot for gmail related code, this was big hinge in 
some stuff I was planning