help icon indicating copy to clipboard operation
help copied to clipboard

Node.js Setup Wizard ended prematurely

Open pogo1 opened this issue 10 years ago • 34 comments

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

pogo1 avatar Aug 24 '16 20:08 pogo1

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

Knighton910 avatar Aug 29 '16 19:08 Knighton910

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

image

Here are the files, both 64-bit.

image

pogo1 avatar Aug 29 '16 20:08 pogo1

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

sthallapelly avatar Sep 09 '16 14:09 sthallapelly

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 avatar Sep 10 '16 19:09 pogo1

Installed the earlier version but w/o Performance Counters. It worked! https://github.com/nodejs/node/issues/4329

pogo1 avatar Sep 10 '16 20:09 pogo1

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

On Sun, Sep 11, 2016 at 4:11 AM, pogo1 [email protected] wrote:

Installed the earlier version but w/o Performance Counters. It worked! nodejs/node#4329 https://github.com/nodejs/node/issues/4329

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nodejs/help/issues/264#issuecomment-246134901, or mute the thread https://github.com/notifications/unsubscribe-auth/ARR7UIY9wK6Fc6EHuEz2GWDfvV9e6piNks5qow7sgaJpZM4JsbXg .

Ciao.. Suman.t 91 9704083784.

sthallapelly avatar Sep 11 '16 05:09 sthallapelly

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

vaidyaanand avatar Sep 21 '16 07:09 vaidyaanand

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 [email protected] 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 https://github.com/nodejs/help/issues/264#issuecomment-248530597, or mute the thread https://github.com/notifications/unsubscribe-auth/ARR7UBc4ZRs4v8m3JR2asANM8qWfCFEoks5qsNmQgaJpZM4JsbXg .

Ciao.. Suman.t 91 9704083784.

sthallapelly avatar Sep 22 '16 12:09 sthallapelly

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

vaidyaanand avatar Sep 22 '16 12:09 vaidyaanand

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 [email protected] 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 https://github.com/nodejs/help/issues/264#issuecomment-248890245, or mute the thread https://github.com/notifications/unsubscribe-auth/ARR7UOhSfIjyERnGCFRqVyogcefsTzGyks5qsnUBgaJpZM4JsbXg .

Ciao.. Suman.t 91 9704083784.

sthallapelly avatar Sep 25 '16 07:09 sthallapelly

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.

anmarcek avatar Nov 04 '16 08:11 anmarcek

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

Knighton910 avatar Dec 10 '16 01:12 Knighton910

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.

danicoolpak17 avatar Mar 02 '17 21:03 danicoolpak17

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

frank3141 avatar Mar 16 '17 20:03 frank3141

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.

Knighton910 avatar Mar 16 '17 21:03 Knighton910

Thanks for the quick response. My first attempt was to download node-v6.10.0-x64.msi and try to install. When I did I got the can't execute some dll and it bailed. Thought it might be a previous installation. Tried Control Panel uninstall and the uninstall produced the same error message and did not uninstall.

Removed the nodejs directory from ProgramFiles and the npm directory from the app data directory, deleted the register keys mentioned in many of the posts, rebooted and tried again. Still get the same, can't uninstall with control panel adn can't install the msi. Tried an admin command window to launch the install to no avail. Install looks to be at the 85-90% complete level. Also tried node-v7.7.3-x64.msi and exactly the same thing happens. One feed said that the permissions for TEMP may be wrong, opened them up but it didn't help. I have no idea what dll as it justs says it cannot run a dll.

Set up registry key for install logging.

"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 ConfigureEventManifestUnregister, entry: ConfigureEventManifestUnregister, library: C:\WINDOWS\Installer\MSI8473.tmp === Logging stopped: 3/17/2017 14:55:16 === "

Hope this helps,

Regards

Frank

On 3/16/2017 5:23 PM, kelvin knighton wrote:

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.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nodejs/help/issues/264#issuecomment-287195338, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ4robk0nRWRyuVl3eidNztn9Xltvv89ks5rmahcgaJpZM4JsbXg.

-- Regards,

Frank

frank3141 avatar Mar 17 '17 19:03 frank3141

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

Knighton910 avatar Mar 17 '17 23:03 Knighton910

I did. Result is that it couldn't find it.ThanksFrank

Sent from my Samsung Galaxy Tab®|PRO

-------- Original message -------- From: kelvin knighton [email protected] Date: 03/17/2017 7:17 PM (GMT-05:00) To: nodejs/help [email protected] Cc: frank3141 [email protected], Comment [email protected] Subject: Re: [nodejs/help] Node.js Setup Wizard ended prematurely (#264)

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

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

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/nodejs/help","title":"nodejs/help","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/nodejs/help"}},"updates":{"snippets":[{"icon":"PERSON","message":"@lordKnighton in #264: Hey Frank 🌟 , type where node in your terminal/console?"}],"action":{"name":"View Issue","url":"https://github.com/nodejs/help/issues/264#issuecomment-287494035"}}}

frank3141 avatar Mar 18 '17 11:03 frank3141

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

danicoolpak17 avatar Mar 18 '17 13:03 danicoolpak17

Did that too. Thanks. I know I have missed something.

Error log

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 ConfigureEventManifestUnregister, entry: ConfigureEventManifestUnregister, library: C:\WINDOWS\Installer\MSI8473.tmp === Logging stopped: 3/17/2017 14:55:16 ===

Thought I would check permissions for C:\WINDOWS\Installer\MSI8473.tmp.
The directory does not exist??? Was that a directory in Windows 7?

Frank

On 3/18/2017 9:29 AM, Raja wrote:

@lordKnighton https://github.com/lordKnighton @frank3141 https://github.com/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.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nodejs/help/issues/264#issuecomment-287546431, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ4roTt9UxWc5CJRocULJTzwlSD6FR3Sks5rm9xNgaJpZM4JsbXg.

-- Regards,

Frank

frank3141 avatar Mar 18 '17 13:03 frank3141