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:
- 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.
Now edit the config.xml in c:\SharepointFoundationFiles\files\Setup\config.xml and add this line:
< Setting Id="AllowWindowsClientInstall" Value="True"/>
inside the:
< Configuration>
tag:
So the who file will now look like:
< 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>
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.