Installing SharePoint 2010 on Windows 7
Installation Guide
A nice feature of SharePoint 2010 (Foundation and Server) is that you can install a single server environment on Windows 7. Waning, only use this type of installation for development purposes. After downloading a copy of SharePoint 2010 (beta at the moment) from e.g. MSDN you can’t directly install it on Windows 7. If you try to run the installer as administrator you get a message like: “Setup is unable to proceed due to the following error(s): This product requires Windows Server 2008 (x64). Correct the issue(s) listed above and re-run setup.”
To install it on Windows 7 you have to follow the next steps:
-
Copy the installer to your harddrive of installation (e.g. C:\sharepoint)
-
Rename the installer to spinstaller.exe
-
Extract the installation files by opening a Command Prompt (Run > CMD)
-
Type: C:\sharepoint\spinstaller /extract:c:\sharepoint
-
This will extract the installer
-
Navigate in your Windows Explorer to: c:\sharepoint\files\setup\config.xml
-
Edit this file in notepad and add the next line <Setting Id="AllowWindowsClientInstall" Value="True"/> just before the </Cofiguration> tag (Case sensitive)
-
Save the configuration file
-
Make sure the next Windows Features are turned on (Control Panel > Turn Windows Features on or off):
//You can do this quickly by copying and running the following command in a Command Prompt window.
//The following text contains line breaks. You must remove the line breaks to run this script from a command prompt.
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-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
-
Install SharePoint 2010 by running c:\sharepoint\setup.exe as administrator
-
Choose the installation you want: Standalone (Installs SQL Server Express)
-
After the installation is complete you, will be prompted to start the SharePoint Products and Technologies Configuration Wizard. Before starting the wizard, first install the Microsoft SQL Server 2008 KB 970315 x64.
-
-
After the Microsoft SQL Server 2008 KB 970315 x64 installation is finished, complete the wizard. If it is closed you can find it in your start menu.
-
Note: you can even install SharePoint 2010 on Windows Vista. Please visit http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx for more information.
Trouble Shooting
- If the configuration wizard breaks at step 2, showing the next error message: "System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.IdentityModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified." a dll of the Geneva Framework is missing. Please install this framework containing the DLL and run the wizard againg. The next link contains the right dll: Download Geneva Framework.
- If the configuration wizard breaks at step 8, showing the next error message:
The WCF-NonHttp-Activation Windows Feature isn't checked. If you followed the tutorial on MSDN: http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx and didn't use the script but cross checked the features with the screenshots in the article, you missed this feature. Activate it (command prompt: start /w pkgmgr /iu:WCF-HTTP-Activation;WCF-NonHTTP-Activation;) or by Control Panel > Programs > Turn Windows Features on or off.