delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/04/15/11:54:05

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B04B3384A025
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1586965999;
bh=BUjyKzddJ5S7UrM2guF8TArQaA9gE7t9+mIGMW0xayY=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=L3P2ghhvU7k2oinQnnhMpy7VbN6f1EbIvErge919NWssut3QYwSTgtHtKTbRva7Wj
IBvQDtNRWLv7vOMWZaEd4E27x8WbU0aJPMT/gEo81rQmUzXZ/Bf68Q31SLu3DhvuCc
0Ok0n8lZLafz/yYoLMcpAJddtHLf0FUDAhL+Qhe8=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 182EC385DC1B
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-transfer-encoding;
bh=J7LAfrOln4uJR0r7VR9m0mqx7ptGJpnM/iarzvL1veU=;
b=gG2YHpEsTk9wsU8Kbg5ztpRjdMeALMLpPJYB0fcgcod+f0R7rb52r1xoxc5gD1zfZB
2qTdNVi44H+fC5FPvtN1ZoicLTaohZQSlSEn6eu4HAL7/uZTwIWGTLT3c7fUUvivutja
chaVj2twYp/gvmwm8tGmTSSY5D/qmfc1nw8OVT/JvJDY3QNHhtLvxFxsBejWpEVFosG7
5jqznQQql/d72Cz7tYdjMuNdLc0mCzDz81ve7JLuHqK4fW3VMGKgmRSKVBXX2iO2wVYt
2Fyzr6lwvK2oJBtXNxejSHYLxJloSSvldM4lCF8/BTHNIbyS6KV08na2VvBuAhscPkN6
ja/g==
X-Gm-Message-State: AGi0PuZcz/OL4KyJhCkk0AILwbX5DXhdygt40d3xAXVYHBtCNfKnaFTo
aXoVcMXBtMIIRJNM7k89Ei+YExPr
X-Google-Smtp-Source: APiQypIYOsusPdcksxdjCnR1SIHj9l0I6IbuDwt//hysOAOZoNI/64tWq6OdQ8ijm45ANsETqpesoQ==
X-Received: by 2002:a5d:6412:: with SMTP id z18mr16788345wru.322.1586965994553;
Wed, 15 Apr 2020 08:53:14 -0700 (PDT)
Subject: Re: Can I find where cygwin is installed (for automation purposes)
To: cygwin AT cygwin DOT com
References: <CACac1F9BvE0nqGru8=NxA7pc=6VPF_sokUPS94Wr1NfRQeLN5w AT mail DOT gmail DOT com>
<fea3d3d3-3ba0-7b8c-8c5c-c2793a397762 AT gmail DOT com>
<CACac1F8jd0BJrg3kuw-sWkffc9Hn56ZRLgfpFE_CE1p6FL+kvw AT mail DOT gmail DOT com>
Message-ID: <08f1afcc-e045-25c5-6b7d-c37ee841b6c2@gmail.com>
Date: Wed, 15 Apr 2020 17:53:14 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.7.0
MIME-Version: 1.0
In-Reply-To: <CACac1F8jd0BJrg3kuw-sWkffc9Hn56ZRLgfpFE_CE1p6FL+kvw@mail.gmail.com>
X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 03FFrluN023283

Am 15.04.2020 um 15:29 schrieb Paul Moore via Cygwin:
> On Wed, 15 Apr 2020 at 11:54, Csaba Ráduly via Cygwin <cygwin AT cygwin DOT com> wrote:
> 
>> On my machine, I have a
>>
>> HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
>>
>> key, which contains a string value named "rootdir" with the date "C:\cygwin64".
> 
> Thanks, that looks more useful. I didn't think to check there as I
> didn't recall having run the setup as "All users" so I assumed
> everything would be in HKCU. I should have checked!
> Paul
> --


Pay attention that Setup links to the last updated one 64 or 32bit

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Setup
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Cygwin\Setup

Installations report all if more are installed (borderline case, maybe)

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Cygwin\Installations

both version 32 and 64 bit are reported on

Computer\HKEY_CURRENT_USER\Software\Cygwin\Installations

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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