2016-05-27 55 views
0

我對sccm 2012 r2和失敗的軟件包有問題。對於我嘗試部署的每個包,都有一個奇怪的包,它總是返回一個通用錯誤消息0x643(1603)。sccm 2012 r2 msi包失敗,錯誤0x643(1603)

我知道這是一個通用的msi軟件包消息,但有些事情讓我感到困惑。當我試圖部署adobe flash.msi時,它會下載軟件包,似乎會安裝它,但會提供過期錯誤 - 將被重試。

我已經設置了包在部署前6小時到期的時間,因此超時不是問題。

當我看着appenforce.log客戶機(位於c:\windows\CCM\logs\Appenforce.log)上我發現在日誌中以下

[LOG[++++++ App enforcement completed (11 seconds) for App DT "Adobe Flash Player 21 ActiveX - Windows Installer (*.msi file)" [ScopeId_C8F1F365-A3C5-47CB-BD87-DB1E3BCFB76D/DeploymentType_a629d54a-d453-49a1-84c1-0192f983f1e4], Revision: 1, User SID: ] ++++++]LOG]!><time="15:45:20.777+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="29796" file="appprovider.cpp:2448"> 

[LOG[+++ Starting Install enforcement for App DT "Adobe Flash Player 21 ActiveX - Windows Installer (*.msi file)" ApplicationDeliveryType - ScopeId_C8F1F365-A3C5-47CB-BD87-DB1E3BCFB76D/DeploymentType_a629d54a-d453-49a1-84c1-0192f983f1e4, Revision - 1, ContentPath - C:\WINDOWS\ccmcache\13, Execution Context - System]LOG]!><time="15:49:09.871+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appprovider.cpp:1702"> 

[LOG[ A user is logged on to the system.]LOG]!><time="15:49:09.872+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appprovider.cpp:2083"> 

[LOG[ Performing detection of app deployment type Adobe Flash Player 21 ActiveX - Windows Installer (*.msi file)(ScopeId_C8F1F365-A3C5-47CB-BD87-DB1E3BCFB76D/DeploymentType_a629d54a-d453-49a1-84c1-0192f983f1e4, revision 1) for system.]LOG<time="15:49:09.874+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appprovider.cpp:2148"> 

[LOG[+++ MSI application not discovered [MSI Product Code: {FA944726-00F8-43B5-BB97-33E6FF409C22}, MSI Product version: ]]LOG]!> 
<time="15:49:09.875+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="msihandler.cpp:131"> 

[LOG[ App enforcement environment: 
    Context: Machine 
    Command line: msiexec /i "install_flash_player_21_active_x.msi" /q 
    Allow user interaction: No 
    UI mode: 0 
    User token: null 
    Session Id: 3 
    Content path: C:\WINDOWS\ccmcache\13 
    Working directory: ]LOG]!><time="15:49:09.875+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcontext.cpp:85"> 

[LOG[ Prepared working directory: C:\WINDOWS\ccmcache\13]LOG]!><time="15:49:09.876+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcontext.cpp:189"> 
<![LOG[Found executable file msiexec with complete path C:\WINDOWS\system32\msiexec.exe]LOG]!><time="15:49:09.878+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="executility.cpp:188"> 

[LOG[ Prepared command line: "C:\WINDOWS\system32\msiexec.exe" /i "install_flash_player_21_active_x.msi" /q /qn]LOG]!><time="15:49:09.879+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcontext.cpp:338"> 

[LOG[Valid MSI Package path = C:\WINDOWS\ccmcache\13\install_flash_player_21_active_x.msi]LOG]!><time="15:49:09.880+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcontext.cpp:765"> 

[LOG[ Advertising MSI package [C:\WINDOWS\ccmcache\13\install_flash_player_21_active_x.msi] to the system.]LOG]!><time="15:49:09.881+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcommon.cpp:125"> 

[LOG[ Executing Command line: "C:\WINDOWS\system32\msiexec.exe" /i "install_flash_player_21_active_x.msi" /q /qn with user context]LOG]!><time="15:49:10.268+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:201"> 

[LOG[ Working directory C:\WINDOWS\ccmcache\13]LOG]!><time="15:49:10.269+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:215"> 

[LOG[ Post install behavior is BasedOnExitCode]LOG]!><time="15:49:10.272+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcommon.cpp:1094"> 

[LOG[ Waiting for process 27844 to finish. Timeout = 120 minutes.]LOG]!><time="15:49:10.273+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:1958"> 

[LOG[ Process 27844 terminated with exitcode: 1603]LOG]!><time="15:49:21.074+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:1967"> 

[LOG[ Looking for exit code 1603 in exit codes table...]LOG]!><time="15:49:21.075+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:505"> 

[LOG[ Unmatched exit code (1603) is considered an execution failure.]LOG]!><time="15:49:21.075+420" date="05-27-2016" component="AppEnforce" context="" type="2" thread="31144" file="appexcnlib.cpp:591"> 

[LOG[++++++ App enforcement completed (11 seconds) for App DT "Adobe Flash Player 21 ActiveX - Windows Installer (*.msi file)" [ScopeId_C8F1F365-A3C5-47CB-BD87-DB1E3BCFB76D/DeploymentType_a629d54a-d453-49a1-84c1-0192f983f1e4], Revision: 1, User SID: ] ++++++]LOG]!><time="15:49:21.076+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appprovider.cpp:2448"> 

[LOG[+++ Starting Install enforcement for App DT "Adobe Flash Player 21 ActiveX - Windows Installer (*.msi file)" ApplicationDeliveryType - ScopeId_C8F1F365-A3C5-47CB-BD87-DB1E3BCFB76D/DeploymentType_a629d54a-d453-49a1-84c1-0192f983f1e4, Revision - 1, ContentPath - C:\WINDOWS\ccmcache\13, Execution Context - System]LOG]!><time="15:49:27.388+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appprovider.cpp:1702"> 

[LOG[ A user is logged on to the system.]LOG]!><time="15:49:27.388+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appprovider.cpp:2083"> 

[LOG[ Performing detection of app deployment type Adobe Flash Player 21 ActiveX - Windows Installer (*.msi file)(ScopeId_C8F1F365-A3C5-47CB-BD87-DB1E3BCFB76D/DeploymentType_a629d54a-d453-49a1-84c1-0192f983f1e4, revision 1) for system.]LOG]!><time="15:49:27.391+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appprovider.cpp:2148"> 

[LOG[+++ MSI application not discovered [MSI Product Code: {FA944726-00F8-43B5-BB97-33E6FF409C22}, MSI Product version: ]]LOG]!><time="15:49:27.391+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="msihandler.cpp:131"> 

[LOG[ App enforcement environment: 
    Context: Machine 
    Command line: msiexec /i "install_flash_player_21_active_x.msi" /q 
    Allow user interaction: No 
    UI mode: 0 
    User token: null 
    Session Id: 3 
    Content path: C:\WINDOWS\ccmcache\13 
    Working directory: ]LOG]!><time="15:49:27.392+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcontext.cpp:85"> 

[LOG[ Prepared working directory: C:\WINDOWS\ccmcache\13]LOG]!><time="15:49:27.393+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcontext.cpp:189"> 

[LOG[Found executable file msiexec with complete path C:\WINDOWS\system32\msiexec.exe]LOG]!><time="15:49:27.394+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="executility.cpp:188"> 

[LOG[ Prepared command line: "C:\WINDOWS\system32\msiexec.exe" /i "install_flash_player_21_active_x.msi" /q /qn]LOG]!><time="15:49:27.395+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcontext.cpp:338"> 

[LOG[Valid MSI Package path = C:\WINDOWS\ccmcache\13\install_flash_player_21_active_x.msi]LOG]!><time="15:49:27.395+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcontext.cpp:765"> 

[LOG[ Advertising MSI package [C:\WINDOWS\ccmcache\13\install_flash_player_21_active_x.msi] to the system.]LOG]!><time="15:49:27.396+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcommon.cpp:125"> 

[LOG[ Executing Command line: "C:\WINDOWS\system32\msiexec.exe" /i "install_flash_player_21_active_x.msi" /q /qn with user context]LOG]!><time="15:49:27.800+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:201"> 

[LOG[ Working directory C:\WINDOWS\ccmcache\13]LOG]!><time="15:49:27.801+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:215"> 

[LOG[ Post install behavior is BasedOnExitCode]LOG]!><time="15:49:27.803+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcommon.cpp:1094"> 

[LOG[ Waiting for process 29956 to finish. Timeout = 120 minutes.]LOG]!><time="15:49:27.805+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:1958"> 

[LOG[ Process 29956 terminated with exitcode: 1603]LOG]!><time="15:49:38.441+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:1967"> 

[LOG[ Looking for exit code 1603 in exit codes table...]LOG]!><time="15:49:38.441+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:505"> 

[LOG[ Unmatched exit code (1603) is considered an execution failure.]LOG]!><time="15:49:38.442+420" date="05-27-2016" component="AppEnforce" context="" type="2" thread="31144" file="appexcnlib.cpp:591"> 

[LOG[++++++ App enforcement completed (11 seconds) for App DT "Adobe Flash Player 21 ActiveX - Windows Installer (*.msi file)" [ScopeId_C8F1F365-A3C5-47CB-BD87-DB1E3BCFB76D/DeploymentType_a629d54a-d453-49a1-84c1-0192f983f1e4], Revision: 1, User SID: ] ++++++]LOG]!><time="15:49:38.443+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appprovider.cpp:2448"> 

在該包的錯誤代碼我有:

0 - success (no reboot) 
1707- success (no reboot) 
3010 - soft reboot 
1641 - hard reboot 
1618 - fast retry 

我想我的主要問題是爲什麼這個軟件包保持失敗?這讓我撓了撓頭。對於格式化日誌文件我感到抱歉,我試圖儘可能清除它。

謝謝!

回答

0

您需要將MSI設置爲創建安裝日誌(例如,在命令行中添加「/ L * v C:\ Windows \ Temp \ flash-install.log」),然後在那裏查看爲什麼msi失敗了。

+0

我嘗試添加你給我的代碼,但它只是旋轉上安裝並沒有做任何事情。我能夠安裝一個軟件包,但另一個軟件包因相同的推理而失敗。我拍攝了日誌文件的屏幕截圖,並突出顯示了不同的位置,但是我無法上傳堆棧溢出的圖像,至少我並不完全確定如何。如果我需要創建圖片的鏈接,那麼最好的方法是什麼?那樣我不會爲日誌粘貼一堆垃圾? – squirrel

2
  1. 確保該文件存在C:\ WINDOWS \ ccmcache \ 13 \ install_flash_player_21_active_x.msi

  2. 運行從這個位置微星看看你會得到什麼樣的錯誤。我的.net3.5沒有安裝。

+0

非常感謝! – squirrel

0

刪除HKCU /安裝/ PRODUITS /「Active X的容器」,然後再試一次