Link to home
Start Free TrialLog in
Avatar of gfcnetwork
gfcnetworkFlag for United States of America

asked on

Install WSP - WSS 3.0

I am trying to install a wsp file for sharepoint - specifically one that opens links in a new window.  (Suggested from this experts-exchange dialog, https://www.experts-exchange.com/questions/26103418/In-sharepoint-how-to-create-a-link-that-forces-it-to-open-in-a-new-browser.html)

I've run these commands to install the wps file but I cannot get the new web part to show in the list of available web parts when I try to add the web part to a page.  I ran this from the directory, C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN.

stsadm -o addsolution -filename windowslinks.wsp
stsadm -o deploysolution -name windowslinks.wsp -allowgacdeployment -immediate
stsadm -o execadmsvcjobs

The output from these commands said that the operations were completed succesfully.  When I open Solutions Management from the operations page in central administration, I see that the new web part is deployed and says deployed to "globally available."  

What do I need to do so that the new web part is available in the list to choose from when adding web parts to a page?
Avatar of Uday Ethirajulu
Uday Ethirajulu
Flag of United States of America image

Did you restart the IIS after deployment?

If Yes,

after deploying the wsp, the feature will be installed and activated by default.

just to make sure.

can you verify the site feature? whether its activated

Thanks,
~Uday, http://www.mstechblogs.com/sharepoint
Looks like its a custom list. Instructions from this posting - http://social.msdn.microsoft.com/Forums/en/sharepointcustomization/thread/07bdc0b9-a048-4001-abba-338083aee069


*********************************************************************************
1.  Place WindowsLinks.wsp in c:\....12\BIN directory
2.  Run STSADM command below all at the same time from c:\.........'12\bin' directory.
3.  Activate feature in Site Settings
4.  Create new custom list using the 'Windows Links' custom list.
5.  Add the list created in 4 to a webpart on the desired page.
6.  Whola!  
*********************************************************************************


STSADM.EXE -o addsolution -filename WindowsLinks.wsp
STSADM.EXE -o deploysolution -name WindowsLinks.wsp -immediate -allowgacdeployment
STSADM.EXE -o execadmsvcjobs
Avatar of gfcnetwork

ASKER

I followed these steps and realized that I was missing step number 3 - I found other features that I had tried to install but couldn't - thank you!
However, with the specific wsp file windowslinks.wsp, after following these steps, the feature isn't listed in site features to activate.  Any ideas?
 
On your site collection, go to View All Site Content->Create.

Does the new list show up under the "Custom List" section?
No - it does not.
I would suggest you retry your installation process and follow the instructions again. Not sure what else to recommend.
I've done that already with no success.  The reinstallation gave errors about how the feature was already installed.  I used the retractsolution and deletesolution options with the stsadm command and then reinstalled - no luck.
 
ASKER CERTIFIED SOLUTION
Avatar of quihong
quihong
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I went ahead and downloaded the wsp and installed it in my test env with no issues. Screenshots in case it helps.

I believe you are going to "Site features" versus "Site collection features"
WindowsLinks1.JPG
WindowsLinks2.JPG
WindowsLinks3.JPG
WindowsLinks4.JPG
WindowsLinks5.JPG
"From the site collection main page: Site Actions-->Site Settings-->Modify All Site Settings-->Site Collection Administration-->Site Collection Features. Scroll down and find Windows Links List and click Activate."
This did the trick, I had not activated it in site collection features.  Question for you though, since you installed it - did you try it?  I added a link to this web part and checked "new window" but it didn't work.  It just opened the url in the same window like always.
Yes it works. Add it as a Web Part to your default.aspx page.

It did not work if I clicked into the list itself.
Works, thanks!