Question : Interrupt windowsw startup for installtion tasks

I have created an installation disc that contains all the software I have to install for my company when configuring a new machine.  In all it is about 30 programs which I have configured to install silently one by one.  However some can only be installed after another component has installed and the computer is rebooted.  For example, our point of sale requires that .net 3.5 sp1 is installed first and the system rebooted.  

I am trying to find out how I can interrupt the windows startup process or set the script so that once the system reboots, it automatically restarts from where it left off.  I thought about breaking my install script into several sections, each one labeled to run after a restart, then add a command to the runonce area in the registry to launch the next script on startup.  I have never done this however and was wondering if anyone could instruct me on how to do this or maybe offer a better solution?  I am only using batch files right now and do not have a lot of experience with scripting but am willing to try anything.

Answer : Interrupt windowsw startup for installtion tasks

If the script has to restart the computer the best bet is to get the script that restarts the computer to place an entry in the RunOnce value of the registry for the second part of the script?

This would only happen once the computer had logged back in but you could also script the registry auto login part.  Then remove this at the start of the new script?

Just a thought
Random Solutions  
 
programming4us programming4us