微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Node.js安装失败.日志在哪里?

忙着尝试通过nodejs网站上的 windows下载设置node.js.它似乎一直运行到最后,当它击中“创建短路……”然后开始回滚并得到一个相当无用的一般错误.

有没有我可以查看的日志文件,看看有什么进展?

解决方法

我首选的选项是使用命令行msiexec工具 as indicated on WiX’s website
msiexec / i MyApplication.msi / l * v MyLogFile.txt

我从未使用的另一个选项是编辑注册as indicated on Microsoft’s website

To enable Windows Installer logging yourself,open the registry with Regedit.exe and create the following path and keys:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer

Reg_SZ: Logging
Value: voicewarmupx
The letters in the value field can be in any order. Each letter turns on a different logging mode. Each letter's actual function is as follows for MSI version 1.1:
v - Verbose output
o - Out-of-disk-space messages
i - Status messages
c - Initial UI parameters
e - All error messages
w - Non-fatal warnings
a - Start up of actions
r - Action-specific records
m - Out-of-memory or fatal exit information
u - User requests
p - Terminal properties
+ - Append to existing file
! - Flush each line to the log
x - Extra debugging information. The "x" flag is available only on Windows Server 2003 and later operating systems,and on the MSI redistributable version 3.0,and on later versions of the MSI redistributable.

"*" - Wildcard,log all information except for the v and the x option. To include the v and the x option,specify "/l*vx".
Note This should be used only for troubleshooting purposes and should not be left on because it will have adverse effects on system performance and disk space. Each time you use the Add/Remove Programs tool in Control Panel,a new Msi*.log file is created.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐