Skip to content
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 · 35 comments
Closed

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

letrunghieu opened this issue Oct 19, 2015 · 35 comments
Labels
install Issues and PRs related to the installers. windows Issues and PRs related to the Windows platform.

Comments

@letrunghieu
Copy link

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.

@bnoordhuis bnoordhuis added windows Issues and PRs related to the Windows platform. install Issues and PRs related to the installers. labels Oct 19, 2015
@Fishrock123
Copy link
Member

cc @nodejs/platform-windows

@benjamingr
Copy link
Member

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

@mathiask88
Copy link
Contributor

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
Copy link
Author

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
Copy link

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
Copy link

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

@DarwinniwraD
Copy link

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
Copy link

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
Copy link

Thanks DarwinniwraD the solution helped me

@vyasvaibhav
Copy link

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

@ghost
Copy link

ghost 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
Copy link

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
Copy link

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
Copy link
Member

@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
Copy link

ok let me try

@chisumo2016
Copy link

Thank,it's working

@ajudensi
Copy link

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
Copy link

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
Copy link

aaltat commented Feb 23, 2017

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

@trinne
Copy link

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
Copy link

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
Copy link
Member

@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
Copy link

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

@elevenpassin
Copy link

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

@danicoolpak17
Copy link

@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
Copy link

fwp728 commented Jul 19, 2017 via email

@kasaijaakiiki
Copy link

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

@sunzxs
Copy link

sunzxs commented Nov 22, 2017

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

@DrLonnieJonesPFMP
Copy link

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.

@Manucci85
Copy link

thanks !

@patitu
Copy link

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
Copy link

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

@ipranawake
Copy link

@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 :)

@zitruun
Copy link

zitruun commented Jul 5, 2021

can anyone help me i have tried everything you sent but nothing works??
problem

@johnmarquess
Copy link

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

mucho gracias!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Issues and PRs related to the installers. windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

No branches or pull requests