public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Paul Moore <p.f.moore@gmail.com>
To: Marco Atzeri <marco.atzeri@gmail.com>
Cc: cygwin@cygwin.com
Subject: Re: Can I find where cygwin is installed (for automation purposes)
Date: Wed, 15 Apr 2020 19:10:52 +0100	[thread overview]
Message-ID: <CACac1F_ptn5Td_x5K2-8m5mqbiRN30NjJkrQWqPFiuQmx6FCnw@mail.gmail.com> (raw)
In-Reply-To: <08f1afcc-e045-25c5-6b7d-c37ee841b6c2@gmail.com>

On Wed, 15 Apr 2020 at 16:54, Marco Atzeri via Cygwin <cygwin@cygwin.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@cygwin.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

  reply	other threads:[~2020-04-15 18:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-15 10:29 Paul Moore
2020-04-15 10:51 ` Csaba Raduly
2020-04-15 12:42   ` Thomas Wolff
2020-04-15 13:30     ` Paul Moore
2020-04-15 10:53 ` Csaba Ráduly
2020-04-15 13:29   ` Paul Moore
2020-04-15 15:53     ` Marco Atzeri
2020-04-15 18:10       ` Paul Moore [this message]
2020-04-15 18:30         ` René Berber
2020-04-15 18:39           ` Paul Moore
2020-04-15 20:49             ` René Berber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACac1F_ptn5Td_x5K2-8m5mqbiRN30NjJkrQWqPFiuQmx6FCnw@mail.gmail.com \
    --to=p.f.moore@gmail.com \
    --cc=cygwin@cygwin.com \
    --cc=marco.atzeri@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).