World: r3wp
[!REBOL2 Releases] Discuss 2.x releases
older newer | first last |
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). | |
Maxim 29-Jun-2010 [1827x5] | the way I see it, applications should be FORCED into using specific paths for specific things. then you could enforce proper file access etiquette. |
but when I say forced, I don't mean spread up all around the disk and forgotten on uninstalled, untraceable deep paths, masked by the explorer, and even translated on top of it. | |
I mean like each application is forced to put its dependecies into specific folders within its install path. this way you can very easily verify that things are wath they should, and can make OS lib calls which act with confidence. | |
the root problem for all of this lies in the archaic tree structure file systems. | |
a file should be able to have several paths (a bit like symbolic links in unix) each one with different properties based on app context. | |
BrianH 29-Jun-2010 [1832] | Sorry, there's no user-specific folders under the install path, not without separate user folder permissions maintenance for each application, or those aliases you mentioned. Is it really so hard to put user files in user folders? You have to do that on Linuc and Mac... |
Maxim 29-Jun-2010 [1833] | but some files Are not user files... like the rebol.r file, for example. it should define where the user files are though. |
BrianH 29-Jun-2010 [1834] | That is platform-and-computer-specific. And the user files will be in a different place for each user - that's the whole point of them. Is it really so hard to put files in the standard user directories? |
Maxim 29-Jun-2010 [1835] | its hard when the damn paths are so obscure that you need to call the OS using libs to get the paths confidently. its hard when those paths change all the time. its hard where there are more than one path per application. its just really complex when the darn paths could be simple... even on linux, they keep changing the paths almost every release on some distros.. it gets ridiculous. |
BrianH 29-Jun-2010 [1836] | I mean, you wouldn't complain about using the HOME variable on Linux, right? It's the same thing. |
Maxim 29-Jun-2010 [1837] | (note that on linux I am not talking about the home or user dirs.) |
BrianH 29-Jun-2010 [1838x2] | The paths change all the time, but where the paths are listed don't change. That has been pretty consistent for 10+ years. |
Well I *am* talking about the user dirs. This whole conversation has been about user dirs. | |
ICarii 29-Jun-2010 [1840] | hopefully with MS recent october 22 announcement of the canning of XP we can finally forget that OS for install targets :) |
BrianH 29-Jun-2010 [1841x4] | R2 still supports Win95. R3 still supports Win2k. |
At least installers would be easier for R3, even if R3 doesn't need an installer yet. | |
ICarii, AltME is currently a Win95 app (it puts its writable data files in the same directory as its program file) and it's written in R2. | |
You can write modern apps that will run on Win95, even with proper multi-user directory usage; just don't use Unicode. | |
Maxim 29-Jun-2010 [1845] | brian, if windows actuall made the home directory something obvious and not tried to hide it in every conceivable way in the explorer I think the situation would be much better. Vista/7 makes some of it better, then screws it up in another way... it just gets weirder at every release. |
older newer | first last |