public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Unable to retain installation configuration on Windows 10
@ 2015-09-22 12:25 Xi Shen
  2015-09-22 16:29 ` Brian Inglis
  0 siblings, 1 reply; 5+ messages in thread
From: Xi Shen @ 2015-09-22 12:25 UTC (permalink / raw)
  To: cygwin

Hi,

On Windows 7, the setup program is able to remember last install
location. But on Windows 10 64 bit, the installation root is always
"c:\cygwin64", and the package location is always
"current_dir\cygwin64".

I think some register key is messed up?


Thanks,
David

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Unable to retain installation configuration on Windows 10
  2015-09-22 12:25 Unable to retain installation configuration on Windows 10 Xi Shen
@ 2015-09-22 16:29 ` Brian Inglis
  2015-09-23  9:20   ` Andrey Repin
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Inglis @ 2015-09-22 16:29 UTC (permalink / raw)
  To: cygwin

Xi Shen <davidshen84 <at> gmail.com> writes:
> On Windows 7, the setup program is able to remember last install
> location. But on Windows 10 64 bit, the installation root is always
> "c:\cygwin64", and the package location is always
> "current_dir\cygwin64".
> 
> I think some register key is messed up?

Install directory can be seen using:
$ reg query HKLM\\SOFTWARE\\Cygwin\\setup /s
or
$ echo $( < /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygwin/setup/rootdir )
and the package directory using:
$ fgrep -A1 last-cache /etc/setup/setup.rc



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Unable to retain installation configuration on Windows 10
  2015-09-22 16:29 ` Brian Inglis
@ 2015-09-23  9:20   ` Andrey Repin
  2015-09-23 12:46     ` Brian Inglis
  0 siblings, 1 reply; 5+ messages in thread
From: Andrey Repin @ 2015-09-23  9:20 UTC (permalink / raw)
  To: Brian Inglis, cygwin

Greetings, Brian Inglis!

> $ echo $( < /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygwin/setup/rootdir )
> and the package directory using:

Err, why not just
cat /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygwin/setup/rootdir

?
"Avoiding cats at all costs" ?


-- 
With best regards,
Andrey Repin
Wednesday, September 23, 2015 12:14:39

Sorry for my terrible english...


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Unable to retain installation configuration on Windows 10
  2015-09-23  9:20   ` Andrey Repin
@ 2015-09-23 12:46     ` Brian Inglis
  2015-09-23 14:11       ` litter
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Inglis @ 2015-09-23 12:46 UTC (permalink / raw)
  To: cygwin

On 2015-09-23 03:15, Andrey Repin wrote:
> Greetings, Brian Inglis!
>
>> $ echo $( < /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygwin/setup/rootdir )
>> and the package directory using:
>
> Err, why not just
> cat /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygwin/setup/rootdir

No \n after value so appears at start of prompt, and could be missed.
Suggestion puts it on a separate line.

> ?
> "Avoiding cats at all costs" ?

I see no (explicit) cats in my suggestion ;^>

-- 
Take care. Thanks, Brian Inglis

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Unable to retain installation configuration on Windows 10
  2015-09-23 12:46     ` Brian Inglis
@ 2015-09-23 14:11       ` litter
  0 siblings, 0 replies; 5+ messages in thread
From: litter @ 2015-09-23 14:11 UTC (permalink / raw)
  To: cygwin

On 2015-09-23 14:46, Brian Inglis wrote:
> On 2015-09-23 03:15, Andrey Repin wrote:
>> Greetings, Brian Inglis!
>>
>>> $ echo $( < /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygwin/setup/rootdir )
>>> and the package directory using:
>>
>> Err, why not just
>> cat /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygwin/setup/rootdir
> 
> No \n after value so appears at start of prompt, and could be missed.
> Suggestion puts it on a separate line.

Neat


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-09-23 14:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-22 12:25 Unable to retain installation configuration on Windows 10 Xi Shen
2015-09-22 16:29 ` Brian Inglis
2015-09-23  9:20   ` Andrey Repin
2015-09-23 12:46     ` Brian Inglis
2015-09-23 14:11       ` litter

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).