From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) by sourceware.org (Postfix) with ESMTPS id 0D794386F037 for ; Wed, 15 Apr 2020 18:11:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0D794386F037 Received: by mail-qk1-x729.google.com with SMTP id l78so2654111qke.7 for ; Wed, 15 Apr 2020 11:11:04 -0700 (PDT) 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: <08f1afcc-e045-25c5-6b7d-c37ee841b6c2@gmail.com> In-Reply-To: <08f1afcc-e045-25c5-6b7d-c37ee841b6c2@gmail.com> From: Paul Moore Date: Wed, 15 Apr 2020 19:10:52 +0100 Message-ID: Subject: Re: Can I find where cygwin is installed (for automation purposes) To: Marco Atzeri Cc: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2020 18:11:05 -0000 On Wed, 15 Apr 2020 at 16:54, Marco Atzeri via Cygwin w= rote: > > Am 15.04.2020 um 15:29 schrieb Paul Moore via Cygwin: > > On Wed, 15 Apr 2020 at 11:54, Csaba R=C3=A1duly via Cygwin 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:\c= ygwin64". > > > > 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