Contact

admin

About Me · Send mail to the author(s) E-mail · Twitter

At GROSSWEBER we practice what we preach. We offer trainings for modern software technologies like Behavior Driven Development, Clean Code and Git. Our staff is fluent in a variety of languages, including English.

Feed Icon

Tags

Open Source Projects

Archives

Blogs of friends

Now playing [?]

Error retrieving information from external service.
Audioscrobbler/Last.fm

ClustrMap

Batch Installing SharePoint Solution Deployment Packages (WSPs)

Posted in SharePoint at Friday, April 11, 2008 9:57 PM W. Europe Daylight Time

Because I needed to install the 20 free SharePoint Application Templates twice this week and Microsoft does not dare to include a batch installer... The batch below installs all *.wsp files in the current directory and deploys them immediately. Hopefully this saves you some time.

@echo off
for %%f in (*.wsp) do (
    echo File %%f
    "%CommonProgramFiles%\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o addsolution -filename "%%f"
    "%CommonProgramFiles%\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o deploysolution -name "%%f" -allowgacdeployment -immediate -force
)

"%CommonProgramFiles%\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o copyappbincontent
"%CommonProgramFiles%\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o execadmsvcjobs
iisreset.exe
Saturday, February 14, 2009 12:50:55 AM (W. Europe Standard Time, UTC+01:00)
espero sirva,propaganda mucha,resultados?
Thursday, October 08, 2009 10:10:20 PM (W. Europe Daylight Time, UTC+02:00)
Thanks!
All comments require the approval of the site owner before being displayed.
(will show your gravatar icon)
 
[Captcha]Enter the code shown (prevents robots):

Live Comment Preview