I spotted this script on the web (http://autospinstaller.com) and wanted to share it with you all.
This script will download all files required by Prerequisiteinstaller.exe in advance, in order to support an ‘offline’ installation of SharePoint 2010 (that is, on a server without Internet connectivity, as is often the case). Normally it will attempt to download any missing files, which of course doesn’t help you if your server can’t browse the Internet. Thankfully, PrerequisiteInstaller.exe also accepts command-line switches to allow installation from a locally-accessible file for each respective hotfix/prerequisite.
The script contains a list (current as of this writing) of the URLs for each prerequisite, and attempts to download them all in sequence. It uses the BitsTransfer module included with Windows 7 and Win2008 (R2, at least), but hasn’t yet been tested on other OSes yet.
Just to make it clear I didn’t write these scripts but i found it on te web. Here’s a link to the creators website.
For more information about how to use the script and installer. Check this page.
That’s it for now and until next time.