Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Resume after Rebooting the system (https://www.kinook.com/Forum/showthread.php?t=2676)

Buildboy 05-30-2007 03:51 PM

Resume after Rebooting the system
 
Hi All :)
After I install our product in some cases I need to reboot the system, but there are still scrips remaining to be executed after install, is there a was to continue running the rest of the steps after reboot is completed?
I searched the forum but didn't have much luck. any help is greatly appreciated.
Thanks :)

kinook 05-31-2007 07:13 AM

A few options:

1) Save the build status in the project file and exit the build at the reboot point. When the project is built again, it will continue with uncompleted steps. At the end of the build, save the project without build status so it starts at the beginning the next time. See http://www.visualbuild.com/Manual/savestatussample.htm for ideas.

2) Use a conditional build rule for the pre-reboot group of steps, building only if some macro is defined. At the point where a reboot is required, create that macro (as a global macro) and exit the build. At the end of the build, delete the global macro so the build starts from the beginning the next time.

3) Break the build into two separate .bld projects. Build the first one when doing a full build (chaining to the second if a reboot is not needed), and the second one when starting from a reboot after the first finished.


All times are GMT -5. The time now is 08:20 AM.


Copyright © 1999-2023 Kinook Software, Inc.