-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
dist: windows installer should update system PATH #4651
Labels
Milestone
Comments
I just installed using the .msi today (new laptop at work. yay!) and I think it worked correctly. One other problem might be that he already had a cmd prompt open from before installing Go and used that existing process to run the commands. If the Go installer did, in fact, do the right thing by adding to the PATH, you need to start a new Cmd prompt window for it to get the updated path. |
"If the Go installer did, in fact, do the right thing by adding to the PATH, you need to start a new Cmd prompt window for it to get the updated path." I didn't launch the CMD window until after I had install the package. Also, closing and restarting the command window undid the manual "set PATH=c:\Go\bin;%PATH%" command. This might be a normal behavior of set, I have no idea. |
I see no problem. I have downloaded 386 msi installer from http://code.google.com/p/go/downloads/detail?name=go1.0.3.windows-386.msi&can=2&q=OpSys-Windows+Type%3DInstaller I run it. After successfull installation, I opened cmd window and run "go env" - here is my output: C:\Documents and Settings\aa>go env set GOARCH=386 set GOBIN= set GOCHAR=8 set GOEXE=.exe set GOGCCFLAGS=-g -O2 -m32 -mthreads set GOHOSTARCH=386 set GOHOSTOS=windows set GOOS=windows set GOPATH= set GOROOT=C:\Go set GOTOOLDIR=C:\Go\pkg\tool\windows_386 set CGO_ENABLED=1 Everything looks as expected. The installer adds 1 GO... variable to my environment: C:\Documents and Settings\aa>set | find "GO" GOROOT=C:\Go\ as expected again. My PATH environment variable has been extended too C:\Documents and Settings\aa>echo %PATH% ...;C:\Go\bin; with Go bin directory (as expected again). Is it possible that your computer already had some old Go settings from previous installations? Alex Status changed to WaitingForReply. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
The text was updated successfully, but these errors were encountered: