I finally got SharePoint 2010 deployed to my Windows 7 computer over the holidays and am ready to dive into SharePoint 2010 development. But first, some notes about deploying SharePoint 2010 on your Windows 7 computer. Microsoft’s how-to article “Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008” does a good job of explaining how to set up SharePoint 2010 for development on your Windows 7 box, but it skips a few important details.
First, don’t try this at home! Literally, Windows 7 Home edition does not support all of the components you will need to install SharePoint 2010. Specifically, the Windows Identity Foundation will not install on Windows 7 Home Edition. So before you attempt this, upgrade your desktop to Windows 7 Professional or higher.
Second, Microsoft provides an install script in step 8 to install some pre-requisites. The script works fine, but you’ll need to delete the line breaks – this command is one very long line.
Here is a version of the command line that removes the line breaks:
start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ManagementScriptingTools;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-RequestFiltering;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI;WCF-HTTP-Activation;WCF-NonHTTP-Activation
Run “Start->CMD” and paste this command at the prompt – it works fine.
Once you complete this step, Microsoft advises that you investigate the Windows features to ensure that the appropriate components are installed. Don’t skip this step. You may be able to install SharePoint 2010 without all the component installed, but it won’t run. For example, without the Windows Identity Foundation, SharePoint will install but when you go to Central Administration, you’ll get a blank page.
Specifically, check to make sure you have the right security components loaded. Go to Control Panel | Programs | Turn Windows Features On or Off |. Once the dialog opens, check these settings under Internet Information Management Tools | Worldwide Web Services | Security are available:
If you don’t see Digest Authentication or Windows Authentication, you either did not install the Windows Identify Foundation Services or are running Windows 7 Home edition which won’t install these features. Once you verify that your security settings are correct, make sure that your machine account is password protected – SharePoint won’t let you log on unless your account has a password. You will add users to the system using Control Panel | Add or Remove User Accounts.
Once you’re ready to install SharePoint, I would go with the Standalone version – this will install a workable development environment using SQL Express which has limitations but should be sufficient for most development scenarios
Hope this helps, it took me the better part of a day to find out that I couldn’t do the install because I had Windows 7 Home Edition (this is actually documented elsewhere in msdn, but unfortunately not on the Windows Identity Foundation Page).