System_Reset
System Reset
Definition
Use this command to shut down Windows and restart the
computer.
If an installation package requires changes to files that are only read
when starting up Windows (for example, CONFIG.SYS),
you must restart Windows before the changes can take effect. Use the System_Reset command to do so.
The Installer executes
all packages that have been specified for installation before restarting
the computer.
If you want the Installer to restart the computer immediately after
finishing a specific package, you need to use the EndInstallerSession
command additionally.
Depending on the workstation
you are using, this command may work differently. You may need to reset
the system (i.e. reboot by pressing Ctrl+Alt+Del)
if Windows does not shut down completely (in this case, the screen is
blank and the cursor is continually blinking).
In such a case it is recommended to use the command InitiateSystemShutdown
which offers additional settings.
This command only controls the Installer, a classification (e.g. execute via service) has no significance for this command.
Settings
Options
Ask user
before restarting Windows
If the package is executed interactively, the user always needs to confirm
the restart. If the package is executed automatically and you want the
user to confirm the restart anyway, you must select this option when adding
the command to the script.