Re: a dumb question about installing OEu 4?

new topic     » goto parent     » topic index » view thread      » older message » newer message
jeremy said...
DanM said...

Although I'd like to take refuge in the observation, "the only dumb question is the question not asked", I hope this is not the exception.

Is there a way to install V4 simply, AND be able to very easily switch back and forth between it and whatever version of Euphoria a person is currently running on their system?

By "very easily" I mean a program that can be run to completely switch between old and new Euphoria & vice-versa.

I am unsure how easy this is for everyone, but when installing the Beta versions of Euphoria, you can choose not to update the environment (default for betas). This will cause your old Euphoria install to be the active one. Then, when you want to use 4.0, you can run, say, C:\euphoria40\setenv.bat and that will set your current shell's environment to use 4.0.

That only affects the current command prompt and not your windows install, so depending on how you run your Euphoria programs, that may not make a difference (i.e. launching from Windows Explorer or something similar).

Jeremy

ok, that's a good start. However, when I read the online manual, under "Installation", I see:

"To install Euphoria on your machine, first read the file install.txt.

Installation simply involves copying the euphoria files to your hard disk under a directory named euphoria, and then appending the search path of your operating system to this directory."

Where's "install.txt"? Presumably in the download, which I haven't (I know, shame on me!) done yet.

So maybe the text following "read install.txt" should/could be something like (and then I might not have asked this silly question):


Run "install.exe" [or whatever it's actually called], which will copy all Euphoria files to your hard disk under a directory named either "euphoria"(for an installation with NO previous installation of any earlier version of Euphoria), or, to a directory named "euphoria40" (for an installation on a system which DOES have an earlier version of Euphoria installed). An option exists to manually specify either of the above, or any other directory name/path, but the default installation will be to one or the other directories as described above.

If the installation is to any directory other than "euphoria", then all environmental variables will remain as they had been, allowing continued use of the previous version of Euphoria. In this case, two .bat files are provided which will allow switching from an earlier version of Euphoria to OEu 4, and vice versa.


Now to those .bat files.

It seems that "C:\euphoria40\setenv.bat" would work to switch TO OEu4, but it wouldn't switch BACK to the earlier Eu version, right? I presume it's mostly like Kat's example, minus what I think is an "execute" line, and while it isn't hard to "reverse" it to switch back from OEu4 to earlier version, I'm wondering if such couldn't also be included in the installation?

Just a suggestion to make it more palatable for laggards like me to try out OEu4 smile

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu