As we approach the Holiday weekend, I suspect many of you will be installing SharePoint 2010 for the very first time… and a good portion of you on Windows 7.

Personally, I found the MSDN article Setting Up the Development Environment for SharePoint Server to be very helpful, and was my main point of reference when I performed the installation But I did have to work my way through several steps that were simply not very clear, and troubleshoot at least one error. In this blog posting, I will help walk you through some of the confusing/unclear steps, and help you overcome (maybe avoid altogether) the error that I encountered.

Note – Remember, this posting assumes that you are following the steps outlined in the MSDN Article: Setting Up the Development Environment for SharePoint Server

Step 1 is strictly geared towards helping you choose your operating system. This posting specifically focuses on installing SharePoint 2010 on Windows 7… remember it must be a 64 bit version and you should have at least 4GB of RAM.

Step 2 is where the confusion begins:

  • The very first sub-step refers to a SharePoint.exe file that for many of us was nowhere to be found. This SharePoint.exe file is actually the single executable contained within the ISO image of the SharePoint 2010 Beta 2 download… for me the file was titled: en_office_sharepoint_server_2010_beta_x64_x16-19249.exe. Depending on the build and version you downloaded, it could have a different name.
  • Copy this file locally (do not run it), they suggest copying it to C:\SharePointFiles
  • Given the complex name I chose to rename it to SharePoint.exe you may consider doing this as well as it makes the following steps easier.
  • The second sub-step instructs you to run a command to extract the installation files. It shows you 2 sample commands, one of which is:

    c:\SharePointFiles\SharePoint /extract:c:\SharePointFiles

    Here simply replace SharePoint with the name of the executable, the command should work just fine if you’ve renamed the executable to SharePoint.exe

    Examples:
    c:\SharePointFiles\SharePoint.exe /extract:c:\SharePointFiles
    or
    c:\SharePointFiles\OfficeServer.exe /extract:c:\SharePointFiles
    or
    c:\SharePointFiles\en_office_sharepoint_server_2010_beta_x64_x16-19249.exe /extract:c:\SharePointFiles

  • Perform sub-steps 3 to 5 (these should be pretty straight forward)
  • Skip sub-step 6 altogether…it only applies to Vista
  • Install each of the pre-requisites outlined in step 7.
  • Copy the script in step 8 into Notepad and remove all line breaks. It should look something like follows:
    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
  • Copy the script and execute it in the command prompt. (I suspect you may receive several errors during this step if some of the services are missing or have already been preconfigured) Sub-step 9 should help you troubleshoot any errors you encounter during the activation of these services.

  • Restart your computer and on to Step 3.

Step 3 is pretty straight forward and should not give you much of a headache as long as you follow the instructions. There is a required hotfix, which they didn’t list in the instructions… I’ll get to it shortly:

  • Know that you must choose “Standalone” configuration in sub-step 3. If you run into errors after choosing “Server Farm”, you are on your own.
  • Stop on sub-step 5 and install SQL Server 2008 KB 970315 x64 per the instructions. But do not run the Configuration Wizard just yet.
  • Download and run the WCF hotfix from http://go.microsoft.com/fwlink/?LinkID=166231. If you don’t you will receive an exception while running the Configuration Wizard (more details on the error here and here.)
  • Run the SharePoint Configuration Wizard.

Steps 4 and 5 instruct you to install Visual Studio 2010 and Create a Hyper-V virtual hard disk from the installation.

It would be a shame for you to leave out installing SharePoint Designer 2010 Beta 2.

That should be it… Have fun coding with Visual Studio 2010 and SharePoint 2010.

digg_url = “https://blog.rafelo.com/2009/11/installing-sharepoint-2010-on-windows-7.html”;digg_title = “Installing SharePoint 2010 on Windows 7 Gotchas (What SharePoint.exe?)”;digg_bgcolor = “#FFFFFF”;digg_skin = “compact”;

digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined;

Advertisements