2012-07-05 125 views
4

忙於嘗試通過nodejs網站上的windows下載來設置node.js。它似乎一直運行好,直到它結束時,它擊中「創建shortcurts ...」,然後開始回滾,並得到一個非常無用的一般錯誤。Node.js安裝失敗。日誌在哪裏?

有沒有日誌文件我可以檢查看看發生了什麼?

+0

什麼錯誤時,你正試圖安裝nodejs – Adrian 2012-07-05 09:24:54

+0

這就是問題 - 沒有具體的錯誤。 「由於錯誤,安裝過早結束」在創建快捷方式時發生在流程結束時 – Chev 2012-07-05 10:00:02

+0

有沒有找到解決方案? – 2012-10-31 00:32:09

回答

1

我的最佳選擇是使用命令行MSIEXEC工具as indicated on WiX's websitemsiexec /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.