SharePoint Foundation 2010 on Windows 7


This MSDN article describes in detail how to install SharePoint Foundation 2010 for development purposes on Windows Vista, Windows 7 and Windows Server 2008. The purpose of this post is to focus on the SharePoint installation on Window 7 only and clear out all the details for the other operating systems.

  1. Download SharePoint Foundation 2010 x64 for free. Note that there is no x86 version of SharePoint Server, so don’t bother setting it up if you have a 32-bit machine.
  2. Create a new folder “C:\SharePointFiles” and copy “SharePointFoundation.exe” to it.
  3. Start command prompt, change directory to C:\SharePointFiles and run the following command to extract the “SharePointFoundation.exe” to C:\SharePointFiles
    SharePointFoundation.exe /extract:C:\SharePointFiles
  4. Open C:\SharePointFiles\files\Setup\config.xml, add a new <Setting> tag under the <Configuration> element, then save the file. Make sure you copy the below element as is since all of the text in the configuration file is case-sensitive.
    <Setting Id=”AllowWindowsClientInstall” Value=”True”/>
  5. Install the following Prerequisites:
  6. Enable the required windows features by running this batch file: http://cid-e38f9fc6490b29d9.skydrive.live.com/self.aspx/Public/Scripts/EnableSPWinFeatures.bat
  7. Restart your computer to complete the changes that you made to Windows Features.
  8. Install SharePoint 2010
    • Run Setup.exe under C:\SharePointFiles
    • Select standalone (Windows 7 can’t be used for production deployments of SharePoint 2010 and it’s recommended that you use Standalone only)
    • After the installation is complete, you will be prompted to start the SharePoint Products and Technologies Configuration Wizard.
      InstallSP
  9. After a SharePoint solution (.wsp file) is deployed, it recycles the application pool. To improve the initial page load times, set the optimizeCompilations property of the <compilation> tag in your web.config file (C:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config) to true.
    <compilation optimizeCompilations=”true”>

SharePoint Designer 2010 is also free and can help you better design your SharePoint site(s). You can download it here.

About these ads
    • Ravi
    • August 1st, 2010

    Hello Sir,
    I want to develop an application in .net, that will read XML file. and will convert that code into any language such as C, C#, Java. But I am not getting How to start..
    Thank You.

    • Bas
    • September 13th, 2010

    Hey, I am trying to install spf 2010 on my Windows 7 machine. Works for me till step 4. I changed the config.xml file on location C:\SharePointFiles\Files\Setup\config.xml to:

    *Without linebreaks ofcourse.

    When I run the Setup I get the following Setup error:
    This product requires Windows Server 2008 Service Pack 2 or above.

    Do you have any idea what is going wrong?

    Thank you!

    • Bas
    • September 13th, 2010

    Can I show my code?

    • Bas
    • September 13th, 2010

    Probably not..

    • Ali BaderEddin
    • September 13th, 2010

    What exactly are you blocked on in step 4?

    • Alessandro
    • December 21st, 2010

    Hi guys,

    I’ll use Sharepoint in my company (~20 users) to act like a ECM, just for document repository, some permission roles, etc.

    I have a Quad-core PC with 4 GB RAM and Win7 64-bits installed. JIRA applications are already installed on this machine.

    Can I also install the Sharepoint Foundation 2010 for production in this machine, just for 20 users??? My question is, will I have performance issues???

    Thank you.

  1. Alessandro, I don’t have an answer to your question. That depends on how much traffic the 20 users put on the site.

    I would recommend having 8GB RAM on that machine given that there will be multiple IIS, SQL server, SharePoint timer service and User Code service processes running on that machine. Add to that the JIRA applications that you have, which I have no clue how much memory they’d consume.

    • Pachy
    • January 19th, 2011

    I did all the steps but i got a blank page…what should I do??

    • Peter Cooper
    • January 25th, 2011

    Thanks for this. Was really useful and worked fine for me. You need to watch out if you copy-and-paste the XML line because the quote marks appear as ascii #148.

    • Doug Fisher
    • April 13th, 2011

    Hi

    I have followed the above procedure but hit two snags:

    1 The batch file returns an error about an incorrect format
    2 Running Setup.exe gives an error regards the config.xml file. It says it is not valid. I have copied as instructed, so what is this about?

    My W7 is installed on VM Workstation 7

    Any help is greatly appreciated

      • Sharique Khan
      • July 12th, 2011

      Hi,

      I was also facing the problem with the config file. The issue is in this blog in the opening quote for attribute is ” instead of “. So if you do a direct copy paste you will encounter the problem of xml invalid.

    • mayuri
    • September 28th, 2011

    Thank you very much for this post. I was successfully in setting up sp foundation on windows 7.

  2. Hi, I am running into the same config.xml invalid error when I try to run setup.exe for SharePoint Foundation 2010. Is there a valid xml file that I can copy and paste? Any help would be appreciated. tx Mike

  3. Reblogged this on Mai Omar Desouki – Avid SharePointer.

    • Scott
    • December 13th, 2012

    Great article. The only problem I had was within editing the element, it didn’t like your quotes. I deleted them and added them back and worked as described. Thank you for doing this.

    • John
    • June 5th, 2013

    I had to remove and readd the double quotes (4) and use initial caps on Id and Value. Then setup.exe was able to run without erroring on the config file.

  4. I do not even know how I ehded up here, but I thought this post was great.
    I don’t know wwho you are but certainly you are going to a famous blogger if you aren’t already ;)
    Cheers!

  5. Why visitors still make use of too read news papers when in this technological world everything is presented on web?

  6. This excellent website definitelyy has all of the information and facts I
    wanted concerning this subject and didn’t know who to ask.

  1. August 2nd, 2012
  2. September 4th, 2012
  3. August 1st, 2014
    Trackback from : Yoko

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: