无法读取它生成的tmp脚本时出现Windows MSI安装错误

时间:2016-12-22 18:48:53

标签: wix windows-installer

这是一个奇怪的MSI失败。

MSI (s) (90:10) [12:01:14:331]: Doing action: InstallFinalize
Action 12:01:14: InstallFinalize. 
Action start 12:01:14: InstallFinalize.
MSI (s) (90:10) [12:01:14:331]: Running Script: C:\Windows\Installer\MSID2EA.tmp
MSI (s) (90:10) [12:01:14:331]: PROPERTY CHANGE: Adding UpdateStarted property. Its value is '1'.
MSI (s) (90:10) [12:01:14:334]: Note: 1: 2265 2:  3: -2147287035 
MSI (s) (90:10) [12:01:14:334]: Machine policy value 'DisableRollback' is 0
MSI (s) (90:10) [12:01:14:335]: Note: 1: 1101 2: C:\Windows\Installer\MSID2EA.tmp 3: 32 
Error 1101. Error reading from file: C:\Windows\Installer\MSID2EA.tmp.  System error 32.  Verify that the file exists and that you can access it.
MSI (s) (90:10) [12:01:17:366]: Product: <the product> -- Error 1101. Error reading from file: C:\Windows\Installer\MSID2EA.tmp.  System error 32.  Verify that the file exists and that you can access it.

Action ended 12:01:17: InstallFinalize. Return value 3.

据我了解,这个tmp文件是由安装过程本身生成的,所以我不太清楚它是如何无法访问它的,因此导致整个安装失败。

重新运行安装程序工作得很好,但这样的随机错误是不可接受的,所以任何提示都会受到赞赏......

使用WiX 3.10创作安装程序。

0 个答案:

没有答案