SCENARIO
You are deploying a package and you get an error 0x103(259). This error means that the installer you are calling exits withing 20 seconds with a code 259 and SCCM interprets it as a failure. In my case I was getting this error because I misspelled the name of a .bin file in my command line. But it may have something to do with your application as well.You can run a script to deploy the package that monitors the status of the installation and exit properly: https://social.technet.microsoft.com/Forums/windows/en-US/fbccc114-3605-4363-b983-b2f7b02fe266/program-exit-code-259-in-sccm-cllient?forum=configmgrgeneral
DETAILS
I am including some of the details from the execmgr.log (client log) in case you want to look at what the log says when you run into the problem I had.Checking content location C:\WINDOWS\ccmcache\2c for use execmgr 3/8/2018 10:36:44 AM 2232 (0x08B8)
Successfully selected content location C:\WINDOWS\ccmcache\2c execmgr 3/8/2018 10:36:44 AM 2232 (0x08B8)
Executing program as a script execmgr 3/8/2018 10:36:44 AM 2232 (0x08B8)
Successfully prepared command line "C:\WINDOWS\ccmcache\2c\HPBIOSUPDREC64.exe" -s -p pswd.bin -f N78_0115.bin -b execmgr 3/8/2018 10:36:44 AM 2232 (0x08B8)
Command line = "C:\WINDOWS\ccmcache\2c\HPBIOSUPDREC64.exe" -s -p pswd.bin -f N78_0115.bin -b, Working Directory = C:\WINDOWS\ccmcache\2c\ execmgr 3/8/2018 10:36:44 AM 2232 (0x08B8)
Running "C:\WINDOWS\ccmcache\2c\HPBIOSUPDREC64.exe" -s -p pswd.bin -f N78_0115.bin -b with 32bitLauncher execmgr 3/8/2018 10:36:44 AM 2232 (0x08B8)
Created Process for the passed command line execmgr 3/8/2018 10:36:44 AM 2232 (0x08B8)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramStartedEvent
{
AdvertisementId = "XXXXXXX";
ClientID = "GUID:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
CommandLine = "\"C:\\WINDOWS\\ccmcache\\2c\\HPBIOSUPDREC64.exe\" -s -p pswd.bin -f N78_0115.bin -b"; <<<That is not the correct .bin name!
DateTime = "20180308173644.802000+000";
MachineName = "XXXXXXXX";
PackageName = "XXXXXXX";
ProcessID = 2068;
ProgramName = "BIOS Update - HP Elitebook 840 G4";
SiteCode = "COB";
ThreadID = 2232;
UserContext = "NT AUTHORITY\\SYSTEM";
WorkingDirectory = "C:\\WINDOWS\\ccmcache\\2c\\";
};
execmgr 3/8/2018 10:36:44 AM 2232 (0x08B8)
Raised Program Started Event for Ad:COB2009E, Package:COB00177, Program: BIOS Update - HP Elitebook 840 G4 execmgr 3/8/2018 10:36:44 AM 2232 (0x08B8)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="COB00177",ProgramID="BIOS Update - HP Elitebook 840 G4", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 3/8/2018 10:36:44 AM 2232 (0x08B8)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="COB00177",ProgramID="BIOS Update - HP Elitebook 840 G4", actionType 1l, value ClientUX, user NULL, session 4294967295l, level 0l, verbosity 30l execmgr 3/8/2018 10:36:44 AM 2232 (0x08B8)
EvaluateRequestForExecution - Updated current running request execmgr 3/8/2018 10:36:44 AM 2232 (0x08B8)
MTC task with id {8C58E77B-0330-4F2C-9598-DB8D8D92B028}, changed state from 4 to 5 execmgr 3/8/2018 10:36:44 AM 11136 (0x2B80)
Program exit code 259 execmgr 3/8/2018 10:36:49 AM 5668 (0x1624)
Looking for MIF file to get program status execmgr 3/8/2018 10:36:49 AM 5668 (0x1624)
Program ran past its maximum runtime. It will be orphaned execmgr 3/8/2018 10:36:49 AM 5668 (0x1624)
No comments:
Post a Comment