Node.js installation (windows installer) terminates prematurely on windows 10 64-bit

1

After going through a windows 10 re-installation due to a windows update crashing my laptop, I was left with re-installing many applications. One of them being node.js. When I tried to install it through the windows installer, I kept getting 'setup wizard ended prematurely because of an error message'. I am not sure what the problem is. I used x64 version which is what my OS is and there is no nodejs folder in program files. When I logged the installation this message popped in a lot of the lines has no eligible binary patches. Before the no eligible lines there were error logs such as:

'WixSchedInternetShortcuts:  Error 0x8007000d: failed to add temporary row, dberr: 1, err: Directory_'

'WixSchedInternetShortcuts:  Folder 'ApplicationProgramsFolder' already exists in the CreateFolder table; the above error is harmless'

If that is not enough information please advice me on how to send the full logs without spamming huge text in the thread. Thank you.

The MSI log file: https://gist.github.com/luki2000/ab00476127d54aaf610d8bda84d40a64

node.js
windows
wix
windows-installer
asked on Stack Overflow May 23, 2018 by Lukindo Mbuli • edited May 23, 2018 by Stein Åsmul

1 Answer

1

Maybe try to search the log for "value 3" as explained by Rob Mensching in his blog. Doing so will find the locations in the log file that describe errors of significance.

Many people use dropbox, gdisk or similar to post logs. Some put it on github (just a sample log for OP, leaving in for reference). Check that last link, is that the same problem you see perhaps? (search for "value 3" as explained above - without the quotes of course). Looks like there is an error creating an Internet shortcut. Perhaps that is a Windows 10 problem? I will take a quick look.

I am betting Bob Arnson knows what this problem is outright. He will probably give us the real answer, see below for my workaround.

The correct thing to do overall, would probably be to communicate the problem back to the Node.js guys so they can fix the problem once and for all.

UPDATE: Maybe see if this answer helps you: node.js installer failing with 'CAQuietExec Failed' and 1603 error code on Windows 7. Essentially un-check Event tracing(ETW) in the setup's feature dialog - or you can try to launch the MSI from an elevated command prompt.


UPDATE: There seem to be two Internet shortcuts configured for this MSI in the WixInternetShortcut table. I would just create a transform to remove these two shortcuts and try a reinstall. If you feel bold and fearless and like to break the law, you can delete the two rows from the table and just save directly to the MSI itself. This is never the right thing to do if you are a deployment specialists. The original MSI is sacred, but if this is for your own system and you need to get something done, that would work. Then you just install the MSI direct afterwards. Otherwise you can install the transform after creating it with a simple command line:

msiexec.exe /i node-v8.11.2-x64.msi TRANSFORMS="C:\MyTransform"

You can create the transform using Orca, InstEd or SuperOrca or any commercial tool that supports creating transforms.

In case you don't know, transforms are little database fragments that are applied to the original MSI (which is also a database under the hood). After the transform is applied the in-memory version of the MSI is the MSI + the changes from the transform.

answered on Stack Overflow May 23, 2018 by Stein Åsmul • edited May 23, 2018 by Stein Åsmul

User contributions licensed under CC BY-SA 3.0