[REBOL] Re: Windows registry keys

2002-08-19 Thread RebOldes

Hello Anton,

Thursday, August 15, 2002, 7:37:11 PM, you wrote:

A> I am looking into the windows registry

A> I wonder if other people have exactly the same
A> long path element as in below:

A> HKEY_USERS\S-1-5-21-1614895754-688789844-1060284298-1000\Software\Rebol

A> Are the numbers exactly the same?

A> I am interested in making a silent install for rebol.

A> Anton.

No... and I think that has nothing to do with Rebol... I understand
that it's a way how M$ names users on your machine (only in
NTs/W2000/XP?) ->  imagine you have two accounts on your PC one has
Rebol installed and the second not... for security reasons you may
not see in registry for example:
HKEY_USERS\David\Software\Rebol
:-)

-- 
>>do [send to-email join 'oliva [EMAIL PROTECTED] "BESsssT REgArrrD, RebOldes"]

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.




[REBOL] Re: Windows registry keys

2002-08-17 Thread Anton

Thanks chaz, that is good to know.

Anton.

> The number is Profile Guid, unique for each user in the world.
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/s
> ysinfo/sys
> info_1691.asp

> > I am looking into the windows registry
> >
> > I wonder if other people have exactly the same
> > long path element as in below:
> >
> > HKEY_USERS\S-1-5-21-1614895754-688789844-1060284298-1000\Software\Rebol
> >
> > Are the numbers exactly the same?
> >
> > I am interested in making a silent install for rebol.
> >
> > Anton.

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.




[REBOL] Re: Windows registry keys

2002-08-16 Thread chaz

The number is Profile Guid, unique for each user in the world.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/sys
info_1691.asp



- Original Message -
From: "Anton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 15, 2002 10:37 AM
Subject: [REBOL] Windows registry keys


> I am looking into the windows registry
>
> I wonder if other people have exactly the same
> long path element as in below:
>
> HKEY_USERS\S-1-5-21-1614895754-688789844-1060284298-1000\Software\Rebol
>
> Are the numbers exactly the same?
>
> I am interested in making a silent install for rebol.
>
> Anton.
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.




[REBOL] Re: Windows registry keys

2002-08-16 Thread Paul Tretter

On NT based platforms, I believe its part of user security and matches the
number with information authenticated by the users to the correct registry
key values.

Paul Tretter

- Original Message -
From: "Brian Hawley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 16, 2002 3:36 AM
Subject: [REBOL] Re: Windows registry keys


> At 03:37 AM 8/16/02 +1000, you wrote:
> >I am looking into the windows registry
> >
> >I wonder if other people have exactly the same
> >long path element as in below:
> >
> >HKEY_USERS\S-1-5-21-1614895754-688789844-1060284298-1000\Software\Rebol
> >
> >Are the numbers exactly the same?
>
> That key is a user-specific key on WinNT or above. On those
> Windows you (when you have administrator access) can see the
> registry settings of all of the users installed on the your
> system. They are accessed through coded IDs under HKEY_USERS.
> One of those branches is ".DEFAULT", a placeholder for the
> settings that new users are created with. HKEY_CURRENT_USER
> is a shortcut for the branch associated with the user that
> is currently using the registry.
>
> >I am interested in making a silent install for rebol.
>
> Well, I for one would be very happy to see it. The current
> installer for REBOL/View is quite unfriendly to multi-user
> versions of Windows. That means every version in the NT
> line, including 2000 and XP in particular. This becomes more
> of a disadvantage with 2000 and XP. Fortunately the problem
> is easy to fix.
>
> A REBOL/View installation on Windows is currently single-
> user, since it stores all of its data files in the same
> directory as its program file. Since REBOL is generally
> installed in a central location, this means that security
> settings get in the way of using it. To run REBOL on Win2k
> you need to be a "Power User", on XP an Administrator. Any
> other setup can be a major security issue. This is also a
> factor in installing REBOL on Terminal Server or other true
> multi-user versions of Windows, like any version of XP. I'm
> afraid this is what they mean by "logo-compliance".
>
> REBOL doesn't need to be installed that way, though. The
> program file is so small that you can give one to each user,
> as long as you put it under the user's profile directory.
>
> Fortunately that isn't as difficult as it sounds. Once
> REBOL thinks it is installed the program file you are
> actually running doesn't have to be in the same directory
> as the data. As long as the data directory listed in
>HKEY_CURRENT_USER\Software\Rebol\View:HOME
> actually exists, REBOL will pop up the user settings
> dialog and download all of its data files there (yes,
> including a copy of rebol.exe that can go unused). Watch
> out though: If the data directory doesn't exist before
> REBOL tries to save the user preferences, REBOL will crash.
> I have notified Feedback of this.
>
> So a multi-user-clean install of REBOL would go like this:
>
> - Copy rebol.exe into a central location like
>  C:\Program Files\REBOL
>You can get the actual Program Files directory from
>  HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion
>in the "ProgramFilesDir" value. Create the REBOL dir if needed.
>
> - If you want file associations, you can create them like this:
>- Create HKEY_CLASSES_ROOT\.r
>  - Under this set the default value to "REBOL.Script" (without
>the quotes), and the "Content Type" (without the quotes)
>value to "text/x-rebol" (without the quotes).
>- Create HKEY_CLASSES_ROOT\.r\ShellNew
>  - Under this set the NullFile value to the empty string.
>- Create HKEY_CLASSES_ROOT\REBOL.Script
>  - Under this set the default value to "REBOL Script" (without
>the quotes), and the EditFlags value to a REG_BINARY of 0.
>- Create HKEY_CLASSES_ROOT\REBOL.Script\DefaultIcon
>  - Under this set the default value to the full path of the
>program file where you copied it earlier, with ",0" appended
>like this: C:\Program Files\REBOL\rebol.exe,0
>- Create HKEY_CLASSES_ROOT\REBOL.Script\shell
>  - Set its default value to View
>- Create HKEY_CLASSES_ROOT\REBOL.Script\shell\Edit
>  - Set its default value to &Edit
>- Create HKEY_CLASSES_ROOT\REBOL.Script\shell\Edit\command
>  - Set its default value to Notepad or some such, like this:
>  C:\WINNT\system32\NOTEPAD.EXE %1
>You should use the txtfile association if you can.
>- Create HKEY_CLASSES_ROOT\REBOL.Script\shell\Open
>  - Set its default valu

[REBOL] Re: Windows registry keys

2002-08-16 Thread Brian Hawley

At 03:37 AM 8/16/02 +1000, you wrote:
>I am looking into the windows registry
>
>I wonder if other people have exactly the same
>long path element as in below:
>
>HKEY_USERS\S-1-5-21-1614895754-688789844-1060284298-1000\Software\Rebol
>
>Are the numbers exactly the same?

That key is a user-specific key on WinNT or above. On those
Windows you (when you have administrator access) can see the
registry settings of all of the users installed on the your
system. They are accessed through coded IDs under HKEY_USERS.
One of those branches is ".DEFAULT", a placeholder for the
settings that new users are created with. HKEY_CURRENT_USER
is a shortcut for the branch associated with the user that
is currently using the registry.

>I am interested in making a silent install for rebol.

Well, I for one would be very happy to see it. The current
installer for REBOL/View is quite unfriendly to multi-user
versions of Windows. That means every version in the NT
line, including 2000 and XP in particular. This becomes more
of a disadvantage with 2000 and XP. Fortunately the problem
is easy to fix.

A REBOL/View installation on Windows is currently single-
user, since it stores all of its data files in the same
directory as its program file. Since REBOL is generally
installed in a central location, this means that security
settings get in the way of using it. To run REBOL on Win2k
you need to be a "Power User", on XP an Administrator. Any
other setup can be a major security issue. This is also a
factor in installing REBOL on Terminal Server or other true
multi-user versions of Windows, like any version of XP. I'm
afraid this is what they mean by "logo-compliance".

REBOL doesn't need to be installed that way, though. The
program file is so small that you can give one to each user,
as long as you put it under the user's profile directory.

Fortunately that isn't as difficult as it sounds. Once
REBOL thinks it is installed the program file you are
actually running doesn't have to be in the same directory
as the data. As long as the data directory listed in
   HKEY_CURRENT_USER\Software\Rebol\View:HOME
actually exists, REBOL will pop up the user settings
dialog and download all of its data files there (yes,
including a copy of rebol.exe that can go unused). Watch
out though: If the data directory doesn't exist before
REBOL tries to save the user preferences, REBOL will crash.
I have notified Feedback of this.

So a multi-user-clean install of REBOL would go like this:

- Copy rebol.exe into a central location like
 C:\Program Files\REBOL
   You can get the actual Program Files directory from
 HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion
   in the "ProgramFilesDir" value. Create the REBOL dir if needed.

- If you want file associations, you can create them like this:
   - Create HKEY_CLASSES_ROOT\.r
 - Under this set the default value to "REBOL.Script" (without
   the quotes), and the "Content Type" (without the quotes)
   value to "text/x-rebol" (without the quotes).
   - Create HKEY_CLASSES_ROOT\.r\ShellNew
 - Under this set the NullFile value to the empty string.
   - Create HKEY_CLASSES_ROOT\REBOL.Script
 - Under this set the default value to "REBOL Script" (without
   the quotes), and the EditFlags value to a REG_BINARY of 0.
   - Create HKEY_CLASSES_ROOT\REBOL.Script\DefaultIcon
 - Under this set the default value to the full path of the
   program file where you copied it earlier, with ",0" appended
   like this: C:\Program Files\REBOL\rebol.exe,0
   - Create HKEY_CLASSES_ROOT\REBOL.Script\shell
 - Set its default value to View
   - Create HKEY_CLASSES_ROOT\REBOL.Script\shell\Edit
 - Set its default value to &Edit
   - Create HKEY_CLASSES_ROOT\REBOL.Script\shell\Edit\command
 - Set its default value to Notepad or some such, like this:
 C:\WINNT\system32\NOTEPAD.EXE %1
   You should use the txtfile association if you can.
   - Create HKEY_CLASSES_ROOT\REBOL.Script\shell\Open
 - Set its default value to &Open
   - Create HKEY_CLASSES_ROOT\REBOL.Script\shell\Open\command
 - Set its default value to the same command as Edit.
   - Create HKEY_CLASSES_ROOT\REBOL.Script\shell\View
 - Set its default value to &View
   - Create HKEY_CLASSES_ROOT\REBOL.Script\shell\View\command
 - Set its default value to the command to open a file, like:
 "C:\Program Files\REBOL\rebol.exe" -q "%1"
   with the quotes this time.

- Now for the user-specific settings, for every user, including
   the default. First do HKEY_CURRENT_USER then each user under
   HKEY_USERS. Win9x doesn't keep the user settings in keys like
   the one you mentioned above, just ".DEFAULT", so you should
   remember to do HKEY_CURRENT_USER first. I'll use  as a
   placeholder for HKEY_CURRENT_USER, HKEY_USERS\.DEFAULT, etc.
   For each user:
   - Create a "REBOL" directory under the AppData directory. You
 can get the AppData directory from
   \Software\Mi

[REBOL] Re: Windows registry keys

2002-08-16 Thread Anton

Actually, I just looked at the size of my
license key - 845 bytes, much larger than
the size of the registry path element.
It's probably not giving away much if it is
at all, then.

Anton.
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.




[REBOL] Re: Windows registry keys

2002-08-15 Thread Anton

Maybe win2k has this format, win98 a simpler format?
Also, we aren't unwittingly giving away our license keys
or anything like that are we? Anybody know?

Anton.

> I am on win2k and have something similar but different numbers.
> 
> eg.
> HKEY_USERS\S-1-5-21-515967899-484763869-1708537768-500\Software\Rebol
> 
> YekSoon
> 
> 
> At 03:37 AM 8/16/2002 +1000, you wrote:
> 
> >I am looking into the windows registry
> >
> >I wonder if other people have exactly the same
> >long path element as in below:
> >
> >HKEY_USERS\S-1-5-21-1614895754-688789844-1060284298-1000\Software\Rebol
> >
> >Are the numbers exactly the same?
> >
> >I am interested in making a silent install for rebol.
> >
> >Anton.

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.




[REBOL] Re: Windows registry keys

2002-08-15 Thread Lok Yek Soon

I am on win2k and have something similar but different numbers.

eg.
HKEY_USERS\S-1-5-21-515967899-484763869-1708537768-500\Software\Rebol

YekSoon


At 03:37 AM 8/16/2002 +1000, you wrote:

>I am looking into the windows registry
>
>I wonder if other people have exactly the same
>long path element as in below:
>
>HKEY_USERS\S-1-5-21-1614895754-688789844-1060284298-1000\Software\Rebol
>
>Are the numbers exactly the same?
>
>I am interested in making a silent install for rebol.
>
>Anton.
>--
>To unsubscribe from this list, please send an email to
>[EMAIL PROTECTED] with "unsubscribe" in the
>subject, without the quotes.
>
>
>
>


-- Attached file included as plaintext by Listar --


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.




[REBOL] Re: Windows registry keys

2002-08-15 Thread Alan Crandall

At 08:16 PM 8/15/02 -0400, you wrote:
>Anton:
> > HKEY_USERS\S-1-5-21-1614895754-688789844-1060284298-1000\Software\Rebol
>
>I have nothing like this on a Win98 machine. All  I have is a few entries in:
>
>HKEY_USERS/.DEFAULT/Software/Rebol/Console
>HKEY_USERS/.DEFAULT/Software/Rebol/Link
>HKEY_USERS/.DEFAULT/Software/Rebol/View
On my Win98 first ed:
HKEY_CLASSES_ROOT/.r/Default "REBOL Script"
/Context Type "text/x-rebol"
[HKEY_CURRENT_USER\Software\Rebol]

[HKEY_CURRENT_USER\Software\Rebol\Console]
"Version"=hex:01,00,00,00,00,00,00,00
"Font"=hex:0e,00,00,00,09,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,00,\
   00,00,00,00,00,01,46,69,78,65,64,73,79,73,00,00,00,00,00,00,00,00,00,00,00,\
   00,00,00,00,00,00,00,00,00,00,00,00,00
"Window Position"=hex:69,00,00,00,d7,01,00,00
"Window Size"=hex:22,03,00,00,04,01,00,00
"Window Show"=hex:01,00
"Buffer Lines"=hex:90,01,00,00
"Window Width"=hex:61,00,00,00
"Wide As Window"=hex:01,00,00,00

[HKEY_CURRENT_USER\Software\Rebol\View]
"HOME"="/d/rebol/view/"
"Product"="View 1.2.5.3.1"

[HKEY_CURRENT_USER\Software\Rebol\Link]
"HOME"="/d/rebol/link/"
"Product"="Link 1.0.2.3.1"

[HKEY_USERS\.DEFAULT\Software\Rebol]

[HKEY_USERS\.DEFAULT\Software\Rebol\Console]
"Version"=hex:01,00,00,00,00,00,00,00
"Font"=hex:0e,00,00,00,09,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,00,\
   00,00,00,00,00,01,46,69,78,65,64,73,79,73,00,00,00,00,00,00,00,00,00,00,00,\
   00,00,00,00,00,00,00,00,00,00,00,00,00
"Window Position"=hex:69,00,00,00,d7,01,00,00
"Window Size"=hex:22,03,00,00,04,01,00,00
"Window Show"=hex:01,00
"Buffer Lines"=hex:90,01,00,00
"Window Width"=hex:61,00,00,00
"Wide As Window"=hex:01,00,00,00

[HKEY_USERS\.DEFAULT\Software\Rebol\View]
"HOME"="/d/rebol/view/"
"Product"="View 1.2.5.3.1"

[HKEY_USERS\.DEFAULT\Software\Rebol\Link]
"HOME"="/d/rebol/link/"
"Product"="Link 1.0.2.3.1"


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.




[REBOL] Re: Windows registry keys

2002-08-15 Thread SunandaDH

Anton:
> HKEY_USERS\S-1-5-21-1614895754-688789844-1060284298-1000\Software\Rebol

I have nothing like this on a Win98 machine. All  I have is a few entries in:

HKEY_USERS/.DEFAULT/Software/Rebol/Console
HKEY_USERS/.DEFAULT/Software/Rebol/Link
HKEY_USERS/.DEFAULT/Software/Rebol/View

But nothing that looks anything like your value.

Sunanda.
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.




[REBOL] Re: Windows registry keys

2002-08-15 Thread atruter


> HKEY_USERS\S-1-5-21-1614895754-688789844-1060284298-1000\Software\Rebol

Looks like a licence key to me.


Regards,

 Ashley

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.




[REBOL] Re: Windows registry keys

2002-08-15 Thread Bohdan or Rosemary Lechnowsky

I don't have a path anything similar to that in my registry.

I have Rebol in HKEY_CURRENT_USER\Software\Rebol and 
HKEY_USERS\Default\Software\Rebol

Hope this helps!

-Bo

At 03:37 AM 8/16/02 +1000, you wrote:
>I am looking into the windows registry
>
>I wonder if other people have exactly the same
>long path element as in below:
>
>HKEY_USERS\S-1-5-21-1614895754-688789844-1060284298-1000\Software\Rebol
>
>Are the numbers exactly the same?
>
>I am interested in making a silent install for rebol.
>
>Anton.
>--
>To unsubscribe from this list, please send an email to
>[EMAIL PROTECTED] with "unsubscribe" in the
>subject, without the quotes.

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.




[REBOL] Re: Windows registry keys

2002-08-15 Thread Gregg Irwin

Hi Anton,

<< I wonder if other people have exactly the same
long path element as in below: >>

Nope, sorry.

--Gregg
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.