World: r3wp
[!REBOL2 Releases] Discuss 2.x releases
older newer | first last |
Maxim 29-Jun-2010 [1873] | I admit we went into a side thread ;-) |
BrianH 29-Jun-2010 [1874] | I prefer to think of it as Maxim being a useful sounding board. He helped me work through some of the trickier issues through being a devil's advocate :) |
Maxim 29-Jun-2010 [1875] | has anyone been able to install rebol on windows 7 so it executes with -qs arguments? |
AdrianS 29-Jun-2010 [1876x2] | what do you mean by "so that it executes" - just tried it and it seems to start... |
not installed under program files, though | |
Gregg 29-Jun-2010 [1878] | First, thanks to Brian for making sure this gets done right (or at least the best we can given the circumstances :-). Getting the installer right is part of the battle, but another part is making sure we, as developers, do the right thing as well. The effort to identify system direcories, and provide mezzanines to make it easy to use them correctly, benefits everyone. The old Roxy installer code is all BSD, and I'm happy to provide it, even if just for fodder. |
Graham 29-Jun-2010 [1879] | Was that the open source installer for the SurfDetective? |
Gregg 29-Jun-2010 [1880] | Yes. |
Graham 29-Jun-2010 [1881] | As I recall you never released it as there was no documentation or something |
BrianH 29-Jun-2010 [1882] | There are open source installer-builders for Windows that I can read. I've even used some of them. What I'm weak on is other platforms, particularly Linux. I want scripts to be able to run on Linux the same as on Windows, so corresponding concepts should have corresponding settings. |
Gregg 29-Jun-2010 [1883] | Quite possible, knowing me. I don't remember if SURFNet released it or not, but I don't think I ever did. |
Andreas 29-Jun-2010 [1884] | Brian: What would be one such "corresponding concept" and how would you use it from within REBOL? (Assuming that meant REBOL scripts by "scripts"). |
BrianH 29-Jun-2010 [1885] | The trick with installers is making sure the program reads from the right places after it is installed. That was a big problem for View after Win2k came out: You could write an external installer, but REBOL kept looking for settings in the wrong locations in the registry. |
Gregg 29-Jun-2010 [1886] | Yes, the sys-vars module in Roxy is a crude start on that, so you don't know about Documents and Settings versus ~ or Program Files versus /usr/local/bin. |
Maxim 29-Jun-2010 [1887] | What was always missing in R2 was the ability for a programmer to get system information in easy to use way. user-name (actuall real login of running task) user home and related dirs things like that which should be in the next release, especially if you are going to rummage through all of this. I used routines to get to some of this, but I think it would be nice if this was built-in. |
BrianH 29-Jun-2010 [1888] | Andreas, corresponding concepts: - The place where the program is installed/located. - The place where the installed program version is listed, so you can know whether an update is needed. - The place where user files, particularly the view-root and desktop files, needs to go. - The place where machine-specific user settings should go (console layout on Windows). - File associations, where possible. Not assuming that these are possible on platforms other than Windows. Where these go depends on the installation profile. Yes, not installing at all is one of those profiles. |
Andreas 29-Jun-2010 [1889] | Ah, so the scripts you were talking about are installer scripts. |
BrianH 29-Jun-2010 [1890] | No, I mean scripts at runtime. Installer scripts are platform-specific, but once things are installed, the scripts at runtime should be platform-agnostic. |
Andreas 29-Jun-2010 [1891] | That's nothing to do with an installer then, has it? |
Maxim 29-Jun-2010 [1892] | Adrian, "so it executes" I meant installing rebol in the OS via file extensions so it always uses the -qs arguments over and above those it gets from the explorer. also can shortcuts have arguments in win7? this was removed in vista. |
BrianH 29-Jun-2010 [1893] | So every one of these concepts needs a runtime setting that tells user scripts where stuff goes. |
Gregg 29-Jun-2010 [1894] | What was always missing in R2 was the ability for a programmer to get system information in easy to use way....I used routines to get to some of this, but I think it would be nice if this was built-in. So every one of these concepts needs a runtime setting that tells user scripts where stuff goes. Agree++ |
BrianH 29-Jun-2010 [1895] | Andreas, the installer determines these things at install time, and sets things up for the runtime. but the runtime has to look for stuff where the installer puts it, and previously R2's runtime looked in the wrong places. |
Andreas 29-Jun-2010 [1896x2] | Installing REBOL/View on Linux consists of putting a binary in the right place |
For that, only one of the things you listed is needed: information about where to put the binary. | |
Maxim 29-Jun-2010 [1898] | and its a different place in many linuxes now. :-( |
BrianH 29-Jun-2010 [1899] | And then where are the user files, such as the view desktop placed? And how does the runtime determine that? |
Andreas 29-Jun-2010 [1900x2] | That's the runtime's problem |
Most likely even an app-specific installation problem | |
BrianH 29-Jun-2010 [1902] | That is part of the installer project. |
Maxim 29-Jun-2010 [1903] | another thing which is missing is explicit font path. The Os might not know, but at least if we could configure it manually then we could script independently of linux install. |
BrianH 29-Jun-2010 [1904] | View is the app that we are specificly discussing now. |
Andreas 29-Jun-2010 [1905] | viewtop is the app you are discussing |
Maxim 29-Jun-2010 [1906x2] | nope its /view. |
If i right a view app... where do I put my config files? | |
Andreas 29-Jun-2010 [1908] | that's a third party app, maxim |
Maxim 29-Jun-2010 [1909] | this sort of thing right now is pretty hard to determine. |
Andreas 29-Jun-2010 [1910] | /view: a binary, viewtop: an app that needs additional settings |
BrianH 29-Jun-2010 [1911] | /View has Viewtop built in, so it's a built-in app. |
Andreas 29-Jun-2010 [1912] | yes, but it's still only a view app |
Maxim 29-Jun-2010 [1913x2] | I really don't see what viewtop has to do with it. |
right now, when we write REBOL apps, we are running blind. its very complicated, and something most script coders will not put the time to learn. | |
Andreas 29-Jun-2010 [1915] | rebol/view binary does not need to know about a location where to place viewtop files |
BrianH 29-Jun-2010 [1916] | Andreas, you are not getting that /View is not installed until viewtop can run properly. And that needs user directories, and font paths. |
Andreas 29-Jun-2010 [1917] | well, that's open for discussion |
Maxim 29-Jun-2010 [1918] | hell even most C coders don't know where the files really go since that's all abstracted by the IDE APIs they use. |
BrianH 29-Jun-2010 [1919] | That is what installing /View means. |
Andreas 29-Jun-2010 [1920x2] | if i were to package /view for linux, it would certainly be two packages |
view and viewtop | |
Maxim 29-Jun-2010 [1922] | Andreas, even without viewtop, none of this would change. |
older newer | first last |