Node.js 安装(Windows 安装程序)在 Windows 10 64 位上过早终止 [英] Node.js installation (windows installer) terminates prematurely on windows 10 64-bit

查看:31
本文介绍了Node.js 安装(Windows 安装程序)在 Windows 10 64 位上过早终止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于 Windows 更新使我的笔记本电脑崩溃,重新安装了 Windows 10 后,我不得不重新安装许多应用程序.其中之一是 node.js.当我尝试通过 Windows 安装程序安装它时,我不断收到安装向导由于错误消息而提前结束"的消息.我不确定问题是什么.我使用了 x64 版本,这是我的操作系统,并且程序文件中没有 nodejs 文件夹.当我记录安装时,这条消息出现在很多行没有合格的二进制补丁.在没有符合条件的行之前有错误日志,例如:

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.

MSI 日志文件:https://gist.github.com/luki2000/ab00476127d54aaf684d40d>

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

推荐答案

也许尝试在日志中搜索值 3",正如 Rob Mensching 在他的博客中所解释的.这样做将在日志文件中找到描述重要错误的位置.

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.

许多人使用 dropboxgdisksimilar 来发布日志.有些人把它放在github上(只是OP的一个示例日志,留作参考).检查最后一个链接,这是否与您看到的问题相同?(如上所述搜索value 3" - 当然没有引号).创建 Internet 快捷方式时似乎出错.也许这是 Windows 10 的问题?我会快速看一下.

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.

我敢打赌 Bob Arnson 完全知道这个问题是什么.他可能会给我们真正的答案,请参阅下文了解我的解决方法.

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

总体而言,正确的做法可能是将问题反馈给 Node.js 人员,以便他们能够一劳永逸地解决问题.

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.

更新:也许看看这个答案是否对您有帮助:node.js 安装程序失败,在 Windows 7 上出现CAQuietExec 失败"和 1603 错误代码.基本上取消选中设置的功能对话框中的 Event tracking(ETW) - 或者您可以尝试从提升的命令提示符启动 MSI.

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:在 WixInternetShortcut 表 中似乎为该 MSI 配置了两个 Internet 快捷方式.我只想创建一个转换来删除这两个快捷方式并尝试重新安装.如果你觉得大胆无畏,喜欢违法,你可以从表中删除两行,直接保存到MSI本身.如果您是部署专家,这绝不是正确的做法.最初的 MSI 是神圣的,但如果这是用于您自己的系统并且您需要完成某些工作,那将是可行的.然后,您只需在之后直接安装 MSI.否则,您可以在使用简单的命令行创建转换后安装它:

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"

您可以使用 Orca、InstEd 或 SuperOrca任何商业广告支持创建转换的工具.

如果您不知道,转​​换是应用于原始 MSI(这也是幕后数据库)的小数据库片段.应用转换后,MSI 的内存版本为 MSI + 转换后的更改.

这篇关于Node.js 安装(Windows 安装程序)在 Windows 10 64 位上过早终止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆