Windows

通過 MDT 部署應用程序失敗

  • October 12, 2017

我正在我們的組織中建立一個使用 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.

我可以正常訪問共享,這些文件獨立執行。所以我不太確定問題是什麼……非常感謝您的幫助!

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

事實證明,我最初使用指導我使用 7zip 的 How-To 文件提取了我的 MSI,該文件並沒有將壓縮文件拉出。

不幸的是,我已經糾正了這個問題,應用程序仍然無法安裝,我打算用那個日誌文件更新它,但我目前正在從頭開始準備包的過程。

我已經從我創建的命令行中提取了我的 EXE,並從 MSI 文件中提取了 Admin Install 我在使用提取的 EXE 中的 MSP 修補 Admin Install 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

我現在計劃跳過更新檔,只是嘗試從管理員​​安裝 MSI 建構我的自定義並部署它,看看我得到了什麼樣的錯誤。但是與此同時,如果有人對更新檔失敗有任何意見,將不勝感激!

安裝錯誤通常不會說謊:“找不到源文件(文件櫃):\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 的應用程序中設置的命令)。

引用自:https://serverfault.com/questions/876666