How do I schedule a reboot at the end of the installation?

In general, you should try to avoid reboots after installation, to minimize the disruption for the user. Most installations, including those that install services, can be completed without a reboot. If you must schedule a reboot, use one of the following methods.

InstallMate automatically schedules a reboot if it must replace in-use files. Furthermore, reboots can be scheduled as follows: