What I did:
- Created a Package Source share on the Site Server
- Gave the Package Source Share the following Share permissions: SCCM Admins: Full Control, Domain Computers: Full Control, Local Admins: Full Control.
- Copied the "Program Files\Microsoft Configuration Manager\tools\ConsoleSetup" folder to my package source (Since the Package Source is actually on the site server, I just copied the ConsoleSetup folder to it that is on the same drive)
- Created a package and a Standard Program
- Command line: ConsoleSetup.exe
- I deploy it to my collection
- Run Machine Policy and Reevaluation on my Right Click Tools
- Go to one of my clients and open up Software Center and click the Install button
- It fails with ""Error: 0x80070654"
- I open up execmgr.log on the client using CMTrace and I use the error lookup tool and it shows that the 0x80070654 error is "This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package"
- I also see a red highlighted line in the execmgr.log file with the following entry: "Script for Package:PRI00013, Program: SCCM 2012 R2 Management Console failed with exit code 2147944020"
I can run ConsoleSetup.exe using a command line to the package source.
Execmgr.log Contents
Policy arrived for parent package PRI00013 program SCCM 2012 R2 Management Consoleexecmgr7/31/2014 2:40:48 AM3336 (0x0D08)Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 6l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr7/31/2014 2:40:48 AM3336 (0x0D08)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramOfferReceivedEvent
{
AdvertisementId = "PRI2000A";
ClientID = "GUID:C83A938E-8BD7-4207-A450-11B3FE063DD6";
DateTime = "20140731094048.938000+000";
MachineName = "My Computer";
ProcessID = 1548;
SiteCode = "PRI";
ThreadID = 3336;
};
execmgr 7/31/2014 2:40:48 AM3336 (0x0D08)
Raising client SDK event for class NULL, instance NULL, actionType 6l, value , user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr7/31/2014 2:40:48 AM3568 (0x0DF0)
Validating chain of dependent programs for package PRI00013 optional program SCCM 2012 R2 Management Consoleexecmgr7/31/2014 2:41:04 AM4612 (0x1204)
Validating package PRI00013 program SCCM 2012 R2 Management Console in the chain. The content request ID is {00000000-0000-0000-0000-000000000000}execmgr7/31/2014 2:41:04 AM4612 (0x1204)
Creating an optional execution request for package PRI00013 program SCCM 2012 R2 Management Consoleexecmgr 7/31/2014 2:41:04 AM4612 (0x1204)
Requesting content from CAS for package PRI00013 version 1execmgr7/31/2014 2:41:05 AM4612 (0x1204)
Successfully created a content request handle {CBABEBB0-D019-4421-8B2E-47ABF90A925F} for the package PRI00013 version 1execmgr7/31/2014 2:41:05 AM4612 (0x1204)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistWaitingContentEvent
{
AdvertisementId = "PRI2000A";
ClientID = "GUID:C83A938E-8BD7-4207-A450-11B3FE063DD6";
DateTime = "20140731094105.334000+000";
MachineName = "My Computer";
PackageName = "PRI00013";
PackageVersion = "1";
ProcessID = 1548;
ProgramName = "SCCM 2012 R2 Management Console";
SiteCode = "PRI";
ThreadID = 4612;
};
execmgr 7/31/2014 2:41:05 AM4612 (0x1204)
Successfully raised SoftDistWaitingContentEvent event for program SCCM 2012 R2 Management Consoleexecmgr7/31/2014 2:41:05 AM4612 (0x1204)
Execution Request for advert package PRI00013 program SCCM 2012 R2 Management Console state change from NotExist to WaitingContentexecmgr7/31/2014 2:41:05 AM4612 (0x1204)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr7/31/2014 2:41:05 AM4612 (0x1204)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr7/31/2014 2:41:05 AM5072 (0x13D0)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr7/31/2014 2:41:05 AM4260 (0x10A4)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr7/31/2014 2:41:05 AM4756 (0x1294)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr7/31/2014 2:41:05 AM4756 (0x1294)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr7/31/2014 2:41:05 AM5072 (0x13D0)
Processing [{CBABEBB0-D019-4421-8B2E-47ABF90A925F}, 0]: OnContentAvailableexecmgr 7/31/2014 2:41:10 AM4756 (0x1294)
[{CBABEBB0-D019-4421-8B2E-47ABF90A925F}]: Content Version 1 is available for advert , pkg: PRI00013, program SCCM 2012 R2 Management Console.execmgr7/31/2014 2:41:10 AM4756 (0x1294)
An existing MTC token was not supplied, using ExecutionRequest's Id as MTC token and this execution request is the owner of resultant MTC task.execmgr7/31/2014 2:41:10 AM4756 (0x1294)
Request a MTC task for execution request of package PRI00013, program SCCM 2012 R2 Management Console with request id: {C9942D47-8A99-4363-AE69-A6F813336239}execmgr7/31/2014 2:41:10 AM4756 (0x1294)
Execution Request for advert package PRI00013 program SCCM 2012 R2 Management Console state change from WaitingContent to Readyexecmgr7/31/2014 2:41:10 AM4756 (0x1294)
MTC task with id {C9942D47-8A99-4363-AE69-A6F813336239}, changed state from 0 to 4execmgr7/31/2014 2:41:10 AM4328 (0x10E8)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr7/31/2014 2:41:10 AM4756 (0x1294)
Processing [{CBABEBB0-D019-4421-8B2E-47ABF90A925F}, 0]: RemoveNotificationexecmgr7/31/2014 2:41:10 AM4756 (0x1294)
MTC signaled SWD execution request with program id: SCCM 2012 R2 Management Console, package id: PRI00013 for execution.execmgr7/31/2014 2:41:10 AM4328 (0x10E8)
Sending ack to MTC for task with id: {C9942D47-8A99-4363-AE69-A6F813336239}execmgr7/31/2014 2:41:10 AM4328 (0x10E8)
Executing program ConsoleSetup.exe in Admin contextexecmgr7/31/2014 2:41:10 AM4328 (0x10E8)
Execution Request for advert package PRI00013 program SCCM 2012 R2 Management Console state change from Ready to NotifyExecutionexecmgr7/31/2014 2:41:10 AM4328 (0x10E8)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr7/31/2014 2:41:10 AM4328 (0x10E8)
Checking content location C:\Windows\ccmcache\eo for useexecmgr7/31/2014 2:41:10 AM4328 (0x10E8)
Successfully selected content location C:\Windows\ccmcache\eoexecmgr7/31/2014 2:41:10 AM4328 (0x10E8)
Executing program as a scriptexecmgr7/31/2014 2:41:10 AM4328 (0x10E8)
Successfully prepared command line "C:\Windows\ccmcache\eo\ConsoleSetup.exe"execmgr7/31/2014 2:41:10 AM4328 (0x10E8)
Command line = "C:\Windows\ccmcache\eo\ConsoleSetup.exe", Working Directory = C:\Windows\ccmcache\eo\execmgr7/31/2014 2:41:10 AM4328 (0x10E8)
Running "C:\Windows\ccmcache\eo\ConsoleSetup.exe" with 32bitLauncherexecmgr7/31/2014 2:41:10 AM4328 (0x10E8)
Created Process for the passed command line execmgr7/31/2014 2:41:11 AM4328 (0x10E8)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramStartedEvent
{
AdvertisementId = "PRI2000A";
ClientID = "GUID:C83A938E-8BD7-4207-A450-11B3FE063DD6";
CommandLine = "\"C:\\Windows\\ccmcache\\eo\\ConsoleSetup.exe\"";
DateTime = "20140731094111.028000+000";
MachineName = "My Computer";
PackageName = "PRI00013";
ProcessID = 1548;
ProgramName = "SCCM 2012 R2 Management Console";
SiteCode = "PRI";
ThreadID = 4328;
UserContext = "NT AUTHORITY\\SYSTEM";
WorkingDirectory = "C:\\Windows\\ccmcache\\eo\\";
};
execmgr 7/31/2014 2:41:11 AM4328 (0x10E8)
Raised Program Started Event for Ad:PRI2000A, Package:PRI00013, Program: SCCM 2012 R2 Management Consoleexecmgr7/31/2014 2:41:11 AM4328 (0x10E8)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr7/31/2014 2:41:11 AM4328 (0x10E8)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr7/31/2014 2:41:11 AM4328 (0x10E8)
MTC task with id {C9942D47-8A99-4363-AE69-A6F813336239}, changed state from 4 to 5execmgr7/31/2014 2:41:11 AM4612 (0x1204)
Program exit code -2147023276execmgr7/31/2014 2:41:11 AM4756 (0x1294)
Looking for MIF file to get program statusexecmgr7/31/2014 2:41:11 AM4756 (0x1294)
Script for Package:PRI00013, Program: SCCM 2012 R2 Management Console failed with exit code 2147944020execmgr7/31/2014 2:41:11 AM4756 (0x1294)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramErrorEvent
{
AdvertisementId = "PRI2000A";
ClientID = "GUID:C83A938E-8BD7-4207-A450-11B3FE063DD6";
DateTime = "20140731094111.506000+000";
ExitCode = "-2147023276";
MachineName = "My Computer";
PackageName = "PRI00013";
ProcessID = 1548;
ProgramName = "SCCM 2012 R2 Management Console";
SiteCode = "PRI";
ThreadID = 4756;
UserContext = "NT AUTHORITY\\SYSTEM";
};
execmgr 7/31/2014 2:41:11 AM4756 (0x1294)
Raised Program Error Event for Ad:PRI2000A, Package:PRI00013, Program: SCCM 2012 R2 Management Consoleexecmgr7/31/2014 2:41:11 AM4756 (0x1294)
Execution is complete for program SCCM 2012 R2 Management Console. The exit code is -2147023276, the execution status is FailureNonRetryexecmgr7/31/2014 2:41:11 AM4756 (0x1294)
Requesting MTC to delete task with id: {C9942D47-8A99-4363-AE69-A6F813336239}execmgr7/31/2014 2:41:11 AM4756 (0x1294)
MTC task with id: {C9942D47-8A99-4363-AE69-A6F813336239} deleted successfully.execmgr7/31/2014 2:41:11 AM4756 (0x1294)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 10l, value Result:FALSE, user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr7/31/2014 2:41:11 AM4756 (0x1294)
Requesting MTC to delete task with id: {C9942D47-8A99-4363-AE69-A6F813336239}execmgr7/31/2014 2:41:11 AM4756 (0x1294)
This execution request does not have a corresponding task in MTC.execmgr7/31/2014 2:41:11 AM4756 (0x1294)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr7/31/2014 2:41:11 AM4756 (0x1294)
CServiceWindowEventHandler::Execute - Received SERVICEWINDOWEVENT : END Eventexecmgr7/31/2014 5:00:00 AM2928 (0x0B70)
-------------------------------------------------------------------------------
Thanks