Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am using WSPBuilder to package up my features that creates lists and libraries.

Is there a way to add a bat file with the package will activate these lists and libraries (since they are for specific subsites) after the setup is complete?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

You could call stsadm -o activatefeature, within a new batch file, once you have deployed the solution - depends on how you currently add and deploy the solution though.

share|improve this answer
    
I already have a bat file that do that. I was trying to avoid introducing bat file. The goal is to give the solution packages to sharepoint admin and wala everything is done magically (including feature activation where necessary). –  Bob Dinero Oct 6 '10 at 19:01
    
James, Thanks for your input. I did some Google and I think there are not other way but bat file (which I already have). I wanted to piggy bag it with the solution package. Thanks Again. –  Bob Dinero Oct 6 '10 at 19:10
    
Ah, understood. Yeah, your best bet is to pass the WSP and the bat the file to your admin, and instruct her to run the Bat file (she can then easily inspect the contents of the bat file if she wants to, too). –  James Love Oct 6 '10 at 19:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.