X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
From: "Hans Kaiser" <hkaiserl@googlemail.com>
To: <cygwin@cygwin.com>
References: <013901c89436$214ba6d0$63e2f470$@com> <47F535CA.11611312@dessent.net> <025701c89bf7$bc433e50$34c9baf0$@com> <48001F08.4020007@cwilson.fastmail.fm> <20080412083522.GA23852@calimero.vinschen.de> <030301c89cb7$9de4e0b0$d9aea210$@com> <20080414092429.GM23852@calimero.vinschen.de>
In-Reply-To: <20080414092429.GM23852@calimero.vinschen.de>
Subject: RE: Embedded packaging of cygwin without installation
Date: Fri, 18 Apr 2008 21:04:22 +0200
Message-ID: <000501c8a187$094801b0$1bd80510$@com>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 12.0
Content-Language: de
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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

Okay fine! I can figure out, that cygwin is installed. But how can I figure
out there the run.exe or the other cygwin tools are? The system PATH
variable is not updated on an cygwin setup...
The next question, how can I read the registry via command line?
 
> > 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.

Okay fine.


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

