Interrupt windowsw startup for installtion tasks
Posted on 2010-01-08
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.