单击一次安装后,我得到了这个异常。系统中的大多数用户都不会收到此错误,并且应用程序运行正常。有少数用户遇到此错误。他们安装在什么机器上并不重要。
我感觉这是一个组策略问题。任何帮助表示赞赏。
详细信息:找不到文件'C:\Users\USERNAME\AppData\Local\Temp\Deployment\Q4NW1PKL.OT1\A740DGRA.6EL\MyHelperEXEFile.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 被禁用,我就能够完成安装。