Move Exit Code

Topics: Archive - General
Jun 12, 2014 at 6:34 AM
Hi,

When the Show-InstallationRestartPrompt is displayed the Exit code is fired.
I it possible to delay the exit code until user reboots?
My issue is that when exit code is sent and prompt still is displayed, sccm Thinks that it is ok to start deploying the next application. (Displaying a 2:nd prompt, Show.-InstallationWelcome)

Stefan.
Coordinator
Jun 12, 2014 at 4:37 PM
After Show-InstallationRestartPrompt, try adding the following

Exit-Script 1641

This is the SCCM hard restart exit code that will prevent any other application from installing until a reboot is performed.

Hope this helps, Dan
Marked as answer by SteLu on 6/26/2014 at 5:11 AM