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

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 08CBC386F425
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1586974267;
bh=32Sdve+zaD7q/8dOLH5YhSwuqhWe2SXQWYoT9Oz3JqM=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=BEkzFGS3VttQZXqrY0GEMTIvnEY2c/ieZeJmVuignkphIioLJgLfUM21QW7UePh/Q
bolz8PCeWyzMMCSdWI7LHW2PRQj668syqa28DPKgUF3aKz48O4SgA5Hq+QlTs6/xzl
NiJ9zVT+FdPXcZucInwFFTGbdHQxr/wjU8MctkPU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0D794386F037
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc:content-transfer-encoding;
bh=MvLh7an4H34bvFIn5seXQ+Iyo6ni6IjFPtDnrpZiZ/0=;
b=Tl/XNCBNmDSoquGIAP/vYRE04qFWyD2Hgd20d0SDt7QHKEQ/6mSArMZvBKAh/A66or
8EnHaLdCkfAdFVbLer26FqSlwILnv+hgXCBVIAgSzvn7uw84CPghXBI1hl6e+xWp/dOQ
48ZlE8aQyHihhD4uNjauRP1bHowwa2QzUaEyMQaQFO2dVXtFoB0Tn2XMWz/AFY4fynkg
soh6aCXLdXUj8Fy3Pqu8SR62ehE2lXKC57SIOKq/lLwIGLlj+7UnHv0D09p2YFDUEK8D
tXFtjgwdgyscz4KiVqkKe3x3eQT3DIYW8ZtTQP8hywXPOMeRT8GByZS2P24VVQjXBOrI
s9nA==
X-Gm-Message-State: AGi0PuYpySU6govFJy1VePaR28yvdVuKkQSHDw62kT+NKXFQqFVEVzF3
sy1ns51ODPktEAnQZjRNPK1snO94pG8dTH7yUws=
X-Google-Smtp-Source: APiQypJ1NDh6hBPeKXa5aj4vhCvk/k1a4JolhSbhkbN7ioVIDR1z+fSaFrpiPzghVQJJyznUp5B2grpXeNeZN/3WA5k=
X-Received: by 2002:a37:d93:: with SMTP id 141mr16887390qkn.32.1586974263634;
Wed, 15 Apr 2020 11:11:03 -0700 (PDT)
MIME-Version: 1.0
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>
<08f1afcc-e045-25c5-6b7d-c37ee841b6c2 AT gmail DOT com>
In-Reply-To: <08f1afcc-e045-25c5-6b7d-c37ee841b6c2@gmail.com>
Date: Wed, 15 Apr 2020 19:10:52 +0100
Message-ID: <CACac1F_ptn5Td_x5K2-8m5mqbiRN30NjJkrQWqPFiuQmx6FCnw@mail.gmail.com>
Subject: Re: Can I find where cygwin is installed (for automation purposes)
To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
X-Spam-Status: No, score=-2.3 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-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: Paul Moore via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Paul Moore <p DOT f DOT moore AT gmail DOT com>
Cc: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 03FIBaQk005346

On Wed, 15 Apr 2020 at 16:54, Marco Atzeri via Cygwin <cygwin AT cygwin DOT com> wrote:
>
> 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

Thanks. Can you explain what the \?? prefix on the Installations
values is about? I'm nervous that there's something going on there
that means that just ignoring the first 3 characters isn't
sufficient... ;-)

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