Click here to Skip to main content
15,884,473 members
Articles / Desktop Programming / WPF

Install Sharepoint 2010 in a non Server OS

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
10 Feb 2011CPOL 13.4K   3  
Install Sharepoint 2010 in a non Server OS

Do you want to develop Visual Web Parts for Sharepoint 2010 but you want it on your Development machine not the Server. Currently, the Installer that you download from Microsoft is set to be used for Windows Servers, but with a little change on the installation files you can enable Sharepoint to run on your Windows 7 desktop.

To enable that, you have to follow the steps below:

  1. Once you download the SharepointFoundation.exe, you can extract the installation files by running this on the command prompt:
    c:\YourDownloadFolder\SharepointFoundation /extract:c:\SharepointFoundationFiles

    Note: Do not use other extractor such as 7-Zip because you will get this error.

    “The language of this installation package is not supported by your system”

    This happens as the folder structure will not be extracted correctly.

  2. Now edit the config.xml in c:\SharepointFoundationFiles\files\Setup\config.xml and add this line:

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

    inside the:

    XML
    < Configuration>

    tag:

    So the who file will now look like:

    XML
    < Configuration>
      < Package Id="sts">
        < Setting Id="SETUPTYPE" Value="CLEAN_INSTALL"/>
      </ Package>
      < DATADIR Value="%CommonProgramFiles%\Microsoft Shared\Web Server Extensions\14\Data"/>
      < Logging Type="verbose" Path="%temp%" 
    	Template="Microsoft SharePoint Foundation 2010 Setup *.log"/>
      < Setting Id="UsingUIInstallMode" Value="1"/>
      < Setting Id="SETUP_REBOOT" Value="Never" />
      < Setting Id="AllowWindowsClientInstall" Value="True"/>
    </ Configuration>
  3. Save the configuration file and you are good to go. All you need to do is install the prerequisites if you haven't and run the c:\SharepointFoundationFiles\Setup.exe.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
New Zealand New Zealand
http://nz.linkedin.com/in/macaalay
http://macaalay.com/

Comments and Discussions

 
-- There are no messages in this forum --