How to install Windows SharePoint Services 3.0 Tools to XP or Vista

Published 16 August 07 06:42 AM | jannemattila 

I got email from Philip Edney with a hint that how you can install Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions (VSeWSS)  for none-Windows 2003 server OS. Of course since that's not supported you'll have to do small registry hack (but that's what developers do :-):

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0]
"Sharepoint"="Installed"

I just tested it with Windows Vista and it works! Before the hack it gives me "This product can be installed if Windows SharePoint Services 3.0 has been installed first." and after the hack it went fine. I think there're a lot of people who would like to try/use this option even if they fall for unsupported mode.

But thanks to Phil to let me know about that possibility! Update: Phil mentioned that he actually got the information from Raju Sakthivel so the credits chain just goes on and on :-)

Anyways... Happy hacking!

J

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Mohamamd Omer Nasir said on August 16, 2007 12:10 AM:

Beautiful! :)

# John said on August 17, 2007 12:49 PM:

Thanks for this tip man ..... I have been looking all over the internet for a hack.

# jkpelaez said on August 21, 2007 2:55 PM:

janne, thanks a lot, I was using a Virtual Machine to build the sharepoint solutions. Now I can work faster.

I will translate this to spanish and publish on my blog, (with the referer) if thats ok to you.

Thanks again.

# jannemattila said on August 21, 2007 3:28 PM:

Hi jkpelaez!

Of course you can translate this stuff to your native language. I would do it myself but unfortunately I don't speak spanish :-(

You can post comment and add link to your blog so that I could come and learn some spanish words :-)

Anyways... Happy hacking!

J

# jkpelaez said on August 21, 2007 4:41 PM:

Hi J, thanks again, you are very kind.

The link to the post here:

http://www.juanpelaez.com/Blog/2007/08/21/InstalarLasExtensionesDeSharepointParaVisualStudio2005EnWindowsVista.aspx

Regards from Bogota - Colombia.

# Yaz said on October 14, 2007 4:28 AM:

I have created this

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0]

Where does the value

"Sharepoint"="Installed"

do I put as a default value?

Thanks

Yaz

# jannemattila said on October 14, 2007 7:24 AM:

Hi Yaz!

You have to create new key "SharePoint" with value "Installed" in it. Just leave the "(Default)" as it is.

Anyways... Happy hacking!

J

# Yaz said on October 14, 2007 8:47 AM:

Hello Again,

Do you mean a new string value equal to SharePoint and data = Installed

or do you mean a new key under 12.0 equal to SharePoint with name equal to Installed

Thanks

Yaz

# jannemattila said on October 14, 2007 1:53 PM:

Hi Yaz!

I mean that you need to create new string value.

Boy I'm bad at explaining stuff :-)

J

# Yaz said on October 14, 2007 5:16 PM:

That is what I did I managed to install windows sharepoint services.

When I open a team site defition project and look in the references, The microsoft.Sharepoint has an exclamation mark next to it. Which means it cannot find it.

A Stupid question do I need to install SharePoint Services, or is there something I need to install.

Thanks

Yaz

# jannemattila said on October 15, 2007 12:34 PM:

Hi Yaz!

Those files are part of SharePoint so that's the reason this stuff isn't supported :-) But you can use some parts without a problem.

J

# RKH said on October 25, 2007 2:00 PM:

Handy tip, thanks for passing it along.

Microsoft.SharePoint is found in the file microsoft.sharepoint.dll. You can get a copy of the dll from a SharePoint server. It usually lives somewhere in the vicinity of:

C:\Program Files\Common Files\Microsoft Shared\web server extensions\...\ISAPI\

Put a copy of the dll somewhere on your development machine and set a reference to it.

I found this on MSDN

RKH

# The Reactor said on October 29, 2007 4:29 PM:

When developing for SharePoint you may find the urge to install these tools from Microsoft. Windows SharePoint

# Mohammed Shair said on November 3, 2007 12:43 PM:

thank you guys, i really would like to say it coz u deserve it :)

# juanalo said on November 7, 2007 12:15 PM:

How do you debug your programs? I tried this solution and I need to move my solutions to the server. ¿Is ther any way to debug in de local machine against the server?

# Dragan Panjkov said on November 19, 2007 3:14 AM:

if your web parts are pure asp.net 2.0 web parts that don't use/reference sharepoint assemblies, you should be able to test them on your workstation. in different case, you must deploy them to server first.

# ISAKO's Blog said on November 27, 2007 2:12 PM:

En ocasiones cuando hemos querido desarrollar con nuestro vs05 algun webpart o aplicación que interactuara

# Scott said on December 13, 2007 11:06 PM:

I was able to create and compile a webpart using one of the templates.  I could sign it using the Signing tab on the Properties screen.  But when I click on the SharePoint Solution tab on the Properties screen VS2005 exits with no error message.  Has anybody gotten the SharePoint Solutions tab to work somehow?

# Steven said on February 29, 2008 1:45 PM:

I was trying to do this, but I do not have the 12.0 under "Web Server Extensions".

# majid said on March 10, 2008 3:13 AM:

I also have the same problem....I was trying to do this, but I do not have the 12.0 under "Web Server Extensions".

# Ivan said on March 18, 2008 1:59 PM:

I seem to have broken my ability to publish to SharePoint from InfoPath after installing Visual Studio Extensions for WSS v1.1. I had this same problem with v1.0 but was able to fix by simply uninstalling. This does not work with v1.1.

I am running this on Windows XP. The error that I get is "The following URL is not valid: ..." when trying to publish an InfoPath 2007 form to MOSS 2007 running InfoPath Forms Services. I'm not sure how these are connected.

I've tweaked my registry to allow installation on XP and to try cleaning the Server Cache at "HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\Internet\Server Cache"

(http://serena-yeoh.blogspot.com/2006/08/infopathformurlnotvalid.html).

Any ideas on how to get InfoPath working again? I no longer need VSE on my local machine.

Thanks.

# K. Senthil Kumar said on April 29, 2008 6:58 AM:

I am using Windows XP. I have copied Microsoft.Sharepoint.dll in my local PC from existing sharepoint server. Then, I have successfully installed the "Visual Studio 2005 Extensions for Windows SharePoint Services". Then, I have created new sharepoint "webpart" from my local visual studio 2005. Later, added that dll as a reference in my visual studio. There is no problem to build the solution. But i am not able to deploy the solution to the sharepoint server. I am getting error like, "Object reference not set to an instance of an object.". What should I do to deploy the solution to the sharepoint server?

# Meghana said on May 12, 2008 3:42 PM:

Hi, I am using windows XP. I have installed windows sharepoint services 3 (sharepoint.exe) on my machine. I have created a new key Web Server Extensions\12.0 under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\] as it was not existing already and created string value with name =Sharepoint and its value=Installed. But when i click on sharepoint.exe it says "this product requires windows server 2003 sp1.install this service pack and re-run" What am i supposed to do. Please let me know.

Thanks,

Meghana

# balticer said on May 17, 2008 5:09 AM:

I've got the same Problem as Meghana on a Vista machine. Any suggestions?

regards

balticer

# Jonas said on May 21, 2008 9:55 PM:

No you can install WSS 3.0 SP1 on Vista

http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2008/05/21/how-to-install-windows-sharepoint-services-3-0-sp1-on-vista-x64-x86.aspx

# Vikash said on June 5, 2008 4:30 AM:

Love U, what a solution Thanks U Guru

# naspinski said on June 13, 2008 5:17 AM:

MS releases WSS 3.0 Tools: Visual Studio 2008 Extensions

# Rahul Singh Solanki said on July 14, 2008 2:28 AM:

Please let me know how can we install WSS 3.0 in XP Environment.

Thanks in advance.

# Ismail Cassiem said on August 7, 2008 5:28 AM:

Hi, Has anyone found a fix for:"this product requires windows server 2003 sp1.install this service pack and re-run"

because I am also trying to install WSS 3.0 in XP Environment.

Please Assist

# Ferdous said on August 7, 2008 5:59 AM:

Thanks for your solutions. But it is not possibel to debug web part. I think the problem for debug process which is not availabe in the XP environment bcoz Wss is not not installed here. IF you have any idea to debug then let me know please. Thanks

# Shail said on August 21, 2008 12:54 PM:

I to am getting the same problem..... "this product requires windows server 2003 sp1.install this service pack and re-run", when i am trying to install WSS 3.0 on XP. does anyone has any solution to it.....

# Dan said on August 29, 2008 12:49 PM:

The guide is for the VS extentions (2005 or 2008) - NOT for sharepoint services themselves...

and for some of the functions in the extentions - you'll need to grab the sharepoint.dll file mentioned above...

# ankita said on September 2, 2008 1:20 PM:

hi,

this is really nice blog...

# Dan said on September 12, 2008 6:44 PM:

Just used with WSST Extentions for VS 2k8.  Works great!

Thanks!

# Nam Cao said on September 14, 2008 11:25 PM:

I have a problem like K. Senthil Kumar. Can anybody help ? Thanks in advance.

# MajodA said on September 26, 2008 7:16 AM:

thanx alot man, worked for me on XP

for shail, u need to register the key first man. create as mentioed above then u can install the VSeWSS 3.0 with no problems

thanx again for the hack

# AL said on September 30, 2008 4:25 AM:

THANKS FOR THIS!!!!.. I've been looking for this for quite a long time now. Thanks alot for this post.

# Rakib said on October 7, 2008 1:41 AM:

Great!! works for XP without any issue. Thanks for your nice tip.

# kotesh said on October 11, 2008 2:12 PM:

can u give me steps to register by using user string ([HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0]

"Sharepoint"="Installed")

????

# Alex said on October 14, 2008 12:09 PM:

I've hacked the registry as mentioned above but when I ran Sharepoint 3.0 installation, still get the same error message:

"This product can be installed if Windows SharePoint Services 3.0 has been installed first."

Am I missing something.  Appreciate your help.

# Alex said on October 14, 2008 12:30 PM:

This is for XP Pro with ISS 5.1 and 6.0 installed

# DIPAK SAHA said on October 17, 2008 10:17 AM:

I followed the steps and it worked on XP. Thanks.

# Johnny said on October 24, 2008 10:37 AM:

Steps to register "Sharepoint"="Installed":

1. Start > Run, then type "regedit".

2. Navigate to [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\].

3. If [Web Server Extensions\12.0] doesn't exist, right click on [Shared Tools] and select New > Key and type in "Web Server Extensions" without the quotes.

4. repeat step 3 for the "12.0" key.

5. Right click on [12.0], select New > String Value.

6. Type "Sharepoint" under "Name" column.

7. Double click on "Sharepoint" and type in "Installed" under "Value data" and click OK.

# Gopinath Devadass said on October 30, 2008 6:18 AM:

Really its helpful post for all SharePoint developers

# Sunil said on November 3, 2008 10:17 AM:

Excellent. It worked for me on XP. Thanks a lot people!!

# Rana said on November 5, 2008 5:10 AM:

Cool dude!!! works fine at my end.

Thanks for the trick.

# Raza said on November 7, 2008 2:19 AM:

Hi I did the same way and took all steps what Johny said to add the registry key of 12.0 and add string value with Value Name = "Sharepoint" and Value data = "Installed" but when I try to install WSS3.0 or MOSS 2007 it give me this error.

---------------------------

Setup Errors

---------------------------

Setup is unable to proceed due to the following error(s):

This product requires Windows Server 2003 SP1. Install this service pack and re-run setup.

Correct the issue(s) listed above and re-run setup.

---------------------------

OK  

---------------------------

Please help me to solve this thing

# Vig20 said on November 7, 2008 3:43 AM:

IT WORKS!

Thank you!!

simply awesome..

# Jason said on November 12, 2008 11:15 AM:

Where does Microsoft.Sharepoint.dll go in the local machine C:\Windows\System32 ??

# Rocky said on November 19, 2008 4:24 PM:

go to [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions

in Registry

2) Create a new string value 12.0

3) under 12.0 create a new key Sharepoint with value Installed

Hope this hellped

# Rocky said on November 19, 2008 4:24 PM:

Microsoft.Sharepoint.dll will be found only if you have installed Sharpoint

# Wasay said on November 26, 2008 3:46 PM:

Hi their,

Is their any hack for Visual studio 2008? or does this already comes in vs 2008? just wondering if their are extra features available or something?

thanks

# Rex said on November 27, 2008 8:22 AM:

Good stuff.  Thanks everyone!  I have not yet tried to install WSS 3.0 onto my XP box (that's my project for this weekend) but for those getting the 2003 sp1 error, I know there are two different installers for WSS... one of which is the Regular WSS installer, the other has WSS with SP1.  Maybe the latter will work for you?  Worth a shot anyway...  will report back when/if I can get the thing to run myself. ;)  Best of luck!

# kashif said on December 16, 2008 1:53 AM:

nice, but let me know how do i install WSS 3.0 on XP machine.

# Mohan said on December 17, 2008 2:15 PM:

When i added registry [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0]

"Sharepoint"="Installed"

able to installed successfully. Thanks guys

Keep it up

# Yadira said on December 17, 2008 6:40 PM:

I've hacked the registry but I still get the same error message:

"this product requires windows server 2003 sp1.install this service pack and rer-run."

Am I missing something? .Thanks .

# code0724 said on January 12, 2009 9:29 PM:

Error:the product can only be installed if windows sharepoint service 3.0 has been installed first

# jinglecat said on January 12, 2009 9:30 PM:

Cool. My installer works well after doing the  hack

# megan said on January 13, 2009 2:34 PM:

I've tried to install both the microsoft sharepoint service 3.0 first and then the microsoft sharepoint service sp1, i've also tried using the hack that you all are talking about, and still I keep getting the same error. Do i hack the code first and then try the download? I'm totally confused..

# wlopez said on January 14, 2009 6:31 PM:

Or do the following.

1.  Open notepad.

2. Paste the following code.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0]

"Sharepoint"="Installed"

3. save the file and name it like sample.reg make sure the extension .reg.

4.  Go to the location where you save the file and double click it.  This will add it to the registry.

# pentagra said on January 20, 2009 3:05 AM:

Hello ppl!

I have a problem. VSeWSS installed after registry trick, but i cannot create project :(

After installing VS extentions, "Sharepoint" folder appeared in New Projects dialog, but there is no any templates in it.

Any ideas what i did wrong?

# pentagra said on January 20, 2009 3:45 AM:

oooops :) found them. that was because of .NET 2.0 selected

# Lanntz said on January 22, 2009 2:34 AM:

thanks, cool trick dude. It's work ...

# SharePoint DeveloperMan said on January 29, 2009 1:18 PM:

Note: This excellent hack will NOT help you install or hack into SharePoint.exe (WSS 3.0).  It WILL only help a developer install VSeWSSv11.exe (Visual Studio Extensions for SharePoint).  

This way a developer doesn't need to install VS crap on the production server, and set up a test server like you are supposed to do.  But it seems M$ wants you to buy Windows 2003 for development as well....

# :) said on February 4, 2009 11:13 AM:

:):):):):):):):)

i cannot stop smiling

:):):):):):):):)

# Vista Registry Cleaner said on February 5, 2009 4:35 AM:

This really make me fill good,Thanks for the information i read and leared in your blog, more power on you.

# Constantin said on February 6, 2009 5:43 PM:

It works for Windows SharePoint Services 3.0 Tools - Visual Studio 2008 Extensions, Version 1.2 VSeWSSv12

# DanMc said on March 20, 2009 1:47 PM:

Has anyone gotten VSeWSSv13 to work this way?

It worked great for 1.2, but my 1.3 installation just says "Prematurely terminated".

# DanMc said on March 20, 2009 2:22 PM:

MORE INFO...

The install log shows the following...

MSI (c) (90:90) [13:05:10:157]: Doing action: getAppPoolsCustomAction

Action 13:05:10: getAppPoolsCustomAction.

Action start 13:05:10: getAppPoolsCustomAction.

MSI (c) (90:C8) [13:05:10:172]: Invoking remote custom action. DLL: C:\DOCUME~1\Daniel\LOCALS~1\Temp\MSI23.tmp, Entrypoint: GetAppPools

MSI (c) (90:4C) [13:05:10:172]: Cloaking enabled.

MSI (c) (90:4C) [13:05:10:172]: Attempting to enable all disabled priveleges before calling Install on Server

MSI (c) (90:4C) [13:05:10:172]: Connected to service for CA interface.

Action ended 13:05:10: getAppPoolsCustomAction. Return value 3.

DEBUG: Error 2896:  Executing action getAppPoolsCustomAction failed.

The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2896. The arguments are: getAppPoolsCustomAction, ,

Action ended 13:05:10: WelcomeDlg. Return value 3.

It looks like the call to GetAppPools is failing - obviously because IIS7 and/or w3wp are not on the machine...

Thoughts?

Deving on a non-server box is a huge plus, but some of the 1.3 features would be nice to have.

# SupapleX said on March 25, 2009 9:33 AM:

That's NICE!!!!

I've VS2005 and this hack works!

# Duncan said on May 5, 2009 8:54 AM:

You can also use the Orca MSI editor to remove the WSS requirement.

# Ravikumar said on May 11, 2009 1:27 PM:

Cool , Thank you guys....

It worked for me .... Iam using Windows XP

and VS 2005 and VS 2008 Both works good....

Happy Coding ......

# Viki said on May 22, 2009 3:21 PM:

HI.

i want to use infopath in wss 3.0..please tell me steps..i am new to wss.

# John said on June 26, 2009 9:20 PM:

Hi,

I've tried all of the mentioned solutions, but still get the error:  "This product requires Windows Server 2003 SP1. Install this service pack and re-run setup.

Correct the issue(s) listed above and re-run setup."

I read on another blog that you can't run Sharepoint services on WinXp as it has IIS 5.1 installed but Sharepoint services require IIS 6.0 to run. Is this true and if so, what are my options?

I'm running Windows XP, version 2002, service pack 3

# Arthur Wilson said on July 12, 2009 8:07 PM:

Once again the world wide web saves this developers bacon. Thanks guys.

# A. Terra said on July 28, 2009 12:55 PM:

Thank you this is a fantastic "work around" ;)

# Nady Fayek said on August 7, 2009 7:42 AM:

Hi,

I did the steps for installing sharepoint on xp but the same problem .

please help

# asupna said on August 12, 2009 11:37 PM:

create webpart template on vs2008 and fantastic it works...

thanks

# Santosh said on August 18, 2009 5:12 AM:

I tried modifying the registry entry and tried again with share point services. but it didnt work out. it is still saying me the same problem what it used to..

Is IIS required for this ? I dont have it in my laptop though..

pls suggest

# dan said on August 31, 2009 12:05 PM:

Its just does not work on win xp.. Can u please post the link to the wss install file , for the which the above mentioned steps works?

Thanks in advance

# Phil said on September 30, 2009 3:59 PM:

Yeah, I have XP also and have tried all of the above but still get the same error. :(

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required
Page view tracker