问题现象
1.您有一台装有Avast防病毒软件的Windows计算机;
2.当您尝试安装Windows代理程序时,安装失败并显示以下错误:
中文日志:
安装过程中的致命错误
英文日志:
Fatal error during installation
3.安装日志包含以下行:
中文日志:
安装::安装,res = 5
英文日志:
install::Install, res=5
安装日志示例:
中文日志:
MSI(s)(1C:14)[07:10:52:622]:调用远程自定义操作。DLL:C:\WINDOWS\Installer\MSI370.tmp, Entrypoint: MsiSchedul2Install
1:MSIGEN:Schedule2 install :: Install,res = 5
1:MSIGEN:Schedule2安装错误代码5
1:MSIGEN:CommonError:代码:624294,消息:,linetag:0321FA8854A2123A2h,file:e:\22\install\schedule\ver2\msi\custom_dll\main.cpp,function:Schedul2 :: Install,line:225
CommonError:代码:65520,消息:安装过程中发生致命错误,linetag:0BD28FDBD64EDB8F1h,file:e:\22\core\common\error.cpp,function:Common :: Error :: AddWindowsError,line:307
1:MSIGEN:SendMessageToInstaller:已启动
1:MSIGEN:SendMessageToInstaller:MsiCreateRecord成功
1:MSIGEN:SendMessageToInstaller:MsiRecordSetStringW成功
....
1:MSIGEN:SendMessageToInstaller:已发送消息
1:MSIGEN:service_supp :: SetDelayedAutoStart:从serviceName ='AcrSch2Svc'开始,值= 1。
1:MSIGEN:service_supp :: SetDelayedAutoStart:当前Windows不支持“延迟自动启动”。跳过。
MSI(s)(1C:14)[07:12:16:356]:用户策略值'DisableRollback'为0
MSI(s)(1C:14)[07:12:16:356]:机器策略值'DisableRollback'为0
动作结束7:12:16:InstallFinalize。返回值3。
英文日志:
MSI (s) (1C:14) [07:10:52:622]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI370.tmp, Entrypoint: MsiSchedul2Install
1: MSIGEN:Schedule2 install::Install, res=5
1: MSIGEN:Schedule2 install error code 5
1: MSIGEN:CommonError: code:624294, message:, linetag:0321FA8854A2123A2h, file:e:\22\install\schedule\ver2\msi\custom_dll\main.cpp, function:Schedul2::Install, line:225
CommonError: code:65520, message:Fatal error during installation, linetag:0BD28FDBD64EDB8F1h, file:e:\22\core\common\error.cpp, function:Common::Error::AddWindowsError, line:307
1: MSIGEN:SendMessageToInstaller: started
1: MSIGEN:SendMessageToInstaller: MsiCreateRecord succeeded
1: MSIGEN:SendMessageToInstaller: MsiRecordSetStringW succeeded
....
1: MSIGEN:SendMessageToInstaller: message sent
1: MSIGEN:service_supp::SetDelayedAutoStart: started with serviceName='AcrSch2Svc', value = 1.
1: MSIGEN:service_supp::SetDelayedAutoStart: current Windows doesn't support 'delayed auto start'. Skipped.
MSI (s) (1C:14) [07:12:16:356]: User policy value 'DisableRollback' is 0
MSI (s) (1C:14) [07:12:16:356]: Machine policy value 'DisableRollback' is 0
Action ended 7:12:16: InstallFinalize. Return value 3.
问题原因
与Avast防病毒软件冲突。
解决方法
卸载Avast防病毒软件,重新启动计算机,然后安装Windows代理程序。
代理程序安装成功后,您可以重新安装Avast-防病毒,仅会干扰安装,与正常工作的代理程序不会发生冲突。