你好,Lie,
感谢您分享详细信息。
我建议您按照以下步骤操作,这些步骤可能有助于诊断和解决问题:
- 确保 WinPE-hta.cab 组件安装成功。查看日志,确保 CAB 文件已正确集成到您的 WinPE 映像中。
- 请检查 arm64\WinPE_OCs\WinPE-hta.cab 文件是否较小且似乎不包含任何二进制文件,这可能是因为 CAB 文件本身已损坏或缺少必要的组件。您可能需要重新下载 ADK 并尝试提取 CAB 文件以查看其包含的内容。
- 验证所有必备组件是否已成功安装,尤其是 WinPE-Scripting.cab。缺少此组件可能会导致 HTA 支持受损或无法正常工作。
- 仔细检查将 WinPE-HTA.cab 集成到 WinPE 映像中的方法。ARM64 架构的集成过程可能涉及不适用于 x86 或 x64 平台的不同过程或命令行参数。
Mount WinPE image
dism /Mount-Wim /WimFile:"winre.wim" /index:1 /MountDir:"mount"
Add dependencies
dism /Image:"mount" /Add-Package /PackagePath:"WinPE-Scripting.cab"
Add HTA OC
dism /Image:"mount" /Add-Package /PackagePath:"WinPE-HTA.cab"
Apply cumulative updates
dism /Image:"mount" /Add-Package /PackagePath:"KB5043080.cab"
dism /Image:"mount" /Add-Package /PackagePath:"KB50xxxxxx.cab"
Make to Commit changes
dism /Unmount-Wim /MountDir:"mount" /Commit
希望以上信息对您有所帮助。
此致,
================================
Hello Lie,
I appreciate your sharing details.
I would recommend to following steps which may assist in diagnosing and resolving the issue:
- Make sure that the installation of the WinPE-hta.cab component was successful. Investigating the logs and ensure that the CAB file was properly integrated into your WinPE image.
- Please kindly check if the arm64\WinPE_OCs\WinPE-hta.cab file is small and doesn’t appear to contain any binaries, it’s possible that the CAB file itself is corrupted or missing the necessary components. You might want to download the ADK again and try extracting the CAB file to see what it contains.
- Verify that all prerequisite components have been successfully installed, particularly WinPE-Scripting.cab. The absence of this component may lead to impaired or non-functional HTA support.
- Carefully review the methodology used to integrate WinPE-HTA.cab into the WinPE image. The integration process for the ARM64 architecture may involve distinct procedures or command-line parameters not applicable to x86 or x64 platforms.
Mount WinPE image
dism /Mount-Wim /WimFile:"winre.wim" /index:1 /MountDir:"mount"
Add dependencies
dism /Image:"mount" /Add-Package /PackagePath:"WinPE-Scripting.cab"
Add HTA OC
dism /Image:"mount" /Add-Package /PackagePath:"WinPE-HTA.cab"
Apply cumulative updates
dism /Image:"mount" /Add-Package /PackagePath:"KB5043080.cab"
dism /Image:"mount" /Add-Package /PackagePath:"KB50xxxxxx.cab"
I hope the information provided proves helpful.
Kind Regards,