From a time to now I've used a little batch that let me change between CDs during Windows setup.
Lately I've improved the batch enough to be released.
Unattended! - No user intervention during the process.
Small size - 300 kb are enough; just some batch files and a self-extacting archive.
Easy to use - Fill some lines and burn!
Professional look - A simple RunOnce window look.*
*CMDOW is necessary for this
Things You Need
·Understand the process: Basic batch coding and basic RunOnce knowledge.
·CMDOW is optional but totally recommended to give the process a clean look.
·A simple text-editor. Notepad is ok.
How It Works
After the RunOnce process finish the tool will give you a minute to change between media (CD or DVD doesn't matter).
If correct CD is inserted then a batch file will run from it installing your applicacions. Once the batch finished, you'll be given another minute to insert your Windows CD.
In case you want to skip this step there's no problem, all the process will run unattended and you won't need to press any button.
GUI / Interface
As said, there's no buttons you need to press. You'll only see a RunOnce window and a line advertising you to insert the CD/DVD. [Image 1]
CMDOW is used to hide the command prompt window (recommended), or if you're not picky you can just left the command window. [Image 2]
Download the compressed archive and extract it. You'll find two folders, uAxp\ and uAapps\.
uAxp\ is the root of your Windows setup disc (notice where's placed the $OEM$ folder). In a similar way, uAapps\ is the root of your applications CD or DVD.
Add the applications installed from your Windows CD to uAxp\RunOnceEx.cmd, this batch file is necessary to be launched from cmdlines.txt. Then edit uAapps\Setup.cmd to add the applications you're going to install from the other media.
... you don't insert the other media: Installation will stop for one minute, if the necessary CD/DVD is not found, setup will continue and you won't even need to press any button.
... you insert the disc on other drive: Installation will stop for one minute, Setup.cmd on the root of the media inserted will be run (all your apps will be installed without user intervention if you include the necessary silent parameters). The tool will wait an additional minute after everything is installed and Windows setup will continue...
... you insert the disc on the same drive: Same from above, but at the final pause you'll need to switch the discs on 1 minute.
... you place the necessary files on a HD: You'll be able to install any application. This is useful if you have space problems and you don't own a DVD or DVD burner.
Q) C: drive is present, why?
A) For upgrading purposes, because if after some years you decide to create a new DVD or you want to install your applications from C:\ you can do it.
If you don't want to remain in front of the monitor and you only have one CD reader, this will be your solution.
Q) Can I increase/decrease the wait time?
A) Yes, take a look at pause.cmd inside uAxp\$OEM$\uAapps.exe and just change a 2 digits number.
I'm not a geek of batch files so if you think you can improve it, feel free to contact me.
MORE TO BE WRITTEN...
Edited by SiMoNsAyS, 21 May 2005 - 08:14 AM.