Node: Node does not completely uninstall itself on Windows

Created on 30 Apr 2019  路  3Comments  路  Source: nodejs/node

  • Version: 12.0.0
  • Platform: Windows 10 64x
  • Subsystem:

Steps to reproduce:

  1. Install Node 12.0.0
  2. Uninstall Node
  3. Install Node 10.15.3 (fails)

Expected behavior

Node 10.15.3 installs successfully

Actual behavior

Modal window popup A later version of Node.js is already installed. Setup will now exit.

The modal window is incorrect. Clearly, node setup detects previous files that have not been removed. It should not be able to do this.

NB: This bug is referenced in Issue #6501

help wanted install windows

All 3 comments

I could not reproduce. Following the given steps using the x64 MSI installers works well.

@rendall can you generate installation logs and attach the files here?

msiexec /i node-v12.0.0-x64.msi /L*v Install_v12.log
msiexec /x node-v12.0.0-x64.msi /L*v Uninstall_v12.log
msiexec /i node-v10.15.3-x64.msi /L*v Install_v10.log

@rendall Any update?

Yes. The v12 Uninstall and v10 Install logs are attached, although using msiexec on the commandline appears to resolve or bypass the issue.

I had used another method:
Control Panel => Programs => Programs and Features => Nodejs => Double-click => "Are you sure you want to uninstall Node.js?" => Yes

However, I was not able to replicate this error a second time. Not sure how to proceed. Close the issue, perhaps?

(For some reason, I called them both 'Uinstall', but despite the names, this is v12 uninstall and v10 install. )
Uinstall_v10.log
Uinstall_v12.log

I did not follow instructions precisely: Node 12 was already installed, and it would have required uninstalling and then reinstalling. Let me know if you need me to actually do that.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

srl295 picture srl295  路  3Comments

addaleax picture addaleax  路  3Comments

dfahlander picture dfahlander  路  3Comments

cong88 picture cong88  路  3Comments

mcollina picture mcollina  路  3Comments