Sunday, March 17, 2013


Install SharePoint 2010 on Windows 7 - The good old way

It is time to rebuild my dev machine again after our network moved to a new domain. What's a pain? I have to refresh my memory about all the work-arounds I had done to install SharePoint 2010 on Windows 7.

What makes it even worse for now is that SharePoint 2013 is out and all the good old links about SharePoint 2010 had disappeared from Google search results.

When searching topic of "Install SharePoint 2010 on Windows 7" on Google, the top results are about SharePoint 2013 and a few "smart" automated script that automate the installation such as "Office Script to Install SharePoint 2010 on Windows 7". After giving it a try, I found it automates the installation of SharePoint 2010 as Standalone configuration. I don't like it!

I prefer to use SQL Server 2008 R2 and install SharePoint 2010 as "complete" "Server Farm" solution using service account just as installing it in production environment.

Here is the good old instructions from Microsoft about how to do it manually and reliably.

Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008

http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx

1. Download WCF Hotfix

Windows6.1-KB976462-v2-x64.msu

2. Download ADO.NET Data Services Update for .NET Framework 3.5 SP1 for Windows 7 and Windows Server 2008 R2

Windows6.1-KB982307-x64.msu

3. Change setup configuration file at \files\Setup\config.xml

<Configuration>
 <Package Id="sts">
  <Setting Id="LAUNCHEDFROMSETUPSTS" Value="Yes"/>
 </Package>

 <Package Id="spswfe">
  <Setting Id="SETUPCALLED" Value="1"/>
 </Package>

 <Logging Type="verbose" Path="%temp%" Template="SharePoint Server Setup(*).log"/>
 <!--<PIDKEY Value="Enter Product Key Here" />-->
 <Setting Id="SERVERROLE" Value="SINGLESERVER"/>
 <Setting Id="USINGUIINSTALLMODE" Value="1"/>
 <Setting Id="SETUPTYPE" Value="CLEAN_INSTALL"/>
 <Setting Id="SETUP_REBOOT" Value="Never"/>

 <Setting Id="AllowWindowsClientInstall" Value="True"/>
</Configuration>
 
4. If you are using Windows Vista Service Pack 1, Windows Vista Service Pack 2, or Windows 7, install the following additional prerequisites:
  • Microsoft FilterPack 2.0. At a command prompt, type the following:
    c:\SharePointFiles\PrerequisiteInstallerFiles\FilterPack\FilterPack.msi 
5. Run command line to install Windows features

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


 

No comments:

Post a Comment