New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not install nodejs 4 on Windows 7 64-bit #3431

Closed
letrunghieu opened this Issue Oct 19, 2015 · 32 comments

Comments

Projects
None yet
@letrunghieu

letrunghieu commented Oct 19, 2015

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.

@Fishrock123

This comment has been minimized.

Member

Fishrock123 commented Oct 19, 2015

@benjamingr

This comment has been minimized.

Member

benjamingr commented Oct 19, 2015

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

@mathiask88

This comment has been minimized.

Contributor

mathiask88 commented Oct 19, 2015

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.

@letrunghieu

This comment has been minimized.

letrunghieu commented Oct 20, 2015

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.

@sam83045

This comment has been minimized.

sam83045 commented Jan 9, 2016

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

@torusweb

This comment has been minimized.

torusweb commented Jan 29, 2016

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

@DarwinniwraD

This comment has been minimized.

DarwinniwraD commented Apr 22, 2016

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

@IYTEC

This comment has been minimized.

IYTEC commented Jun 11, 2016

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

@rohit11245

This comment has been minimized.

rohit11245 commented Jul 28, 2016

Thanks DarwinniwraD the solution helped me

@vyasvaibhav

This comment has been minimized.

vyasvaibhav commented Aug 25, 2016

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

@coben4w

This comment has been minimized.

coben4w commented Sep 22, 2016

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.

@aaltat

This comment has been minimized.

aaltat commented Sep 27, 2016

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

@chisumo2016

This comment has been minimized.

chisumo2016 commented Dec 9, 2016

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

@MylesBorins

This comment has been minimized.

Member

MylesBorins commented Dec 9, 2016

@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

@chisumo2016

This comment has been minimized.

chisumo2016 commented Dec 9, 2016

ok let me try

@chisumo2016

This comment has been minimized.

chisumo2016 commented Dec 9, 2016

Thank,it's working

@ajudensi

This comment has been minimized.

ajudensi commented Dec 17, 2016

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

@trinne

This comment has been minimized.

trinne commented Feb 23, 2017

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)

@aaltat

This comment has been minimized.

aaltat commented Feb 23, 2017

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

@trinne

This comment has been minimized.

trinne commented Feb 24, 2017

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?

@aaltat

This comment has been minimized.

aaltat commented Feb 24, 2017

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.

@joaocgreis

This comment has been minimized.

Member

joaocgreis commented Feb 28, 2017

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

@danicoolpak17

This comment has been minimized.

danicoolpak17 commented Mar 2, 2017

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

@buoyantair

This comment has been minimized.

buoyantair commented Jun 8, 2017

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

@danicoolpak17

This comment has been minimized.

danicoolpak17 commented Jul 18, 2017

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

@fwp728

This comment has been minimized.

fwp728 commented Jul 19, 2017

@kasaijaakiiki

This comment has been minimized.

kasaijaakiiki commented Nov 9, 2017

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

@sunzxs

This comment has been minimized.

sunzxs commented Nov 22, 2017

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

@DrLonnieJonesPFMP

This comment has been minimized.

DrLonnieJonesPFMP commented Apr 16, 2018

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\Roaming\npm".
  8. Ran the install, it worked, and restarted.

I hope this helps.

@Manni2

This comment has been minimized.

Manni2 commented Jun 9, 2018

thanks !

@patitu

This comment has been minimized.

patitu commented Jun 18, 2018

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

This comment has been minimized.

palmamta commented Oct 30, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment