From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by sourceware.org (Postfix) with ESMTPS id 182EC385DC1B for ; Wed, 15 Apr 2020 15:53:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 182EC385DC1B Received: by mail-wr1-x435.google.com with SMTP id b11so450066wrs.6 for ; Wed, 15 Apr 2020 08:53:16 -0700 (PDT) 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) Received: from ?IPv6:2003:ee:6717:5001:1c25:b28e:2c24:a0b0? (p200300EE671750011C25B28E2C24A0B0.dip0.t-ipconnect.de. [2003:ee:6717:5001:1c25:b28e:2c24:a0b0]) by smtp.gmail.com with ESMTPSA id n6sm1850wmn.10.2020.04.15.08.53.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Apr 2020 08:53:13 -0700 (PDT) Subject: Re: Can I find where cygwin is installed (for automation purposes) To: cygwin@cygwin.com References: From: Marco Atzeri 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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@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 15:53:17 -0000 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 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