Project Server 2010 and Windows 7

image

Update: Check out https://epmsource.com/2010/02/22/project-server-2010-on-windows-7-an-update/ for an update on this post.

A while back I heard that there would be an improved developer story for the next version of SharePoint. For those that have never tried developing for the platform, you typically have to have a virtual machine and dev against that.

Given the change to 64bit only and the large resource overhead running SharePoint and Project Server in a VM is a bit more of a challenge. With the new 2010 release, MS have provided support for SP2010 to be installed on Windows 7 64bit so that a developer can run it locally and provided an MSDN article to get it going, however they haven’t provided one for Project Server as the Win 7 development scenario is not officially supported, but it does appear to work. Now I accept no responsibility if you use this method, and you do so at your own risk.

Create a Windows 7 image using “Boot to VHD”

First up, you need a Windows 7 installation. I don’t tend to use my main Win 7 installation for development, so I created a fresh one using the excellent boot to VHD capability of Windows 7.  In short there are two sets of commands you need to get boot to VHD working:

1. Create the VHD with the following:

diskpart

create vdisk file="c:\vhd\Win7Dev.vhd" type=fixed maximum=30000

Changing the file path to the location and name of the file you want to create.

2. Once you kick off the Win7 install, when you get to the ‘Install Windows’ screen, press Shift + F10 and enter the following:

diskpart

select vdisk file="c:\vhd\Win7Dev.vhd"
attach vdisk
exit
exit

Next all you need to do is install Windows 7 normally, but making sure you select the VHD partition to install into. Ignore any warnings that Windows may display, it will install ok.

Installing SharePoint 2010

Next up you need to install a heap of stuff to get SharePoint 2010 working, which is already documented over at MSDN at http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx. In addition, you need to ensure you install KB976462 hotfix which is available from https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=23806&wa=wsignin1.0

Now, if you follow the above, and don’t run into any issues, you will have a working SharePoint 2010 dev install.

Installing Project Server 2010

The process to install Project Server 2010 is very similar to the above, but I will spell it out as it doesn’t appear to have its own MSDN entry.

1. Extract the contents of the Project Server executable to a temporary location by entering the following:

ProjectServer.exe /extract:c:\temporarylocation

where ProjectServer.exe is the name of your Project Server 2010 installation executable and c:\temporarylocation is where you wish to extract it to.

2. Next up we need to change the Project Server installation script to let it think that it can install on a client, to do this navigate to the file Config.xml located in c:\temporarylocation\Files\Setup, and add the line <Setting Id=”AllowWindowsClientInstall” Value=”True” /> to the <Configuration> section, so the final version of the file looks like this:

Step 17 - Client XML

3. Now Project Server 2010 can be installed in the normal manner and is ready for development on your Windows 7 box.  Again, there is a reason that MS decided this scenario wasn’t going to be supported,  so if you run into issues using Project Server 2010 on Windows 7, leave a comment below so we can all benefit.

Advertisements

7 thoughts on “Project Server 2010 and Windows 7

  1. I manage to install the new RC of sharepoint but
    when i try to install project server i am getting missing roles or features,
    any idea? could this be due to the prerequisites regarding the iis configuration?
    though I did get a the sharepoint sites working.

    • I take it you are trying to install the RC on top of Win 7? I haven’t tried to install the RC yet, but will give it a go this week and post back here on how I go :)

  2. I have installed SharePoint 2010 on Windows 7 without any issue. When I was Installing Project Server 2010 on Windows 7 after modified the Files\Setup\config.xml as you explained above, it gave me following error box;

    “The Setup configuration file FILES\SETUP\config.xml is not valid. Run Setup again without using a Setup configuaration file, or fix the configuration file.”.

    If you know any solution it is grate help for me.

    Thanks
    Samu

    • Hi,
      The short answer is since RTM, Project Server 2010 on Windows 7 is not supported and is blocked. There are workarounds that you may find on the web, but you should be aware that whilst using these may result in PS2010 installing, the behaviours seen and experienced may be different .

      If you really need to run PS2010 on W7, your best bet is to get VirtualBox or another similar desktop virtualisation technology and use that to host a SP/PS vm.

  3. Hi friend,

    Thanks for your quick respond. I’m using VMWare ESXi 4.1 virtual server environment. Can you explain more about how to use vmware environment for running SP (already ok) and PS 2010.

    Thanks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s