在ClickOnce部署AppDataLocalTemp FileNotFoundException后出现异常



点击安装后,我得到这个异常。系统中的大多数用户不会得到此错误,并且应用程序运行良好。只有少数用户会遇到此错误。它们安装在什么机器上并不重要。

我有一种感觉,这是一个集团政策问题。如有任何帮助,不胜感激。

详细信息:Could not find file 'C:UsersUSERNAMEAppDataLocalTempDeploymentQ4NW1PKL.OT1A740DGRA.6ELMyHelperEXEFile.exe'.

堆栈跟踪:

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 
          rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions   options, 
          SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at System.Deployment.Application.ComponentVerifier.GetTransformedStream(String filePath,
         CMS_HASH_TRANSFORM transform)
at System.Deployment.Application.ComponentVerifier.GenerateDigestValue(String filePath,
         CMS_HASH_DIGESTMETHOD digestMethod, CMS_HASH_TRANSFORM transform)
at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, 
         Hash hash)

更新-已解决

在调查事件查看器中的应用程序事件后,发现McAfee在点击一次安装时删除了这个文件。声称里面有病毒

community.mcafee.com/thread/2016

一旦McAfee被禁用,我就可以完成安装了

在事件查看器中调查了应用程序事件后,发现McAfee在点击一次安装时删除了这个文件。声称里面有病毒阿耳特弥斯特洛伊

https://community.mcafee.com/thread/2016

一旦McAfee被禁用,我就可以完成安装。

最新更新