Node: Can not install nodejs 4 on Windows 7 64-bit

Created on 19 Oct 2015  ·  33Comments  ·  Source: nodejs/node

Are there any one meet the problem like me when installing nodejs 4 on a Windows 7 64-bit machine? I can install the 0.12 version (32-bit version) on the machine successfully. However, the new installer of nodejs always throws me an error

There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor

I tried with both 32-bit and 64-bit versions on my machine with nodejs installer 4.0, 4.1, 4.2 and 4.2.1. I received the same error.

install windows

Most helpful comment

@fwp728 Hi
I was having the same trouble with my Node.JS installer . It is not issue that the installer has just need to change some settings. I did the below steps.

1 - Clean TEMP Folder
2 - Disable your antivirus for 10 mins or so.
3 - Then do the below steps.
4 - Go to C:>users>"UserName">AppData>Local>Temp
5 - Right Click on Temp and go to Properties
6 - Select Security Tab
7 - Select the User and check the permission and controll give the user full control by Checking Full Control on permission
8 - Go Ahead and Install Node.js and Enjoy.

All 33 comments

cc @nodejs/platform-windows

@letrunghieu before we investigate this further - can you try deleting C:\Users\x\AppData\Local\Temp and running the installer with admin privileges?

Installer log usually helps:

msiexec /i <filename>.msi /l*v InstallLog.txt

If you cannot get it fixed run the command and gist the content.

I ran the installer with msiexec yesterday, too. This is the content of the log file.

=== Logging started: 10/19/2015  13:44:59 ===
Action start 13:44:59: INSTALL.
Action start 13:44:59: SetInstallScope.
CustomAction SetInstallScope returned actual error code 1157 (note this may not be 100% accurate if translation happened inside sandbox)
Info 2898.For WixUI_Font_Normal textstyle, the system created a 'Tahoma' font, in 0 character set, of 13 pixels height.
Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor.  Action SetInstallScope, entry: SetInstallScope, library: C:\Users\CODEFO~1\AppData\Local\Temp\MSI7073.tmp 
MSI (c) (78:E4) [13:45:04:065]: Product: Node.js -- Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor.  Action SetInstallScope, entry: SetInstallScope, library: C:\Users\CODEFO~1\AppData\Local\Temp\MSI7073.tmp 

Action ended 13:45:04: SetInstallScope. Return value 3.
Action start 13:45:04: FatalError.
Info 2898.For WixUI_Font_Bigger textstyle, the system created a 'Tahoma' font, in 0 character set, of 19 pixels height.
Action ended 13:45:05: FatalError. Return value 2.
Action ended 13:45:05: INSTALL. Return value 3.
=== Logging stopped: 10/19/2015  13:45:05 ===
MSI (c) (78:E4) [13:45:05:193]: Windows Installer installed the product. Product Name: Node.js. Product Version: 4.2.1. Product Language: 1033. Manufacturer: Node.js Foundation. Installation success or error status: 1603.

However, I did as @benjamingr say and finally installed nodejs 4.2.1 x64 successfully without after clearing the Temp folder.

Thanks for all of your help.

Above work around didn't work for me. Coz antivirus was blocking some files. So disabled the antivirus for sometime and it worked.

In my case, I had to install the msi as an administrator. See this article for how to do it

maybe you need install that package through the command line, like that,
1) run the cmd as the administrator,
2) input the msiexec /i A:\nodejs.msi

For more information of the command lines, you can visit Command-Line Options

Issue is closed, but just for anybody that is having same problem. I installed mine through (chocolatey. And it works perfect.

Thanks DarwinniwraD the solution helped me

Try installing it again after disabling your anti-virus. It worked for me :)

Ok, install failed on windows 7. When running the msi install, uncheck (do not install) performance counters under the node runtime. Then this installs fine for me. Just doing development I don't need the optimization on my local machine. Not sure why my win 7 machine had the problem, but it worked for me.

I also have a similar problem but the solution provided by @coben4w did work for me. The installation log can be found from gist

Hi Guys ,
I am having a problem to install node.js I have tried all the solution still not working
There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor

@nyangeta did you recently download, as in the last hour? We were having issues with our host. Can you try redownloading and installing one more time

ok let me try

Thank,it's working

On windows 10, open cmd as ADMIN, change directory to where u have node.js msi file. Then run
msiexec /i node.msi

For me, I had
C:\Users\Me\Downloads>msiexec /i node-v6.9.2-x64.msi

All thanks to DarwinniwraD

Hi,

I am having same problems with Windows 10. I have tried all suggested solutions above but the issue remains.

Tried installing the LTE (6.10.0) and the Current build (7.6.0)

Cleaning old node installation, with regedit and tmp folders, along with Windows reboot did finally solved my problems

Yeah, well... The problem is that I haven't successfully installed node yet. I tried to look for something relating to node from the regedit, but I couldn't figure out if they were part of node installation or not. (Searching node or npm in regedit gives a whole lot of results that aren't related to node installation.)

Do you have some tips what exactly should I be looking for from regedit?

It was already some timeago and i do not have recollection on the matter. But I deleted only things that where clearly related to node or npm and also did have lots of unrelated hits.

@trinne can you try to run this in an Administrator Command Prompt (right click, run as Administrator):

LODCTR /S:lodctr_backup.ini
LODCTR /R

If that doesn't work, please create an installation log with msiexec /i <filename>.msi /l*v InstallLog.txt and share it here.

@fwp728 Hi
I was having the same trouble with my Node.JS installer . It is not issue that the installer has just need to change some settings. I did the below steps.

1 - Clean TEMP Folder
2 - Disable your antivirus for 10 mins or so.
3 - Then do the below steps.
4 - Go to C:>users>"UserName">AppData>Local>Temp
5 - Right Click on Temp and go to Properties
6 - Select Security Tab
7 - Select the User and check the permission and controll give the user full control by Checking Full Control on permission
8 - Go Ahead and Install Node.js and Enjoy.

Someone help me, I'm also having this issue and all the above solutions didn't work for me.

@buoyantair can you tell me what exactly is it saying or post a picture of it.
Are you above is not working and you followed the steps.

Hello,

I had found the cause. My OS is Win7 . So anyone who'd like to install the Nodejs must be given the administrator permission.

|
方文平
[email protected]
公司名称:杭州戬威机电科技有限公司
地址:杭州市余杭区荆长路768#顺帆信息产业园B区6#楼405室
电话:15336566035
手机:15858222483
|

扫描该二维码,可以将电子名片迅速保存到手机 使用帮助

|

At 2017-07-18 22:50:25, "Raja" notifications@github.com wrote:

@buoyantair can you tell me what exactly is it saying or post a picture of it.
Are you above is not working and you followed the steps.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Navigate to node-v8.9.1-x64.msi file using Command Prompt... (cmd)

Permission setting for Temp folder solved the problem.
C:>users>"UserName">AppData>Local>Temp

I had used all of the methods above, a few others from other forums, and Stack Overflow.
This is what I did to fix it:

  1. I used disk cleanup to clear the temp folder.
  2. Made sure my account was the Temp folder owner and had full control.
  3. Enabled all Windows services (some of mine were disabled).
  4. Installed all updates and installed .NET 3.5, .NET 4.7, SMB 1.0, and Powershell 2.0, and GitHub desktop in Windows features/control panel. Restarted my computer.
  5. Went offline and disabled my security system (both antivirus & firewall) for ~5 min.
  6. When I would run the MSI, the UAC consent would show but nothing seemed to happen. I turned UAC to the minimum settings.
  7. Manually created the directories "UserName\AppData\Roamingnpm".
  8. Ran the install, it worked, and restarted.

I hope this helps.

thanks !

Si, el problema parece ser que al ser un msi, no te da la opcion de ejecutar como administrador.. desde la ventana de comandos anduvo bien la ultima Version!!!

Quiero decir que segui los siguientes pasos:

1) abrir cmd con permisos de administrador
2) msiexec /i d:\node-v8.11.3-x64.msi

Can anybody help me ? I'm having the same issue.
i had try all the solution above

@fwp728 Hi
I was having the same trouble with my Node.JS installer . It is not issue that the installer has just need to change some settings. I did the below steps.

1 - Clean TEMP Folder
2 - Disable your antivirus for 10 mins or so.
3 - Then do the below steps.
4 - Go to C:>users>"UserName">AppData>Local>Temp
5 - Right Click on Temp and go to Properties
6 - Select Security Tab
7 - Select the User and check the permission and controll give the user full control by Checking Full Control on permission
8 - Go Ahead and Install Node.js and Enjoy.

You saved my day .... Thank you :)

Was this page helpful?
0 / 5 - 0 ratings