OSD 期间 sccm2012 client.msi 出现错误

OSD 期间 sccm2012 client.msi 出现错误

我需要一些帮助来理解我的 client.msi 日志,以找出我的 OSD 失败的原因。

我先给你讲一下场景

我在 sccm 2012 中有一个任务序列,它采用标准的 win 7 企业映像。应用驱动程序,将安装从 d:\ 更改为 c:\(通过设置 OSDPreservedDisk=FALSE,并指定逻辑驱动器号=C:) 然后安装 15 个应用程序(java、acrobat 等) 这有效。

然后我将 Windows 7 Enterprise 安装到虚拟机中,对其进行了完整的 Windows 更新、系统准备和捕获,它被安装到 d:\Windows 就像 install.wim 一样。然后我用新捕获的 .wim 替换了企业 DVD 中的原始 .wim。

总结一下:工作与不工作之间唯一变化的是图像。从 win7 cd 中的标准 install.wim 到捕获的图像

现在我的客户端在应用应用程序之前出现错误并中止:(冒昧地翻译了几个地方)

**Property(S): PrimaryVolumePath = C:
 MSI (s) (C0:C8) [13:03:55:978]: Note: 1: 1729
 MSI (s) (C0:C8) [13:03:55:978]: Transforming table Error.
 MSI (s) (C0:C8) [13:03:55:978]: Note: 1: 2262 2: Error 3: -2147287038
 MSI (s) (C0:C8) [13:03:55:978]: Transforming table Error.
 MSI (s) (C0:C8) [13:03:55:978]: Note: 1: 2262 2: Error 3: -2147287038
 MSI (s) (C0:C8) [13:03:55:978]: Transforming table Error.
 MSI (s) (C0:C8) [13:03:55:978]: Transforming table Error.
 MSI (s) (C0:C8) [13:03:55:978]: Note: 1: 2262 2: Error 3: -2147287038
 MSI (s) (C0:C8) [13:03:55:978]: Transforming table Error.
 MSI (s) (C0:C8) [13:03:55:978]: Note: 1: 2262 2: Error 3: -2147287038
 MSI (s) (C0:C8) [13:03:55:978]: Transforming table Error.
 MSI (s) (C0:C8) [13:03:55:978]: Produkt: Configuration Manager Client -- Konfigurationen mislykkedes. = Product: Configuration Manager Client -- Configuration Failed
 MSI (s) (C0:C8) [13:03:55:978]: Windows Installer har konfigureret produktet igen. Produktnavn: Configuration Manager Client. Produktversion: = Windows installer has configured the product again

5.00.7804.1000. Produktsprog: 1030. Producent: Microsoft Corporation. Produktet blev konfigureret igen eller fejlstatus: 1603.
 MSI (s) (C0:C8) [13:03:55:978]: Attempting to delete file C:\WINDOWS\Installer\24f2f.mst
 MSI (s) (C0:C8) [13:03:55:978]: Unable to delete the file. LastError = 32
 MSI (s) (C0:C8) [13:03:55:978]: Deferring clean up of packages/files, if any exist
 MSI (s) (C0:C8) [13:03:55:978]: Attempting to delete file C:\WINDOWS\Installer\24f2f.mst
 MSI (s) (C0:C8) [13:03:55:978]: MainEngineThread is returning 1603
 MSI (s) (C0:C8) [13:03:55:993]: RESTART MANAGER: Session closed.
 MSI (s) (C0:C8) [13:03:55:993]: No System Restore sequence number for this installation.
 === Logføring stoppet: 12-11-2013  13:03:55 ===**

我知道当我尝试安装到 c: 时会发生这种情况。但对我来说真正奇怪的是接下来的部分 -->

****注意!!!:**如果我设置“OSDPreserveredDisk=TRUE”。新映像将安装到 d:\,并且所有应用程序都已添加,因此在将其放置在 c:\ 上的过程中出现了问题**

答案1

我要大胆地说,真正的问题是尝试解决安装到 D: 驱动器的 wim 问题。这是因为 DVD 中的 install.wim 正在用于安装。

Microsoft 的建议是:将 install.wim 文件作为操作系统导入 sccm安装程序,(不是操作系统图像)。创建一个新的任务序列以放置此安装程序、更新、安装应用程序等,然后进行 sysprep 和捕获。为了获得最佳效果,让 sccm 进行 sysprep 和捕获映像。

然后,将从此任务序列创建的 wim 导入为操作系统图像,并将其用于部署。此 wim 应安装到 C:,无需hack解决方法,并且会出现上述错误应该离开。

至于错误的原因,您可能知道,如果您的 msi 没有返回 0(成功)或 3010(需要重新启动),则任务序列将失败,除非

  1. 您正在运行命令行步骤并告诉它预期的错误代码

  2. 您明确告诉 sccm 在该步骤出错时继续。

您的 msi 正在运行的一个线程返回了 32,这似乎导致 msi 安装程序向 sccm 返回了 1603,从而终止了您的 ts。它可能被硬编码为从 C:\Windows\Installer 中删除某些内容,或者环境变量返回了该路径,无论哪种情况,我都会重做,因为修补它可能就像玩打地鼠游戏一样,将来还会出现其他问题。

相关内容