World: r3wp
[!REBOL2 Releases] Discuss 2.x releases
older newer | first last |
BrianH 29-Jun-2010 [1777] | Not a version without sandbox/install, a *mode* without sandbox/install. It's one of the 4 profiles. |
Maxim 29-Jun-2010 [1778] | I just want rebviewpro.exe to be available as well as rebol.exe. the installer is a nuisance, why should /view require one while /core doesn't? I'd much rather have no install and have a mezz or native command I run in the console that does an "install" |
BrianH 29-Jun-2010 [1779x2] | Which it why it will be supported. The installer is a nuisance because it wasn't done right. |
Hate to break it to you, but the desktop is actually used by some and either needs installation or portable app mode. Console-only no-install mode, two install modes depending on permissions, and portable app mode, that's the 4 modes. | |
Maxim 29-Jun-2010 [1781x3] | its a nuisance because its not required. the desktop is fine for end-users. I'm not one of them, and it gets in the way when I deploy my pplications at clients. |
just the fact that we've got two intepreters using the same extension makes the whole issue even worse. | |
really, there should be two executables. One which does all of that fancy stuff, and another which just doesn't do anything. no install, no security. | |
BrianH 29-Jun-2010 [1784] | two intepreters using the same extension - you mean rebview and rebcmdview? Core doesn't set or require an extension. |
Maxim 29-Jun-2010 [1785x2] | R2, R3. |
but cmd and normal too. | |
BrianH 29-Jun-2010 [1787] | I'll check about the viability of the multiple executables model, but it looks like installation-related rebol.r settings are more likely. |
Maxim 29-Jun-2010 [1788x2] | my point is that install is very annoying for people who develop because it creates a dependency in the interpreter which cannot be rooted out. I am not against the installer, i'm just against it being forced upon me, when the whole platform itself has no requirement for it I have not started REBOL without it requiring an external file or socket in what 10 years... so really what is the point. it just makes EVERYTHING complicated, like telling clients they have to fuck around with adding -qs all the time in their batch code, etc, etc. |
vista doesn't even allow arguments in shortuts, so that's even more annoying. | |
BrianH 29-Jun-2010 [1790] | Which is why the rebol.r settings. |
Maxim 29-Jun-2010 [1791x2] | hey, if the executable can reliably read rebol.r, then that's cool. its also MUCH simpler for networked install, since you can lock down the permission on rebol.r so that every one launches the same way. if we really need user.r... then just provide its path within rebol.r and load it from there. |
also, if the security can be lowered within rebol.r without requiring a windows popup... again cool. | |
BrianH 29-Jun-2010 [1793] | Sorry, on Windows you can't know where it is safe to look for user.r without going through the same information-gathering process that an installer has to go through. So it's the same problem. |
Maxim 29-Jun-2010 [1794] | ok I think my main grievance is that the "installer" is within the rebol.exe it has to be a separate executable which does the information gathering, copies and creates all the files. but launching rebol.exe should never again ask for installation. if that is how you are thinking about it then, I don't mind installation. |
BrianH 29-Jun-2010 [1795] | The "copying files to some location" is the least difficult part of an installer. The tricky part is determining exacty *where* to put stuff. Fortunately, most of that is ahead-of-time research about where to look in the registry and environment for settings, where to put them, etc. And that varies depending on the Windows version because the really good tricks weren't adopted until later. |
Maxim 29-Jun-2010 [1796x2] | yes I know all about that, and its really fucked up in vista/7. for an application not being able to write in its install path is ridiculous. |
much better to store files in 3 different places, forget about them and fill up the disk, with the user totally unable to know where to and how to cleanup his disks. | |
BrianH 29-Jun-2010 [1798] | We need to have a way to have the program not install and not bring up the desktop without command line parameters, from the same executable that will under different circumstances offer to install. It's one of the modes I mentioned. |
Maxim 29-Jun-2010 [1799] | oh and did you know that in vista (and possibly windows 7) the names for windows paths are translated in the explorer but remain english in the file structure? such that you can actually have the same folder twice within an explorer view :-) yep, great engineering. |
BrianH 29-Jun-2010 [1800x3] | Maxim, "its really fucked up in vista/7" - no, those rules have been there since Win2k. |
I first started complaining about the installer in 2000. Some of my recommendations have been implemented, but not all. And 2 more standard installation profiles have been added since then. | |
Any multiuser Windows has this problem. | |
Maxim 29-Jun-2010 [1803x2] | the way I see it, the moment there is a rebol.r file in the same folder as the rebol.exe, no install should ever be required, whatever the rebol.r file contains. the rebol.r file should operate before the sandbox is activated. it needs access to the secure command, so it can prevent the sand box from ever starting. If it can be made that simple, then install-away all you want. :-D |
folder aliasing is new vista, and its a very stupid idea. using the same path you end up at one file for read another for write? wtf! | |
BrianH 29-Jun-2010 [1805x2] | Yes, it can be made that simple, but the rebol.r also needs to be able to mandate the installer if need be, or to start portable app mode. It depends on its settings. |
Folder aliasing is there to make up for silly people who still write apps that try to write to their application path without sufficient rights. If people had paid attention to the rules in 2000, we wouldn't have this mess now - Windows apps would be acting like Linux or Mac apps, and putting their files where they should be. | |
Maxim 29-Jun-2010 [1807x3] | I agree, as long as the rebol.r *enables* has final control and nothing requires to be stored in registry, its all good. obviously, windows will want some stuff in the registry for its own management, but rebol should not peek there to try and determine anything. if it really has to.. put that registry peeking in the rebol.r |
oops the *enables* isn't from that sentence... ignore. | |
installation would simply be the act of running rebol.exe without a rebol.r file and generating a default rebol.r file in your current setup. | |
BrianH 29-Jun-2010 [1810] | If rebol.r is loaded before the security settings are established, we don't want any code in there at all, we just want settings. We still need the installer; rebol.r will at most tell the installer to run, but it won't itself contain the installer. |
Maxim 29-Jun-2010 [1811] | one thing that could alleviate the fear or running code in rebol.r is if rebol.exe couldn't itself write to it... ever. |
BrianH 29-Jun-2010 [1812] | And the installer would need to peek in the registry, since that's where locations are stored. |
Maxim 29-Jun-2010 [1813] | yes on install time, you have to peek, but not when running. |
BrianH 29-Jun-2010 [1814] | if rebol.exe couldn't itself write to it... ever. - Great, now you understand the reason for Windows security settings! Yay! |
Maxim 29-Jun-2010 [1815x4] | I don't want a registry setting that stores "rebol is installed", for example. |
no, rebol is an interpreter, it can write to any file... for my own application to write within my own install dir is perfectly fine. its not going to affect any other application. | |
I would understand for an exe not to have to write anywhere else THAN its own install dir, or even maybe a specific directory, within the original install dir. | |
(within the windows folder) | |
BrianH 29-Jun-2010 [1819] | Imagine that you are a least-privileged user, but evil. Do you want to write to a directory that contains programs that are run by other users? |
Cyphre 29-Jun-2010 [1820] | Anton: regarding the DRAW fonts on Linux. The font redering is supported (at least it worked on all distros I had to use in recent 3 years or so). The essential problem is how to automatically get the paths to your Linux truetype fonts so you don't need to specify the font/name with absolute path as it is now.... If anyone knows about any efficient method how we could get path to the font files on Linux so it works on all distros let me know. Solving this issue would definitely improve the DRAW font usage a lot. |
Maxim 29-Jun-2010 [1821x2] | brian, I do understand the issues, its just that windows thinks obfuscating things is security. shared files here or there are still shared. |
the windows file organization is so screwed up in EVERY conceivable way that it will never be fixed. | |
BrianH 29-Jun-2010 [1823x4] | There are group policy settings that can make it so that programs can only be run from certain directories, and security settings to make it so only administrators can write to those directories. And the only reason that they have to do things so drastically is because of developers like you who insist on writing Win9x apps and trying to run them on Win2k+. Apps like AltME. |
Yes, it's screwed up, but the screw-up is because permissions are user-based rather than app-based. This problem is shared by Linux, OS X, and most other Unix-serived OSes. | |
serived -> derived | |
It's a common mistake in OS design, and in some cases one that is mandated by law (DOD rules). | |
older newer | first last |