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

iojs-v1.0.1-x64.msi uninstalls existing nodejs installation #398

Closed
DustinLS opened this issue Jan 14, 2015 · 10 comments · May be fixed by scality/node#4, solebox/node#10, saeedahassan/node#15, olegnn/node#16 or enterstudio/node#10
Labels
install Issues and PRs related to the installers. windows Issues and PRs related to the Windows platform.

Comments

@DustinLS
Copy link

Selected a different folder for install to avoid this, but install still removed shortcuts, binaries, and batch files in the program files\nodejs folder.

Attempting to reinstall original nodejs results in installer cancelling install because a newer version is already installed, and does not give option to continue.

Any reason why the windows install can't treat nodejs and iojs as separate programs? Doesn't make sense that I would have to choose between one or the other.

@kfranqueiro
Copy link

FYI, you can download the standalone executable (found under the dist/v1.0.1/win-... directories) and put it in your PATH as a workaround (see #361 comments), but I agree that the installer should ideally not be so strong-armed since it's likely the first thing people will use (and there's somewhat of a related problem on OS X in #389).

I'm glad someone reported this separately, since #361 got closed as soon as they resolved the part where it was breaking npm.

@gyandeeps
Copy link

I very keen to use io.js but I dont want to loose my current nodejs installation as lot of my projects run on it. I think it would be good to have option to have both co-exist even if you are installing io.js using the installer. As a new user I want to try io.js before I can completely switch to it.

@mikeal
Copy link
Contributor

mikeal commented Jan 14, 2015

@gyandeeps the nvm project is working on solving this.

@piscisaureus
Copy link
Contributor

I agree this is an issue. It can be resolved by changing the UpgradeCode in the MSI package.

What concerns me is that if we change the code now, an upgrade from iojs 1.0.x to a future version of iojs will fail. What's the best course of action?

@bnoordhuis bnoordhuis added windows Issues and PRs related to the Windows platform. install Issues and PRs related to the installers. labels Jan 14, 2015
@bnoordhuis
Copy link
Member

@piscisaureus Fail how? If the new installer just won't install, we can simply highlight in the release notes that you need to uninstall the old version first.

@piscisaureus
Copy link
Contributor

Fail how? If the new installer just won't install

In unexpected ways :) The installer isn't made to overwrite existing files.

we can simply highlight in the release notes that you need to uninstall the old version first.

But indeed we can do that (and maybe at a message to the installer as well).

@piscisaureus
Copy link
Contributor

Please test #431

@piscisaureus
Copy link
Contributor

This will be fixed in iojs 1.0.2.

@No9
Copy link
Member

No9 commented Jan 16, 2015

So it to worked on my single test machine today but only after reboot.
The initial effect was for io and node to stop working :(
Is there an option to broadcast the env change in the installer with something like

http://support.microsoft.com/kb/104011
?

@piscisaureus
Copy link
Contributor

@No9 AFAIK the command prompt does not respond to WM_SETTINGCHANGE messages. A reboot should not be needed, but console windows need to be closed and re-opened.

The general issue (io.js uninstalls node) has been fixed so I'm closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment