-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
sarasotasql[CodePlex]
SPADE evaluates the $LastExitCode to determine if the SQL Install succeeded. Any result other than 0 indicates a failure.
An exit code value of 3010 is valid and indicates that the install was successful, but the system needs to be restarted. SPADE needs to account for that value and provide more valuable information.
Option 1: If the Post Install tasks can be run, then continue on and log a warning that the system should be restarted.
Option 2: If the Post Install tasks cannot be run, then fail with a message that the system must be restarted before continuing and instruct the user to run SPADE again with the -PostOnly switch after the restart.