23 March, 2012

Installing Sharepoint Foundation 2010 - Windows 7

One of the great things of Microsoft Sharepoint Foundation 2010 is the capability of creating a development environment in Microsoft Windows 7 Professional (does not work in Windows 7 Home editions). This become pretty handy for me, my working computer is a laptop, so I can now develop applications anywhere without restrictions.

So how I did it in 6 easy steps?

1. Download Sharepoint Foundation 2010 and all the required software

2. Configure IIS web server in Windows 7
Copy and paste the following script in a command line.
start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;^
3. Extract Microsoft Sharepoint Foundation 2010 installer
You will need to change some files inside the installer package, if you try to run it as is, you will receive and error with a message that operating system is not supported.

So execute the following command in the installer folder:
SharePointFoundation.exe /extract:c:\SharePointFiles

This will extract all the files into c:\SharePointFiles

4. Install Microsoft FilterPack 2.0
In the files extracted in step 3 install:

5. Edit config.xml
Ok, last but not least, edit in your favorite text file editor the c:\SharePointFiles\files\Setup\config.xml and add the line

<Setting Id="AllowWindowsClientInstall" Value="True"/>

just before


6. FINALLY!! Install Microsoft Sharepoint Foundation 2010
Just run the file c:\SharePointFiles\Setup.exe and follow the steps.

Ok, you now have a small Sharepoint installation that should be used for development, but it can serve up to 10 clients, with a 10GB database. Enjoy.