Вы находитесь на странице: 1из 8

SharePoint Foundation 2010 on Windows 7 The Code Log The Code Log

Page 1 of 8

SharePoint, OpenGL, and other random stuff

SharePoint Foundation 2010 on Windows 7

i 7 Votes 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 dont 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: Microsoft FilterPack 2.0: C:\SharePointFiles\PrerequisiteInstallerFiles\FilterPack\FilterPack.msi Microsoft Sync Framework: http://go.microsoft.com/fwlink/?LinkID=141237 SQL Server Native Client: http://go.microsoft.com/fwlink/?LinkId=123718 Windows Identity Foundation: http://download.microsoft.com/download/D/7/2/D72FD74769B6-40B7-875B-C2B40A6B2BDD/Windows6.1-KB974405-x64.msu WCF Hotfix (KB971831): http://go.microsoft.com/fwlink/?LinkID=166231 ADO.NET Data Services Update for .NET Framework 3.5 SP1 to enable REST-based data services: http://download.microsoft.com/download/1/3/C/13CBF47A-15D0-4237-ABFCED6E3E3A6520/Windows6.1-KB976127-v6-x64.msu 6. Enable the required windows features by running this batch file: http://cide38f9fc6490b29d9.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 http://mycodelog.com/2010/06/08/spwin7/ 2012/11/14

SharePoint Foundation 2010 on Windows 7 The Code Log

Page 2 of 8

Run Setup.exe under C:\SharePointFiles Select standalone (Windows 7 cant be used for production deployments of SharePoint 2010 and its recommended that you use Standalone only) After the installation is complete, you will be prompted to start the SharePoint Products and Technologies Configuration Wizard.

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.

http://mycodelog.com/2010/06/08/spwin7/

2012/11/14

SharePoint Foundation 2010 on Windows 7 The Code Log

Page 3 of 8

About these ads 2010 06/08 CATEGORY Setup SharePoint TAGS AllowWindowsClientInstall optimizeCompilations SharePoint Designer SharePointFoundation standalone windows 7 Write comment Write comment Comments RSS Trackback ( 2 ) Comments ( 14 ) 1. Ravi August 1st, 2010 REPLY QUOTE 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. 0 1 i Rate This

http://mycodelog.com/2010/06/08/spwin7/

2012/11/14

SharePoint Foundation 2010 on Windows 7 The Code Log 2.

Page 4 of 8

Bas September 13th, 2010 REPLY QUOTE 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! 0 2 i Rate This 3. Bas September 13th, 2010 REPLY QUOTE Can I show my code? 0 0 i Rate This 4. Bas September 13th, 2010 REPLY QUOTE Probably not..

http://mycodelog.com/2010/06/08/spwin7/

2012/11/14

SharePoint Foundation 2010 on Windows 7 The Code Log

Page 5 of 8

0 0 i Rate This 5. Ali BaderEddin September 13th, 2010 REPLY QUOTE What exactly are you blocked on in step 4? 0 0 i Rate This 6. Alessandro December 21st, 2010 REPLY QUOTE Hi guys, Ill 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. 0 0 i Rate This 7. Ali BaderEddin December 23rd, 2010 REPLY QUOTE 2012/11/14

http://mycodelog.com/2010/06/08/spwin7/

SharePoint Foundation 2010 on Windows 7 The Code Log

Page 6 of 8

Alessandro, I dont 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 theyd consume. 0 0 i Rate This 8. Pachy January 19th, 2011 REPLY QUOTE I did all the steps but i got a blank pagewhat should I do?? 0 0 i Rate This 9. Peter Cooper January 25th, 2011 REPLY QUOTE Thanks for this. Was really useful and worked fine for me. You need to watch out if you copyand-paste the XML line because the quote marks appear as ascii #148. 0 0 i Rate This 10. Hi Doug Fisher April 13th, 2011 REPLY QUOTE

http://mycodelog.com/2010/06/08/spwin7/

2012/11/14

SharePoint Foundation 2010 on Windows 7 The Code Log I have followed the above procedure but hit two snags:

Page 7 of 8

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 0 0 i Rate This Sharique Khan July 12th, 2011 REPLY QUOTE 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. 0 0 i Rate This 11. mayuri September 28th, 2011 REPLY QUOTE Thank you very much for this post. I was successfully in setting up sp foundation on windows 7. 1 0 i Rate This 12. http://mycodelog.com/2010/06/08/spwin7/ 2012/11/14

SharePoint Foundation 2010 on Windows 7 The Code Log

Page 8 of 8

Michael J Murton April 19th, 2012 REPLY QUOTE 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 0 0 i Rate This 13. maiomar86 September 11th, 2012 REPLY QUOTE Reblogged this on Mai Omar Desouki Avid SharePointer. 0 0 i Rate This TrackBack URL 1. August 2nd, 2012 Trackback from : SharePoint Foundation 2010 install on Windows 7 | Pivotal Solution's Blog 2. September 4th, 2012 Trackback from : Setting Up the Development Environment for SharePoint 2010 on Windows 7 derby leeds blog

Blog at WordPress.com. | Theme: monochrome by mono-lab. Follow

Follow The Code Log


Powered by WordPress.com

http://mycodelog.com/2010/06/08/spwin7/

2012/11/14

Вам также может понравиться