Mail Archives: cygwin/2005/01/21/08:55:10
Roman here is what I do.
1) Install first instance of cygwin.
2) Export the registry key HKEY_LOCAL_MACINE/.../Cygnus Solutions to a
file. Use a filename that represents the install.
3) Delete the registry key.
4) If you installed to c:\cygwin, rename that to something else
temporarily during the other installs. Briefly, the installer
is distracted by it even if you specify some other root directory
for the second install.
5) Install a second instance of cygwin (someplace other than where the
first was installed.
6) Save the registry keys for this install as in step 2.
7) Repeat steps 3, 5 and 6 as many times as you want.
8) Rename that original install back to C:\cygwin.
To switch installed instances:
1) Kill all cygwin processes (don't forget daemons like sshd and cron).
2) Double click on the registry key file of the instance that you want to
run..
3) You are ready to go.
On Fri, 21 Jan 2005, Roman wrote:
> Hi,
>
> I ran into the same problem as other did with different Cygwin version used
> by different 3PP's.
> I do not need to have them run simulanously (at least not by now), but need
> to switch between them in a convenient way, if anyhow possible.
>
> Christopher Faylor metioned in his mail the following:
>
>> The cygwin developers know how to keep multiple versions of cygwin
>> around for testing purposes so there really is no reason to add code
>> just to accommodate people who are apparently using cygwin for
>> commercial purposes without bothering to think too much about how they
>> are installing it.
>
>
>
> Since I am not a cygwin developer I am not too familiar with how Cygwin is
> installed and which registry entries matter.
> Can anyone give hints or refer to cygwin documentation which entries are
> essential.
>
> Or is the following approach a promising one:
>
> 1. Install the first Cygwin environement (e.g version 1.2)
> 2. Extend the installation path (e.g. C:\program\cygwin) and the registry
> entries with the key name "Cygnus Solutions" with a version extension (here
> -1-2).
> 3. Install the second Cygwin environement (e.g version 1.5.10)
> 4. Extend the installation path (e.g. C:\program\cygwin) and the registry
> entries with the key name "Cygnus Solutions" with a version extension. (here
> -1-5-10 )
> 5. Repeat step 3 and 4 for more Cygwin environements
> 6. Change the path name and the registry key name back to the original
> installation name for the version one wants to use. (manually or better write
> a script that doees the job)
>
>
> Cheers
>
> Roman
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
-----------------
Dick Repasky
Bioinformatics Support
UITS Cubicle 101.08
Indiana University
USA
rrepasky AT indiana DOT edu
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -