Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Your site has saved me hours of work that I cannot begin to express my satisfaction..."

Geography

Where in the world do Tek-Tips members come from?

Get stsadm command for Central Admin button

Qik3Coder (Programmer)
27 Jun 12 12:15
Sharepoint 2007, Standard "custom" web part feature.

When I try to deploy the feature using the stsadm command, the command reports a success, but in Central Admin it is not deployed.
"%SPAdminTool%" -o deploysolution -name "%PackageName%" -local -allowGacDeployment -url %TargetWebUrl%
Trying to then activate the feature reports a "cannot be activated"

Output from standard setup.bat

Validating the content of solution webPart.wsp ...
Adding solution webPart.wsp to SharePoint ...
Operation completed successfully.
Deploying solution webPart.wsp ...
Operation completed successfully.
Activating feature webpart.myWebPart ...
Feature '{GUID}' is not installed in this farm, and can not be added to this scope.

If I go to Central Admin and manually "Deploy Solution", then either run the activate command manually or through the "Activate Site Features" the feature is activated correctly, and can be used.

My question:
How do I get the equivalent stsadmn command as whatever was run from Central Admin, so that I can update my setup.bat?

Thanks in advance,
Lodlaiden

You've got questions and source code. We want both!
There's a whole lot of Irish in that one.

ehaze (TechnicalUser)
2 Jul 12 11:15
Qik3Coder (Programmer)
2 Jul 12 11:18
Thanks for that. Might wind up using it sometime in the future.

From the blog:

Quote:


First off an important thing to note here that this will only work with SharePoint 2010. There are no PowerShell snapins available for 2007, ...

Lodlaiden

You've got questions and source code. We want both!
There's a whole lot of Irish in that one.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close