Skip to content
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

windows: can not install upon older version #7441

Closed
JayXon opened this issue Mar 3, 2014 · 4 comments
Closed

windows: can not install upon older version #7441

JayXon opened this issue Mar 3, 2014 · 4 comments

Comments

@JayXon
Copy link

JayXon commented Mar 3, 2014

What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. Install go1.2.windows-amd64.msi
2. Install go1.2.1.windows-amd64.msi

What is the expected output?
The installer should replace the older version with the new version or uninstall the
older version automatically and then install the new version.

What do you see instead?
Error: Another version of this product is already installed. Installation of this
version cannot continue. To configure or remove the existing version of this product,
use Add/Remove Programs on the Control Panel.

Which operating system are you using?
Windows 8.1

Which version are you using?  (run 'go version' or 'gccgo --version')
1.2.1

Please provide any additional information below.
@rsc
Copy link
Contributor

rsc commented Mar 4, 2014

Comment 1:

Labels changed: added release-none.

Status changed to Accepted.

@jpoirier
Copy link
Member

Comment 2:

The default, safe, behavior is to only allow the original installer or the system's
"add/remove programs" feature to remove an installation. 
IIRC, there were instances where the new installer left artifacts from the old installer
when a delta existed between the two. E.g. when environment variables were changed
between the old and new installers. 
The WIX application itself has changed considerably since the original installer.wxs
file was spawned and it may not be an issue now, provided a new WIX application is being
used.

@adg
Copy link
Contributor

adg commented Jul 28, 2014

Comment 3:

We're still using the same version of WiX that was used to build the original Go 1.0
installers. I haven't upgraded because I don't want to break anything.
This issue seems like a WorkingAsIntended to me, since it seems reasonable that you
should uninstall the old version before installing a newer one.

Status changed to WorkingAsIntended.

@jpoirier
Copy link
Member

Comment 4:

It's definately working as was intended. 
It would be a bit more convenient if any installer were able to uninstall any version
but it wasn't worth potentially messing up the user's environment, especially since it's
only a minor inconvenience to uninstall via the system's "add/remove programs"
functionality.

@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants