通过 MDT 部署应用程序失败

通过 MDT 部署应用程序失败

我正在为我们的组织设置一个使用 MDT 的测试实验室,但安装过程中一直遇到问题。到目前为止,我只有一个旧版本的 RealVNC (5.2) 可以运行。

我安装的 Adob​​e Reader DC 以及我们使用的两个控制台程序(NETTERM 和 TinyTerm)似乎失败了。Acrobat 和 TinyTerm 使用转换后的 MSI 文件,而对于 NETTERM,它实际上只是一个复制到 C: 驱动器的文件夹,我为其编写了一个批处理文件。

Adobe 安装有一个非常长的日志文件,其中包含很多详细信息,我今天早上一直在仔细查看...其他程序的日志似乎默认没有那么丰富,但我想我遇到的问题大致相同。

我从 Adob​​e 日志文件中提取了一些片段,希望对熟悉这种情况或以前遇到过这种情况的人有所帮助:

MSI (s) (80:78) [10:44:59:216]: Note: 1: 1311 2: \\WSUS\DeploymentShare$\Applications\Adobe Acrobat Reader DC\Data1.cab 
MSI (s) (80:78) [10:44:59:216]: Product: Adobe Acrobat Reader DC -- Error 1311.Source file not found(cabinet): \\WSUS\DeploymentShare$\Applications\Adobe Acrobat Reader DC\Data1.cab.  Verify that the file exists and that you can access it.

Error 1311.Source file not found(cabinet): \\WSUS\DeploymentShare$\Applications\Adobe Acrobat Reader DC\Data1.cab.  Verify that the file exists and that you can access it.
Property(S): AppsInUseSilentAbort = A process is running that cannot be shut down by Setup.  Please either close all applications and run Setup again, or restart your computer and run Setup again.
Property(S): AppsInUseUnknownAcrobatApps = Applications that are using Adobe Reader or Adobe Acrobat
Property(S): ERROR_CANNOT_OPTIMIZE_DISK = NOTE: Installation was successful. However, because your hard drive is fragmented, this application may not be able to launch as quickly as possible. To optimize performance, please defragment your hard drive and then repair this application under Add or Remove Programs in the Control Panel.

Property(S): ERROR_MIN_OVER_BIG = Setup has detected that you already have a more functional product installed.  Setup will now terminate.
Property(S): ErrorDialog = SetupError
Property(S): ISSCRIPT_VERSION_MISSING = The InstallScript engine is missing from this machine.  If available, please run ISScript.msi, or contact your support personnel for further assistance.
Property(S): IsMinIE_Message = requires Internet Explorer 7.0 or greater.  Please visit www.microsoft.com to upgrade Internet Explorer.
Property(S): KBDOCLINK_ERROR_INVDRIVE = http://kb2.adobe.com/cps/404/kb404946.html
Property(S): LC_UNSUPPORTED_OS = This application cannot be installed on this operating system. Setup will now terminate. Please refer to the minimum system requirements at http://www.adobe.com/go/reader_system_reqs.
Property(S): LC_UNSUPPORTED_OS_1 = This application cannot be installed on this operating system
Property(S): LC_UNSUPPORTED_OS_2 = Setup will now terminate. Please refer to the minimum system requirements at http://www.adobe.com/go/reader_system_reqs.
MSI (s) (80:78) [10:44:59:356]: Note: 1: 1708 
MSI (s) (80:78) [10:44:59:356]: Product: Adobe Acrobat Reader DC -- Installation operation failed.

MSI (s) (80:78) [10:44:59:356]: Windows Installer installed the product. Product Name: Adobe Acrobat Reader DC. Product Version: 15.007.20033. Product Language: 1033. Manufacturer: Adobe Systems Incorporated. Installation success or error status: 1603.

MSI (s) (80:78) [10:44:59:356]: Attempting to delete file C:\windows\Installer\1a554.mst
MSI (s) (80:78) [10:44:59:356]: Deferring clean up of packages/files, if any exist
MSI (s) (80:78) [10:44:59:356]: Attempting to delete file C:\windows\Installer\1a554.mst
MSI (s) (80:78) [10:44:59:356]: Unable to delete the file outside of the engine. LastError = 2
MSI (s) (80:78) [10:44:59:356]: MainEngineThread is returning 1603
MSI (s) (80:C8) [10:44:59:356]: No System Restore sequence number for this installation.

我可以正常访问共享,这些文件独立运行。所以我不太确定问题出在哪里……如果能得到帮助我将不胜感激!

=============更新=============

事实证明,我最初使用 How-To 文档提取了我的 MSI,该文档指导我使用 7zip,但它并没有将 Cabinet 文件拉出来。

不幸的是,我已经纠正了这个问题,但应用程序仍然无法安装,我本来要用那个日志文件来更新它,但我目前正在从头开始准备包。

我从创建的命令行中提取了 EXE,并从 MSI 文件中提取了管理员安装,但在使用提取的 EXE 中的 MSP 修补管理员安装 MSI 文件时遇到了问题。我还尝试了 Adob​​e Enterprise 网站上较新的 MSP。我收到以下错误:

 MSI (c) (50:F0) [11:19:55:484]: PATCH SEQUENCER: verifying the applicability of minor upgrade patch C:\Users\USER_FOLDER\Desktop\AcroRdrDC\admin\AcroRdrDCUpd1701220093.msp against product code: {AC76BA86-7AD7-1033-7B44-AC0F074E4100}, product version: 15.007.20033, product language 1033 and upgrade code: {A6EADE66-0000-0000-484E-7E8A45000000}
 MSI (c) (50:F0) [11:19:55:484]: PATCH SEQUENCER: minor upgrade patch C:\Users\USER_FOLDER\Desktop\AcroRdrDC\admin\AcroRdrDCUpd1701220093.msp is not applicable.

 MSI (c) (50:F0) [11:19:55:484]: Unknown\Absent: {AC76BA86-7AD7-0000-2550-AC110C4E7D00} - C:\Users\USER_FOLDER\Desktop\AcroRdrDC\admin\AcroRdrDCUpd1701220093.msp
 The upgrade cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade.
 C:\Users\USER_FOLDER\Desktop\AcroRdrDC\admin\full\AcroRead.msi

我打算暂时跳过补丁,只尝试从 Admin Install MSI 构建我的自定义并部署它,看看我会遇到什么样的错误。但是,如果有人能提供关于补丁失败的任何信息,我将不胜感激!

答案1

安装错误通常不会撒谎:“未找到源文件(文件柜):\\WSUS\DeploymentShare$\Applications\Adobe Acrobat Reader DC\Data1.cab。请验证该文件是否存在以及您是否可以访问它。”

进一步故障排除:
选择在首次启动时不捕获 MDT 向导中的映像,这样当 MDT 过程完成时您仍然可以使用该机器。完成后,查看 C:\Users\Administrators\AppData\Local\Temp\results.xml 和/或 C:\Users\Administrator\AppData\Local\Temp\SMSTSLog。您会在一个或两个位置找到捕获的 MDT 错误。

此时,您还可以以管理员身份打开命令提示符,执行“net use \\wsus\DeploymentShare$”,输入您一直使用的用户名和密码,然后从共享手动运行安装命令(与您在 MDT 中的应用程序中设置的命令相同)。

相关内容