Tuesday, September 21, 2010

• Create a development SharePoint 2010 Environment on Windows 7 Part 2:

• Creating a development environment for SharePoint 2010 is much easier now with two options, you can deploy SharePoint foundation on Windows 7 or deploy your environment on a virtual machine. In any case, these steps will guide you through the process:

• First you will need a x64 laptop or (desktop) with at least 2 GB RAM (I suggest 4 considering that you will be running Visual Studio as well)

• The process is not that complicated but it must be done in the exact sequence otherwise you will get errors in different steps during the installation.
• Here are the steps in order:
• Follow the steps in my previous post here
• You will need to download the SharePoint.exe file for Microsoft SharePoint Foundation (WSS 4) from here
• We will need to change a line in the install configuration file so we start by extracting the SharePoint.exe file using the command prompt as follows:
• Go to the search box in windows and type command prompt
• Right-mouse the command prompt link and click the Run as an administrator


• In order to extract the installation files to C:\SharePoint FoundationExtract – You can name the extract folder anything you like but I used this name as an example. Type the following command in the command prompt window:

SharePointFoundation.exe /extract:c:\SharePointextract
Now all the installation files are extracted in the C:\SharePoint extract folder on your hard desk


CAUTION: do not use winzip or winrar (or any other software extraction tool because they usually break the folder structure and this may cause errors while installation. Trust me, I puzzled me initially and I lost some time getting an error stating that I do not have the right language on my system.
until I figured out that the installation file can’t find language setting for the WSS
• Find the config.xml file at:
\SharePointextract\files\setup
based on the command line I used, I should find the file in:
     c:\SharePointextract\files\setup\config.xml
• We need to edit the configuration file to allow for client install because out of the box, SharePoint can only install on windows Server OS.
Add the following line at the end of the file before the tag:
 • Save the file as config.xml in the same location.
Caution: Make sure the capitalization is correct
• The modified file should look like this:

• Follow the following link to install and configure IIS on windows 7 here.

1-Install the following additional prerequisites:
Microsoft FilterPack 2.0. At a command prompt, type the following:
c:\ SharePointextract \PrerequisiteInstallerFiles\sync\Synchronization.msi
(where c:\ SharePoint extract is the location where you extracted your SharePoint.exe)
2- Download and install the Microsoft Sync Framework 2.0 Redistributable Package here
Make sure that you select the right set of files that corresponds to your machine.
3- Download and install the Windows Identity Foundation
4- Install the SharePoint Foundation by running the command:
c:\ SharePointextract \setup.exe
(Again, where c:\ SharePoint extract is the location where you extracted your SharePoint.exe)

I will detail the installation process in the next blog.

Create a development SharePoint 2010 Environment Part 1: Installing software requirements for SharePoint foundation on Windows 7:

When you try to install SharePoint foundation on Windows 7, the installer will check for the prerequisites and will not install unless these features re installed. That will not be a problem when you are installing on a Windows 2008 server because you will have the option to run the prerequisite installer. But running the install pre-requisite option (Prerequisite.exe) on windows 7 will not run. Also, you must install SQL server before installing SharePoint Server but if you are installing the SharePoint Foundation, you do not need to worry about the SQL Server as the SharePoint Foundation installation will install configures SQL Express 2008 during the installation process. To prepare you windows 7 machine for SharePoint Foundation installation, I recommend following these steps:

Configure IIS by following these steps:


1- Go to control panel then select Turn Windows features on or off under the Programs and Features group.




2- Go to the Internet Information Services section of the Windows Features dialog box
3- Expand the Web Management Tools, then expand the II6 Management Compatibility section. Make sure you have the same configuration as the figure below:
4-Now expand the World Wide Services section and the Common HTTP Features sections: Configure these sections as figure below:






5- Expand the Health and Diagnostics section, the Performance Features and the Security Features then make these sections as figure below:



6-Click ok, Windows will install the features as shown below:


Then you will need to restart for the new configuration to take effect.
At this point your machine is ready to install SharePoint Foundation as I will explain in my next blog.