Skip to content

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

Description

@DustinLS

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.

Activity

  1. kfranqueiro commented on Jan 14, 2015

    @kfranqueiro

    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.

  2. gyandeeps commented on Jan 14, 2015

    @gyandeeps

    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.

  3. mikeal commented on Jan 14, 2015

    @mikeal
    Contributor

    @gyandeeps the nvm project is working on solving this.

  4. piscisaureus commented on Jan 14, 2015

    @piscisaureus
    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?

  5. added
    windowsIssues and PRs related to the Windows platform.
    installIssues and PRs related to installing Node.js and its installers.
    on Jan 14, 2015
  6. bnoordhuis commented on Jan 14, 2015

    @bnoordhuis
    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.

  7. piscisaureus commented on Jan 14, 2015

    @piscisaureus
    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).

  8. piscisaureus commented on Jan 14, 2015

    @piscisaureus
    Contributor

    Please test #431

  9. piscisaureus commented on Jan 15, 2015

    @piscisaureus
    Contributor

    This will be fixed in iojs 1.0.2.

  10. No9 commented on Jan 16, 2015

    @No9
    Member

    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
    ?

  11. piscisaureus commented on Jan 19, 2015

    @piscisaureus
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    installIssues and PRs related to installing Node.js and its installers.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions