During installation I need to install additional roles in Windows that may require a reboot to complete. Installation mustn't continue until Windows has been rebooted.
What is the best way to cancel installation, reboot and restart the installation?
asked 24 Sep '13, 12:37
Unfortunately it is not trivial to perform the process of rebooting a machine and automatically resuming installation after the reboot.
As for restarting itself, it is enough to run
The action is documented in Run Program section of InstallBuilder user guide.
You can check early in the installation process if the role exists - and if not, show information that installer will add it and reboot system, then add the role and reboot the machine if the user accepts this.
It is also possible to add installer to
This may require creating a helper
answered 24 Sep '13, 17:25