This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Embedded packaging of cygwin without installation

On Apr 12 18:09, Hans Kaiser wrote:
> But now I want to be able to determine, if someone has already installed
> (via your setup.exe) a cygwin. If so I would like to be able to use the
> already installed one. But how to determine if there is already an
> installation of cygwin? And furthermore, how can I use it?

Check for the registry keys HKLM\Software\Cygnus Solutions\Cygwin and
HKCU\Software\Cygnus Solutions\Cygwin.  If one of them exists, you have
a Cygwin installation.

> If I detect, that no cygwin (via your setup.exe) is installed, I would like
> to open a browser which points to your setup.exe so the user could install
> the cygwin.
> In both cases it may be necessary to determine 
> Correct me if I am wrong. This approach has no licensing issues.

If you just call setup to download from the cygwin distro, you have no
licensing problems in your scenario.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]