I have a package/program that sometimes needs to reboot and sometimes doesn't. Both outcomes should be considered a "success."
I have the program set as "Program controls restart." because my program restarts the computer if it is required and doesn't if a restart is not needed. I do not want to use the SCCM function for rebooting as it doesn't meet our needs...
So clients that run this program and DO NOT need to reboot report a 10022 message "Program Completed Successfully (pending reboot) but these are categorized as "In Progress" they never get recategorized as "Successful." Meanwhile, the computers that need to reboot and do reboot send a 10008 message "Program Completed with success".
Is there any way for me to signal to SCCM that a reboot is not required and so not pending on "Program Controls Restart"? To me "Program Controls Restart" means that the programmight require a reboot. If Microsoft didn't want to change this function in SCCM 2012, I think they should have stuck with the 2007 wording "Program restarts computer" They changed the words in SCCM 2012, but did not implement the change in meaning to go along with the changed words, I think.