SharePoint 2010 (beta) standalone install on Windows 7

by ravikanthchaganti on November 27, 2009
1,677 Views

I am a bit late on writing about this but nevertheless, I think I have some useful information to share. I needed a demo system for my SharePoint 2010 talk at Bangalore IT Pro user group meet tomorrow. For this purpose, I started installing SharePoint 2010 on my Windows 7 laptop. I knew that there are a few issues with SharePoint 2010 standalone deployments on Windows 7. You can read about it here.

Before you get started with the install, here is a quick note about using SharePoint 2010 on Windows 7 (as posted on MSDN)

The development environment that you create by using these instructions will not support SharePoint farm installations, and you should not host active production sites with this configuration. These instructions will enable you to get started with an environment that is specifically suited to developing SharePoint custom solutions.

Now to the real stuff
There is a prerequisite installer included with SharePoint 2010. However, this won’t run on Windows 7. For installing SharePoint 2010, you need the following prerequisites. You can follow the links mentioned here to download each of the required components.

1. Extract SharePoint 2010 files in to C:\SharePoint2010 or any folder of your choice. You can do this by running

officeserver.exe /extract:C:\SharePoint2010

2. Download and store all the below software components to C:\SharePoint2010\PrerequisiteFiles folder

Microsoft SQL Server 2008 Native Client
Microsoft Filter Pack 2.0
Microsoft “Geneva” Framework
Microsoft Sync Framework v1.0
Microsoft Chart Controls for Microsoft .NET Framework 3.5
Microsoft SQL Server 2008 Analysis Services ADOMD.NET
ADO.NET Data Services v1.5 CTP2

SQL Server 2008 KB 970315 x64

WCF Fix for R2 and Win7

3. Install server roles required by running the following command.

Ravi’s Note: You can copy (remove line breaks) the following lines in to a .bat file (for ex, Windows-Roles.bat) and save it for later use

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

3. Install the following prerequisite software from C:\SharePoint2010\PrerequisiteFiles folder

Microsoft SQL Server 2008 Native Client
Microsoft Filter Pack 2.0
Microsoft “Geneva” Framework
Microsoft Sync Framework v1.0
Microsoft Chart Controls for Microsoft .NET Framework 3.5
Microsoft SQL Server 2008 Analysis Services ADOMD.NET
ADO.NET Data Services v1.5 CTP2

Ravi’s Note: At this point if you try to run setup.exe, you will get an error message that Windows 7 is not a supported Opearting System.

4. Edit C:\SharePoint2010\files\setup\config.xml file to insert the following XML content

<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 Windows
   SharePoint Services 4.0 Setup *.log” />
  <PIDKEY Value=”Replace_with_your_PID” />
  <Setting Id=”UsingUIInstallMode” Value=”1″ />
  <Setting Id=”SETUP_REBOOT” Value=”Never” />
  <Setting Id=”AllowWindowsClientInstall” Value=”True”/>
</Configuration>

The key to installing SharePoint2010 on Windows 7 is this line in the XML.

Ravi’s Note: This XML configuration is case-sensitive.

<Setting Id=”AllowWindowsClientInstall” Value=”True”/>

5. Start SharePoint 2010 install using the below command-line

C:\SharePoint2010\setup.exe /config c:\SharePoint2010\Files\Setup\config.xml

6. Once the install is complete, uncheck the Run SharePoint configuration wizard option and click finish.

7. Install SQL Server 2008 KB 970315 x64 from c:\SharePoint2010\PrerequisiteFiles folder

8. Run the SharePoint 2010 configuration wizard now. This will fail at step 8 with a message “Failed to create sample data”. At this point, exit the wizard and restart the system.

9. Install WCF Fix for R2 and Win7 from C:\SharePoint2010\PrerequisiteFiles folder

10. Restart the system

11. Re-run SharePoint 2010 configuration wizard again.

This should completely successfully.

 

Related Posts

{ 2 comments… read them below or add one }

Solomon April 20, 2010 at 12:02 pm

5. Start SharePoint 2010 install using the below command-line

C:\SharePoint2010\setup.exe /config c:\SharePoint2010\Files\Setup\config.xml

Hi,
Could you please specify what option — standalone or farm — you selected at this step? I’m doing a development install of sp server 2010 on win 7 machine.
Thanks

ravikanthchaganti April 21, 2010 at 6:16 pm

Sorry. This went in to my spam queue for some reason. I used Standalone install method

{ 1 trackback }

Leave a Comment

Previous post:

Next post: