Despite having /norestart in the command line options, some of our users are getting reboot prompts from Software Center when yesterday's update of Adobe Acrobat Reader DC 22.003.20310.
Is there anything we can do / provide to help figure out why?
+++ Starting Install enforcement for App DT "Adobe Acrobat Reader DC 22.003.20314" ApplicationDeliveryType - ScopeId_A2D6993C-1000-4444-8375-9EB0D5869039/DeploymentType_c7334577-8cfc-4ed3-b377-747c3518ac59, Revision - 2, ContentPath - C:\WINDOWS\ccmcache\10, Execution Context - System AppEnforce 1/26/2023 12:19:39 PM 24596 (0x6014)
Performing detection of app deployment type Adobe Acrobat Reader DC 22.003.20314(ScopeId_A2D6993C-1000-4444-8375-9EB0D5869039/DeploymentType_c7334577-8cfc-4ed3-b377-747c3518ac59, revision 2) for system. AppEnforce 1/26/2023 12:19:39 PM 24596 (0x6014)
+++ Application not discovered with script detection. [AppDT Id: ScopeId_A2D6993C-1000-4444-8375-9EB0D5869039/DeploymentType_c7334577-8cfc-4ed3-b377-747c3518ac59, Revision: 2] AppEnforce 1/26/2023 12:19:40 PM 24596 (0x6014)
Found a logged on user instance AppEnforce 1/26/2023 12:19:40 PM 24596 (0x6014)
App enforcement environment:
Context: Machine
Command line: PatchMyPC-ScriptRunner.exe /InstallPackage
Allow user interaction: Yes
UI mode: 0
User token: null
Session Id: 4294967295
Content path: C:\WINDOWS\ccmcache\10
Working directory: AppEnforce 1/26/2023 12:19:40 PM 24596 (0x6014)
Prepared working directory: C:\WINDOWS\ccmcache\10 AppEnforce 1/26/2023 12:19:40 PM 24596 (0x6014)
Prepared command line: "C:\WINDOWS\ccmcache\10\PatchMyPC-ScriptRunner.exe" /InstallPackage AppEnforce 1/26/2023 12:19:40 PM 24596 (0x6014)
Executing Command line: "C:\WINDOWS\ccmcache\10\PatchMyPC-ScriptRunner.exe" /InstallPackage with user context AppEnforce 1/26/2023 12:19:40 PM 24596 (0x6014)
Working directory C:\WINDOWS\ccmcache\10 AppEnforce 1/26/2023 12:19:40 PM 24596 (0x6014)
Post install behavior is BasedOnExitCode AppEnforce 1/26/2023 12:19:40 PM 24596 (0x6014)
Waiting for process 20640 to finish. Timeout = 120 minutes. AppEnforce 1/26/2023 12:19:40 PM 24596 (0x6014)
Process 20640 terminated with exitcode: 3010 AppEnforce 1/26/2023 12:22:01 PM 24596 (0x6014)
Looking for exit code 3010 in exit codes table... AppEnforce 1/26/2023 12:22:01 PM 24596 (0x6014)
Matched exit code 3010 to a PendingSoftReboot entry in exit codes table. AppEnforce 1/26/2023 12:22:01 PM 24596 (0x6014)
++++++ App enforcement completed (141 seconds) for App DT "Adobe Acrobat Reader DC 22.003.20314" [ScopeId_A2D6993C-1000-4444-8375-9EB0D5869039/DeploymentType_c7334577-8cfc-4ed3-b377-747c3518ac59], Revision: 2, User SID: ] ++++++ AppEnforce 1/26/2023 12:22:01 PM 24596 (0x6014)
Adobe Reader has a surprising number of applications that will trigger a reboot if they are running during the installation. /norestart doesn't stop the 3010 exit code, it just stops the installer itself from prompting for a restart. When Software Center gets the 3010 exit code, it handles it as defined in Client Settings.
Two options you can do are to change the reboot behavior or change the exit codes in the deployment type settings to set 3010 to a non reboot code.
You can also use Manage Conflicting Processes (https://patchmypc.com/manage-conflicting-processes-when-updating-third-party-applications) to ensure all conflicting Processes are closed before the install occurs.