我正在尝试使用 Windows 系统映像管理器验证我的应答文件。为此,我需要打开供应商提供的 .iso 中的 Install.wim,但是当我尝试打开 x64 和 x86 版本的 install.wim 时,我收到相同的错误。我已将错误对话框和日志文件中的文本包含在下方。
Windows 系统映像管理器
Windows SIM 无法生成目录。如需故障排除帮助,请参阅 Windows ADK 用户指南中的主题:“Windows 系统映像管理器技术参考”。
详细信息:无法加载文件或程序集“Microsoft.ComponentStudio.ComponentPlatformImplementation,Version=10.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35”或其依赖项之一。尝试加载格式不正确的程序。
[单击查看 Windows 系统映像管理器错误对话框的图像]
14:40 :
14:40 : Windows SIM was unable to generate a catalog. For troubleshooting assistance, see the topic: 'Windows System Image Manager Technical Reference' in the Windows ADK User's Guide.
14:40 :
14:40 : System.BadImageFormatException: Could not load file or assembly 'Microsoft.ComponentStudio.ComponentPlatformImplementation, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'Microsoft.ComponentStudio.ComponentPlatformImplementation, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
Server stack trace:
at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.CreateOfflineImageInstance(OfflineImageInfo imageInfo)
at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageCatalog.Serialize(OfflineImageInfo imageInfo)
at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()
at Microsoft.ComponentStudio.ComponentPlatformInterface.CatalogCreatorImpl.CreateCatalog(OfflineImageInfo offlineImageInfo)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.ComponentStudio.ComponentPlatformInterface.ICatalogCreator.CreateCatalog(OfflineImageInfo offlineImageInfo)
at Microsoft.ComponentStudio.CatalogGenerator.CreateCat(ProgressDialog pd, Object o)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
有人能帮我解决这个问题吗?
答案1
我可能刚刚遇到了这个错误。
我仍在使用 Windows 10 1809,但安装了 Windows 10 1903 ADK。
一旦我删除了 1903 ADK,然后安装了 1809 的 ADK,install.wim 就被成功编目了。
答案2
我遇到了同样的问题,我没有降级版本,但微软已经发布了补丁 imagecat.exe & imgmgr.exe
。只需下载并替换这两个组件即可解决问题。您可以从这里下载这些补丁。
https://go.microsoft.com/fwlink/?linkid=2095334
下载并解压
并替换位于以下位置的文件。
C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\WSIM
需要替换的文件是
imagecat.exe
imgmgr.exe
原始来源: https://www.manishbangia.com/troubleshooting-adk-1903-unable-to-generate-a-catalog/