I am trying to install a group of 4 applications via a task list, I also have program required to run prior to the task executing. The program itself is just a pop up warning of an automatic reboot. I can deploy the program and the 4 applications individually just fine. If I run a task list of the 4 applications without running the Program first, it works as well. However, if I set the Task list to always run a program first, it seems to fail, not always, but always on the same machines. I get the following in the execmgr log.
Validating package ABC0008F program * in the chain. The content request ID is {00000000-0000-0000-0000-000000000000} execmgr 3/13/2015 9:26:07 AM 5412 (0x1524) Validating package ABC00090 program Program in the chain. The content request ID is {00000000-0000-0000-0000-000000000000} execmgr 3/13/2015 9:26:07 AM 5412 (0x1524) Creating an optional execution request for package ABC0008F program * execmgr 3/13/2015 9:26:07 AM 5412 (0x1524) The created request is a Task Sequence request execmgr 3/13/2015 9:26:11 AM 5412 (0x1524) Creating an optional execution request for package ABC00090 program Program execmgr 3/13/2015 9:26:11 AM 5412 (0x1524) Execution Request for advert package ABC0008F program * state change from NotExist to WaitingDependency execmgr 3/13/2015 9:26:12 AM 5412 (0x1524) Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="ABC0008F",ProgramID="*", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 3/13/2015 9:26:12 AM 5412 (0x1524) Requesting content from CAS for package ABC00090 version 1 execmgr 3/13/2015 9:26:12 AM 5412 (0x1524) Successfully created a content request handle {79C25FEC-B40D-4732-8C2C-70BD0627B38D} for the package ABC00090 version 1 execmgr 3/13/2015 9:26:12 AM 5412 (0x1524) Raising event: [SMS_CodePage(437), SMS_LocaleID(1033)] instance of SoftDistWaitingContentEvent { AdvertisementId = "ABC2003B"; ClientID = "GUID:0FC33101-9018-4ED2-ACE3-B637D842122F"; DateTime = "20150313132612.994000+000"; MachineName = "PCName"; PackageName = "ABC00090"; PackageVersion = "1"; ProcessID = 6396; ProgramName = "Program"; SiteCode = "ABC"; ThreadID = 5412; }; execmgr 3/13/2015 9:26:12 AM 5412 (0x1524) Successfully raised SoftDistWaitingContentEvent event for program Program execmgr 3/13/2015 9:26:13 AM 5412 (0x1524) Execution Request for advert package ABC00090 program Program state change from NotExist to WaitingContent execmgr 3/13/2015 9:26:13 AM 5412 (0x1524) Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="ABC00090",ProgramID="Program", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 3/13/2015 9:26:13 AM 5412 (0x1524) Processing [{79C25FEC-B40D-4732-8C2C-70BD0627B38D}, 0]: OnContentAvailable execmgr 3/13/2015 9:26:13 AM 4840 (0x12E8) [{79C25FEC-B40D-4732-8C2C-70BD0627B38D}]: Content Version 1 is available for advert , pkg: ABC00090, program Program. execmgr 3/13/2015 9:26:13 AM 4840 (0x12E8) 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. execmgr 3/13/2015 9:26:13 AM 4840 (0x12E8) Request a MTC task for execution request of package ABC00090, program Program with request id: {07A2B96E-4F4E-4284-98C0-3811E4F29C74} execmgr 3/13/2015 9:26:13 AM 4840 (0x12E8) Execution Request for advert package ABC00090 program Program state change from WaitingContent to Ready execmgr 3/13/2015 9:26:14 AM 4840 (0x12E8) Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="ABC00090",ProgramID="Program", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 3/13/2015 9:26:14 AM 4840 (0x12E8) MTC task with id {07A2B96E-4F4E-4284-98C0-3811E4F29C74}, changed state from 0 to 4 execmgr 3/13/2015 9:26:14 AM 5080 (0x13D8) Processing [{79C25FEC-B40D-4732-8C2C-70BD0627B38D}, 0]: RemoveNotification execmgr 3/13/2015 9:26:14 AM 4840 (0x12E8) MTC signaled SWD execution request with program id: Program, package id: ABC00090 for execution. execmgr 3/13/2015 9:26:14 AM 5080 (0x13D8) Sending ack to MTC for task with id: {07A2B96E-4F4E-4284-98C0-3811E4F29C74} execmgr 3/13/2015 9:26:14 AM 5080 (0x13D8) Executing program SProgram.exe in Admin context execmgr 3/13/2015 9:26:14 AM 5080 (0x13D8) Execution Request for advert package ABC00090 program Program state change from Ready to NotifyExecution execmgr 3/13/2015 9:26:14 AM 5080 (0x13D8) Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="ABC00090",ProgramID="Program", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 3/13/2015 9:26:14 AM 5080 (0x13D8) No accessible source location found for the content execmgr 3/13/2015 9:26:15 AM 5080 (0x13D8) Raising event: [SMS_CodePage(437), SMS_LocaleID(1033)] instance of SoftDistProgramBadEnvironmentEvent { AdvertisementId = "ABC2003B"; ClientID = "GUID:0FC33101-9018-4ED2-ACE3-B637D842122F"; CommandLine = "SProgram.exe"; DateTime = "20150313132615.560000+000"; DriveLetter = ""; MachineName = "PCName"; PackageName = "ABC00090"; ProcessID = 6396; ProgramName = "Program"; SiteCode = "ABC"; ThreadID = 5080; Win32ErrorCode = 0; WorkingDirectory = ""; }; execmgr 3/13/2015 9:26:15 AM 5080 (0x13D8) Raised Program Bad Environment Event for Ad:ABC2003B, Package:ABC00090, Program: Program execmgr 3/13/2015 9:26:15 AM 5080 (0x13D8) EnterRsRuningState failed to run script SProgram.exe 0x87d01108 execmgr 3/13/2015 9:26:15 AM 5080 (0x13D8) Requesting MTC to delete task with id: {07A2B96E-4F4E-4284-98C0-3811E4F29C74} execmgr 3/13/2015 9:26:15 AM 5080 (0x13D8) MTC task with id: {07A2B96E-4F4E-4284-98C0-3811E4F29C74} deleted successfully. execmgr 3/13/2015 9:26:15 AM 5080 (0x13D8) Deleting request for program Program. Failing parent program * execmgr 3/13/2015 9:26:15 AM 5080 (0x13D8) Requesting MTC to delete task with id: execmgr 3/13/2015 9:26:15 AM 5080 (0x13D8) This execution request does not own the corresponding task in MTC, returning without deleting it from MTC. execmgr 3/13/2015 9:26:15 AM 5080 (0x13D8) Requesting MTC to delete task with id: {07A2B96E-4F4E-4284-98C0-3811E4F29C74} execmgr 3/13/2015 9:26:15 AM 5080 (0x13D8) This execution request does not have a corresponding task in MTC. execmgr 3/13/2015 9:26:15 AM 5080 (0x13D8) MTC task with id {07A2B96E-4F4E-4284-98C0-3811E4F29C74}, changed state from 4 to 5 execmgr 3/13/2015 9:26:15 AM 5080 (0x13D8)
I tried adding the program to the task list but for some reason when I add the Package I get a blank program drop down box.
I just recently successfully upgraded to 2012 R2 CU4, but I had the same issue when running CU3. I checked the location logs, an it is reporting to the correct MP.