The Problem:
Node.js installation failed due to errors with codes 2502 and 2503. “The installer has encountered an unexpected error installing this package. This may indicate a problem with the package.”
The Explanation:
Some Windows Installer programs that come in .msi format are incompatible with Windows 8 and do not have the “Run as Administrator” option.
The Solution:
The installer needs to be launched with administrative permissions.
- Open Task Manager.
- Click on the “File” menu and “Run new task“.
- Click “Browse” and choose the msi installer file.
- Check “create this task with administrative privileges“.
- Click “OK” to run.
Run “Task Manager” , “File”, “Run new task” C:Users–“–Downloadsnode-v0.12.7-x64.msi
Create this task with administrative privileges