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

Node.js Setup Wizard ended prematurely #264

Closed
pogo1 opened this issue Aug 24, 2016 · 34 comments
Closed

Node.js Setup Wizard ended prematurely #264

pogo1 opened this issue Aug 24, 2016 · 34 comments

Comments

@pogo1
Copy link

pogo1 commented Aug 24, 2016

Repeatedly attempted to install node-v6.4.0-x64.msi on Win7 machine using command prompt.

msiexec /i C:\Users\Tom\Downloads\node-v6.4.0-x64.msi /L*V example2.log

Previously installed version was v4.4.0 for Node.js and v3.7.3 for npm.

image

When first upgrade attempt was unsucessful, I deleted all files associated w/ Node.js and npm on PC and in PATH.

Installer appears to complete "Copying new files" actions, then immediately begins to rollback the actions and ends by displaying the "Node.js Setup Wizard ended prematurely" error message.

msiexec shows the following "Return value 3." error message. Complete log is attached.

Any help would be greatly appreciated.

Best regards,
pogo

example2.log.txt

Action 16:03:05: RegisterPerfmonManifest.
MSI (s) (28:60) [16:03:05:227]: Executing op: CustomActionSchedule(Action=RegisterPerfmonManifest,ActionType=3073,Source=BinaryData,Target=CAQuietExec,CustomActionData="lodctr.exe" /m:"C:\Program Files\nodejs\node_perfctr_provider.man" "C:\Program Files\nodejs")
MSI (s) (28:98) [16:03:05:227]: Invoking remote custom action. DLL: C:\Windows\Installer\MSICCEA.tmp, Entrypoint: CAQuietExec
MSI (s) (28:10) [16:03:05:227]: Generating random cookie.
MSI (s) (28:10) [16:03:05:227]: Created Custom Action Server with PID 1116 (0x45C).
MSI (s) (28:14) [16:03:05:258]: Running as a service.
MSI (s) (28:14) [16:03:05:258]: Hello, I'm your 32bit Elevated Non-remapped custom action server.
CAQuietExec:
CAQuietExec: Error 0x8007000d: Command line returned an error.
CAQuietExec: Error 0x8007000d: QuietExec Failed
CAQuietExec: Error 0x8007000d: Failed in ExecCommon method
CustomAction RegisterPerfmonManifest returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 16:03:05: InstallFinalize. Return value 3.
MSI (s) (28:60) [16:03:05:867]: User policy value 'DisableRollback' is 0

@Knighton910
Copy link
Contributor

Knighton910 commented Aug 29, 2016

so you are indeed installing it from here: https://nodejs.org/en/download/current/ then selecting your system?

I don't have extended experience on windows

@pogo1
Copy link
Author

pogo1 commented Aug 29, 2016

Downloaded .msi files from home page https://nodejs.org/en/

image

Here are the files, both 64-bit.

image

@sthallapelly
Copy link

Hi,
I'm also facing the same problem. any solution?

@pogo1
Copy link
Author

pogo1 commented Sep 10, 2016

Not yet. I'm actually going to see if I can possibly install an older nodejs version that was working previously. If this works, I'll let you know.

@pogo1
Copy link
Author

pogo1 commented Sep 10, 2016

Installed the earlier version but w/o Performance Counters. It worked!
nodejs/node#4329

@sthallapelly
Copy link

Thank you. it's not worked for me. :(

On Sun, Sep 11, 2016 at 4:11 AM, pogo1 notifications@github.com wrote:

Installed the earlier version but w/o Performance Counters. It worked!
nodejs/node#4329 nodejs/node#4329


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#264 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ARR7UIY9wK6Fc6EHuEz2GWDfvV9e6piNks5qow7sgaJpZM4JsbXg
.

Ciao..
Suman.t
91 9704083784.

@vaidyaanand
Copy link

I am also facing same problem... does any buddy have solution for this ?

@sthallapelly
Copy link

Hi,
I did a workaround, I copied the installed folder from my friend system and
set the class path. npm seams working.
But I installed angular-cli using npm it's installed successfully but ng
command is not working it's saying "ng not recognized" I tried many
suggestions posted over net without luck.
looking forward for help..

On Wed, Sep 21, 2016 at 3:15 PM, vaidyaanand notifications@github.com
wrote:

I am also facing same problem... does any buddy have solution for this ?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#264 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ARR7UBc4ZRs4v8m3JR2asANM8qWfCFEoks5qsNmQgaJpZM4JsbXg
.

Ciao..
Suman.t
91 9704083784.

@vaidyaanand
Copy link

I have resolved my issue. I just mark "performance counter" to "Install when required" during installation of node.js

@sthallapelly
Copy link

Hi guys,

I overlooked the term "performance counter". Can some one help with the
steps to install with out performance counter.

On Thu, Sep 22, 2016 at 8:30 PM, vaidyaanand notifications@github.com
wrote:

I have resolved my issue. I just mark "performance counter" to "Install
when required" during installation of node.js


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#264 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ARR7UOhSfIjyERnGCFRqVyogcefsTzGyks5qsnUBgaJpZM4JsbXg
.

Ciao..
Suman.t
91 9704083784.

@anmarcek
Copy link

anmarcek commented Nov 4, 2016

Hi guys,

I do experience exactly the same issue - mine installation log file looks pretty much the same and also the installation process passes without performance counters.

I do use Win 7 64bit and I tried to install node 4.2.1 x64.

Also I believe it is worth mentioning that I have had another version of node installed before (don't remember which one). As my Windows profile was damaged by our system admins I could not properly uninstall the previous version so I just deleted the node/npm related files and removed it from the PATH variable.

@Knighton910
Copy link
Contributor

closing for now @anmarcek if you still experiencing issue let me know, Start a new issue & ping @lordKnighton

@danicoolpak17
Copy link

Dear All

@pogo1 @sthallapelly @vaidyaanand @anmarcek 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.

@frank3141
Copy link

Tried all of the above and still does not work.

  1. Had an old installation, so I tried to delete and got the same can't run a dll error.
  2. Deleted nodejs and npm directories from ProGram files and app directories and removed npm from path, node js wasn't there.
  3. Still can't delete.
  4. Reboot still can't delete or in stall, same error message.
  5. Checked Temp permissions, all what they should be.
  6. Still can't uninstall from control panel
  7. Install also bails in the same way.
  8. Command prompt where nodejs or npm says it can't find.
  9. Deleted the registry key for the perflib still does not work

I am running out of ideas, can't find the installed program as all relevant directory items have been deleted and can't install a new one.

Any ideas?
Thanks

@Knighton910
Copy link
Contributor

how did you install it? Give steps on how you went by installation: the more in depth the better. It will give me a trail. So lets see if we can help you with this.

@frank3141
Copy link

frank3141 commented Mar 17, 2017 via email

@Knighton910
Copy link
Contributor

Hey Frank 🌟 , type where node in your terminal/console?

@frank3141
Copy link

frank3141 commented Mar 18, 2017 via email

@danicoolpak17
Copy link

@lordKnighton @frank3141
Hello Guys , Have you done the securities step from the security tab. I tried all the steps only this one worked for me.
Can you let me know if you have tried to remove the permissions from the TEMP folder.

@frank3141
Copy link

frank3141 commented Mar 18, 2017 via email

@mumtaz
Copy link

mumtaz commented Jun 25, 2017

Hi Guys,
I think I was able to fix it!
I first downloaded node.js V 8.1.2 and tried to run the setup but got the same screen that tells "Node.js Setup Wizard ended prematurely". I took the log by running the setup msi file from command prompt and obtain a log by issuing this command:

"node-v8.1.2-x64.msi" /lxc c:\logs\mynode.log

Note: you must have "logs" folder on c: otherwise create one manually.
I found the following error listed at the end of the log:

Action start 8:09:49: FatalError.
Action ended 8:09:50: FatalError. Return value 2.
Action ended 8:09:50: INSTALL. Return value 3.
=== Logging stopped: 6/25/2017 8:09:50 ===
MSI (c) (C8:94) [08:09:50:504]: Product: Node.js -- Installation failed.

Then I took a couple of actions based on suggestions in some other threads of similar discussion:

1- I stopped "Windows Defender"
2- Turned off the firewall
3- Emptied the "Temp" folder C:\Users\user\AppData\Local\temp. ( a better way is to use Windows disk-cleanup utility which will not delete currently used temp files by other programs.

I tried the setup but still the same error.

Then I suddenly noticed that google chrome is running on my desktop and as per what I learned V8 engine is developed by google, so I assumed by closing it the setup should work; however to be more proactive, I closed all applications running on my pc including Visual Studio 2015 and restarted it.

I ran the setup and it worked. Not sure if it will help you guys too, but that's what I did and it worked for me.

Thanks

@Benevolent27
Copy link

I had a few issues preventing the install. This is what I did:

  1. I had to take ownership of the "C:\Users\Games\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Node.js" folder. (google "add take ownership to explorer" if this is a problem you have frequently)

I thought this would fix it, but it still kept failing. For some reason it could not create a URL link to the folder. I tried some other solutions and they weren't working either.. So I kept on.

  1. I noticed "administrators" usergroup did not have read/write access to the "C:\Users\MYUSERNAME\AppData\Local\temp" folder so I gave all permissions in the security tab for the "ADMINISTRATORS" group.
  2. I ran the "Disk Cleanup" wizard and cleared out the temp folder.

It now installed ran fine. Gotta love windows forgetting that users have permission to write to native windows folders for no apparent reason..

@emlynjones
Copy link

I also had this issue where the installation ended prematurely - I had Node installed previously also.

I found a few files named "npm" scattered around AppData and other areas, and deleted them.

The solution for me was to disable antivirus for 10 minutes (Avast).

Thanks all for the help, but it sounds like something might need to be changes to keep the AV gods happy during installation?

Emlyn

@dtobi59
Copy link

dtobi59 commented May 13, 2018

hello, have tried every thing here but to no avail.

@burtek
Copy link

burtek commented May 17, 2018

Confirmed @emlynjones' solution with disabling Avast! Antivirus.

@danecek099
Copy link

Here too, Avast! Antivirus was causing the instalation to fail

@CrazyMastermind
Copy link

I'm on windows 10 and disabling avast worked for me.
Thanks.

@steffhimes
Copy link

I turned off AVG antivirus and then Node.js installed fine. I tried everything else listed in this thread.

@chris-sta
Copy link

Thank you so much. Disabling Avast worked !!

@maisonsmd
Copy link

Disabling Avast Antivirus during installation helped! Thanks so much!

@lbc693
Copy link

lbc693 commented Jun 7, 2018

I've had to disable AVG, too.

@Gugro0
Copy link

Gugro0 commented Jul 1, 2018

Node v8.11.3 on Windows 7 64 bit:

@CarolineSantosAlves
Copy link

Depois de tentar todos as opções a cima , o que deu certo para mim foi instalar através do chocolatey.org via cmd

@AlvinThorn008
Copy link

https://www.youtube.com/watch?v=h7BmUqsuteM
This video solved all my problems.

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

No branches or pull requests