node icon indicating copy to clipboard operation
node copied to clipboard

Can not install nodejs 4 on Windows 7 64-bit

Open letrunghieu opened this issue 11 years ago • 35 comments

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.

letrunghieu avatar Oct 19 '15 07:10 letrunghieu

cc @nodejs/platform-windows

Fishrock123 avatar Oct 19 '15 15:10 Fishrock123

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

benjamingr avatar Oct 19 '15 15:10 benjamingr

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.

mathiask88 avatar Oct 19 '15 20:10 mathiask88

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.

letrunghieu avatar Oct 20 '15 03:10 letrunghieu

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

sam83045 avatar Jan 09 '16 07:01 sam83045

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

torusweb avatar Jan 29 '16 20:01 torusweb

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

DarwinniwraD avatar Apr 22 '16 02:04 DarwinniwraD

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

IYTEC avatar Jun 11 '16 17:06 IYTEC

Thanks DarwinniwraD the solution helped me

rohit11245 avatar Jul 28 '16 02:07 rohit11245

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

vyasvaibhav avatar Aug 25 '16 17:08 vyasvaibhav

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.

ghost avatar Sep 22 '16 16:09 ghost

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

aaltat avatar Sep 27 '16 07:09 aaltat

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

chisumo2016 avatar Dec 09 '16 17:12 chisumo2016

@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

MylesBorins avatar Dec 09 '16 17:12 MylesBorins

ok let me try

chisumo2016 avatar Dec 09 '16 17:12 chisumo2016

Thank,it's working

chisumo2016 avatar Dec 09 '16 17:12 chisumo2016

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

ajudensi avatar Dec 17 '16 10:12 ajudensi

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)

trinne avatar Feb 23 '17 18:02 trinne

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

aaltat avatar Feb 23 '17 18:02 aaltat

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?

trinne avatar Feb 24 '17 15:02 trinne