ClearRestartFlags
No Automatic System Reboot by NetInstall
Definition
Use this command to prevent an automatic system reboot
(
Background).
When copying files, you may need to overwrite existing
files. If the files you want to copy are currently in use by Windows the
copying process will be terminated.
NetInstall writes the respective files in a list; Windows will be restarted
automatically and the files are installed subsequently. (Unattended
Mode)
Example: By using the command Install list of files (InstallFileList) the Installer automatically checks
whether the files to be copied are currently in use (and therefore cannot
be copied while Windows is running).
By using the condition
IsRestartFlagSet you can check if it is
necessary to perform an automatic system reboot. Please note that the
ClearRestartFlags command works independently
of this condition.
This command only controls the Installer, a classification (e.g. execute via service) has no significance for this command.