-
Notifications
You must be signed in to change notification settings - Fork 18k
install: Windows: MSI Upgrade should default to previous install folder, not insist on C:\Go\ #21609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
CC @broady |
The utility will have to remember where the previous installation occured. How would it do this? |
It could write the install path to HKLM/Software/Golang/InstallPath (or whatever you are using now) when installing. Next install reads it, and suggests that. If key is missing, it just uses default folder like now.
…________________________________
Fra: as <[email protected]>
sendt: 11. sep. 2017 10.42 PM
til: golang/go
Cc: Lars Karlslund; Author
Emne: Re: [golang/go] install: Windows: MSI Upgrade should default to previous install folder, not insist on C:\Go\ (#21609)
The utility will have to remember where the previous installation occured. How would it do this?
-
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#21609 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AIhB-2AQj7sUi6myQD6cw8LJURsQqNxwks5shZsegaJpZM4PChEe>.
|
That may be a good option. It seems the installer already places a gift in the registry:
Someone with MSI expertise can take it from here. |
Just for the record, I really like Windows has a |
Default location is now This seems incidentally solved by #18680. |
This is still a problem for me. I have Go installed under |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?1.9 release
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?Windows
What did you do?
Had Go 1.9rc2 installed in C:\Program Files\Go
Wizard asked if I wanted to uninstall old during upgrade, I chose YES
Wizard asks where I want to install new version, defaults to C:\Go\
What did you expect to see?
I expected it to suggest installation in the previously selected folder, as this is an upgrade, and everything in environment is set for that path.
What did you see instead?
It insists on suggesting C:\Go\ which fills up my root folder with more directories. I don't get it why you don't use Program Files as everything else on Windows. This is not Linux (and you would never suggest to install in /go/ on a Linux system anyway)
The text was updated successfully, but these errors were encountered: