我对sccm 2012 r2和失败的软件包有疑问。对于我尝试部署的每个包,有一个奇怪的包总是返回一般错误消息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 :(得分:3)
确保此文件存在C:\ WINDOWS \ ccmcache \ 13 \ install_flash_player_21_active_x.msi
从此位置运行msi以查看您获得的错误。我没有安装.net3.5。
答案 1 :(得分:0)
您需要设置MSI以创建安装日志(例如,在命令行中添加“/ L * v C:\ Windows \ Temp \ flash-install.log”)并检查其中以查看msi的原因失败。
答案 2 :(得分:0)
删除Hkcu / installer / produits /“active x container”并再试一次