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
x/build/cmd/release: Cannot upgrade to go 1.5 directly through MSI package #12213
Comments
If someone can make this work, please do. |
Add upgrade attributes in wxs source
|
@linquize want to implement it? I have no idea what I'm doing with the wxs stuff. |
May be try to study from other projects https://github.com/jgm/pandoc/blob/master/windows/pandoc.wxs |
I can try to tackle this. (I've been looking for something to work on and this doesn't seem too hard) |
@tylrmac please do! let me know if you need help. |
@adg any tips for getting a Windows machine/VM set up for building a release build? I've never done a release build for Windows before. Already have my changes I'd like to test. |
See this from #11740 (comment)
You will need a windows computer with all bits installed. golang.org/x/build/env/windows/README describes the way Go builders are configured. You would only need appropriate bits of software installed - you can use "winstrap" program as described in README. Alex |
@alexbrainman Thanks! Have everything set up correctly now. Now to actually fix the problem... |
I have it working but the solution by default removes the old version before installing a newer version. Is that desired behavior? It's possible to prompt the user that the installer will remove the old install but I want to double check before I get it ready for code review. |
@tylrmac It would be great to prompt the user before deleting anything. |
I have this mostly working. Having a baby in a few days so will have to put off testing until after then. |
Thanks for your efforts! On 28 August 2015 at 07:03, Tyler McEntee notifications@github.com wrote:
|
ping |
Sorry @linquize, I have a fix but won't be able to do much with it until next week. Currently in the hospital awaiting the birth of our first child. |
@tylrmac, if you sent me what you have so far, I can pick up from there. I have some experience with wxs from current projects... BTW, all the best for you and your familiy, hope all went well! |
CL https://golang.org/cl/18071 mentions this issue. |
Will it be included in 1.5.3? |
I don't see why it wouldn't, but I don't know for sure. @adg builds msi files. Alex |
I added the 1.5.3 milestone so that can be considered for 1.5.3 (if there is a 1.5.3). I don't know whether this is appropriate or not. |
In golang website, |
I think you're correct. I think we should change website text. Except I don't know where the source code is. Alex |
@tylrmac updated Windows installer package (msi) in 1.5.3. The website text shiuld reflect this change. |
I would rather keep the text as-is, as it applies generally to all kinds of Go installation. Further, encouraging people to uninstall before installing a new version will lead to fewer support queries in the long term. |
I installed go 1.4.2 first.
Then I install
go1.5.windows-amd64.msi
package on Win7 x64.It shows an error message:
I expect it automatically upgrades previous version, but it does not.
The text was updated successfully, but these errors were encountered: