Wednesday, June 27, 2012

Install SharePoint 2010 without an Internet Connection

Sometimes your servers do not have a live connection to the internet. In this case the SP 2010 default installer runs a PrerequisiteInstaller.exe file first to download from the internet all the SP 2010 prereqs for you. Very handy. Unless you have no internet connection from that server. UGH. No fear, you must first download all the prerequisites you need. There are dozens of blog posts and articles out there on how to do this. But the best way to find out what you really need is to go into a command prompt and navigate to the setup directory of the SP 2010 install DVD, and type PrerequisiteInstaller.exe /? It will pop up a dialog showing exactly all the switches and prerequisites this particular version of the SP 2010 bits is looking for. Then go to the other guys blog posts and get to the msft sites they reference, and download the correct version (x64 or whatnot) of each one into a simple folder called something like c:\sp\run\ or whatnot. Then install them one by one or multiple from the command line as Administrator like so: PrerequisiteInstaller.exe /SQLnCli:c:\sp\run\Sqlncli.msi /PowerShell:c:\sp\run\WindowsPowerShell-60-KB968930-x64.msu you can put as many on there as you want but I find running them one or two to three at a time is best. Once done installing all the prereqs, then you can finally run the setup.exe for SP 2010 and move on with your life. Then later gripe at the windows admin who setup your vms or servers with no LIVE internet connection or STRICT browsing policies. WHAT A BOZO! Enjoy!

No comments: