delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/14/05:25:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 14 Apr 2008 11:24:29 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Embedded packaging of cygwin without installation
Message-ID: <20080414092429.GM23852@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <013901c89436$214ba6d0$63e2f470$@com> <47F535CA DOT 11611312 AT dessent DOT net> <025701c89bf7$bc433e50$34c9baf0$@com> <48001F08 DOT 4020007 AT cwilson DOT fastmail DOT fm> <20080412083522 DOT GA23852 AT calimero DOT vinschen DOT de> <030301c89cb7$9de4e0b0$d9aea210$@com>
MIME-Version: 1.0
In-Reply-To: <030301c89cb7$9de4e0b0$d9aea210$@com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

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

--
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019