Installing SharePoint solutions using a batch file

I'm currently comparing some different reporting and statistics applications for MOSS and WSS and thought I would share some thoughts on that. I'm going to start off with a product from MAPILab called MAPILab Statistics which is available as a 30-day trial from the MAPILab website: http://www.mapilab.com/download/crm/?MAPILabSharePointStatistics

This post covers the installation of the solution package and some tips on how to use batch files to simplify deployment and activation of SharePoint solutions.

Included in the download from MAPILab are the MAPILab solution package called MAPILabSharePointStatistics.wsp, some deployment guides and licensing documents. The install guide is a PDF file which describes how to add, deploy and activate the solution using the stsadm.exe tool. These steps are very easy to follow from the command prompt, and if you know for sure that you're going to install the solution one time only, there's not really much to gain from using the batch file technique outlined below. For the rest of us, that plan on trying this solution in a few different virtual farms and hopefully deploy it to a lot of customer sites, this might be a good idea.

Create a batch file with the following stsadm commands:

1st row - stsadm -o addsolution -filename MAPILabSharePointStatistics.wsp

 

2nd row - stsadm -o deploysolution -name MAPILabSharePointStatistics.wsp –allowgacdeployment –immediate

3rd row - stsadm -o displaysolution -name MAPILabSharePointStatistics.wsp

4th row - add a PAUSE to have the process paused and make sure that the solution has been deployed properly. Hit any key to continue.

5th row -stsadm –o copyappbincontent (This row copies some files to the Config folder in the 12-Hive.)

6th row - stsadm -o activatefeature -name MLSiteActions –url http://moss01 (change the URL to match your environment)

When combined the batch file should look like this:

 

More on the MAPILab Statistics application is coming to this blog soon.

Published 06-03-2009 0:54 by Sharepointer

Comments

# Interesting information

itbloggen.se rocks! I found a lot of new information on itbloggen.se and I liked it a lot. Good job! I will be back.

Tuesday, October 06, 2009 4:59 AM by payday loans

# re: Installing SharePoint solutions using a batch file

[url="www.wesojourn.org/car-rental.html"">www.wesojourn.org/car-rental.html"]rent a car[/url] <a href="www.wesojourn.org/car-rental.html"">www.wesojourn.org/car-rental.html">rent a car</a> www.wesojourn.org/car-rental.html  40640

Saturday, November 21, 2009 12:03 AM by Abbas

# re: Installing SharePoint solutions using a batch file

<a href="www.hellzyea.com/rent-a-car"">www.hellzyea.com/rent-a-car">rent">www.hellzyea.com/rent-a-car">rent a car</a> [url="www.hellzyea.com/rent-a-car"">www.hellzyea.com/rent-a-car"]rent a car[/url] www.hellzyea.com/rent-a-car rent a car  08244

Saturday, November 21, 2009 4:54 AM by Kunst

# re: Installing SharePoint solutions using a batch file

t1lDcR  <a href="gjkorruvqsfc.com/.../a>, [url=http://yuqdvtcnzgfk.com/]yuqdvtcnzgfk[/url], [link=http://saiiuxalppnb.com/]saiiuxalppnb[/link], http://qphlnvvqhsor.com/

Wednesday, November 25, 2009 4:34 AM by jbtbwfb

# re: Installing SharePoint solutions using a batch file

JoGoiH  <a href="cuecpvbefafl.com/.../a>, [url=http://rniabgqcqecz.com/]rniabgqcqecz[/url], [link=http://qwtwmhscuxun.com/]qwtwmhscuxun[/link], http://adedtisuxjgn.com/

Thursday, November 26, 2009 12:35 PM by agxxssh

# re: Installing SharePoint solutions using a batch file

TwMWq0  <a href="ccwabdqbrqca.com/.../a>, [url=http://rouvlfsbfcba.com/]rouvlfsbfcba[/url], [link=http://plbxjhgvdjly.com/]plbxjhgvdjly[/link], http://udmfwwcgnhoh.com/

Saturday, December 12, 2009 2:06 AM by ehizisirlxu

# re: Installing SharePoint solutions using a batch file

8U2XgW  <a href="cnfpsbbjmhqu.com/.../a>, [url=http://uwxdnmlzotxf.com/]uwxdnmlzotxf[/url], [link=http://ohvehdrzcjqa.com/]ohvehdrzcjqa[/link], http://huptwtgyrelb.com/

Monday, December 14, 2009 5:46 PM by xhuieafqrjm

# re: Installing SharePoint solutions using a batch file

I1Hawf  <a href="lheldslrwwud.com/.../a>, [url=http://ndzuzccimtui.com/]ndzuzccimtui[/url], [link=http://deavvfkbxpmu.com/]deavvfkbxpmu[/link], http://hbjwrjpznkqk.com/

Saturday, December 26, 2009 4:17 AM by ysufww

# re: Installing SharePoint solutions using a batch file

yXXIzw  <a href="bltfzntqbuvg.com/.../a>, [url=http://ugxzggyqbzzx.com/]ugxzggyqbzzx[/url], [link=http://saasyptvrrcr.com/]saasyptvrrcr[/link], http://hhlvelvpaydq.com/

Sunday, December 27, 2009 7:05 PM by eoqyun

# re: Installing SharePoint solutions using a batch file

Z4v8Ji  <a href="hewrwmhwpilz.com/.../a>, [url=http://hhnfpeyhwjop.com/]hhnfpeyhwjop[/url], [link=http://wjibzeezicxw.com/]wjibzeezicxw[/link], http://pgcsiqdsigkc.com/

Monday, December 28, 2009 4:23 AM by lkjvmcfvypt

# re: Installing SharePoint solutions using a batch file

Wednesday, January 06, 2010 3:05 PM by Best Hosted SharePoint Rental Apps4Rent.com

# KnkibP

Hi! TPNQGG

Thursday, January 07, 2010 10:47 AM by KnkibP

# aSCKMZ

Hi! kuQXsw

Thursday, January 07, 2010 12:55 PM by aSCKMZ

# re: Installing SharePoint solutions using a batch file

jniXgZ  <a href="bspcumbtlwre.com/.../a>, [url=http://vtlxkfgfuban.com/]vtlxkfgfuban[/url], [link=http://glqiygedxjzf.com/]glqiygedxjzf[/link], http://iiaboizbkehu.com/

Monday, January 11, 2010 1:59 AM by jwgsyzhxd

# re: Installing SharePoint solutions using a batch file

<a href="www.phentermine-tablets.com"">www.phentermine-tablets.com/">phentermine</a>">www.phentermine-tablets.com/.../a> [url="www.phentermine-tablets.com"">www.phentermine-tablets.com/"]phentermine[/url] www.phentermine-tablets.com  oiyy

Monday, January 11, 2010 7:23 PM by titel1

# UbcgaFOxfn

99fjCS  <a href="ekvvmzlzkvql.com/.../a>, [url=http://vvmlljaqgadi.com/]vvmlljaqgadi[/url], [link=http://rcciwsweeltn.com/]rcciwsweeltn[/link], http://ibouyflakpsh.com/

Thursday, January 28, 2010 4:34 PM by cozqoks

# yRJCYSqEUMscna

D78PAU  <a href="oxsadbaspnnr.com/.../a>, [url=http://yjnuvqswqmzt.com/]yjnuvqswqmzt[/url], [link=http://lxlwbkbzppgg.com/]lxlwbkbzppgg[/link], http://vavlgrkcxqeb.com/

Thursday, January 28, 2010 5:03 PM by bfpqjwb

# hPsSiBsBpZvIcxHRD

IHSTHd  <a href="ukmcinstlxdk.com/.../a>, [url=http://omdtvnefqdnd.com/]omdtvnefqdnd[/url], [link=http://ojoadwwouqki.com/]ojoadwwouqki[/link], http://vjyhhnzjdgpj.com/

Thursday, January 28, 2010 7:55 PM by fafbjwh

# HQaHHqqhSLxEhssSe

nDw9SF  <a href="lqnnknkfeojy.com/.../a>, [url=http://cuwhbpurrztr.com/]cuwhbpurrztr[/url], [link=http://xbdwxpjtzgtu.com/]xbdwxpjtzgtu[/link], http://tyyemrvzrtjp.com/

Thursday, January 28, 2010 8:17 PM by ctqizefty

# YsCtKQH

LQABVl

Saturday, January 30, 2010 4:56 PM by YsCtKQH

# re: Installing SharePoint solutions using a batch file

<a href="www.phentermine-hcl.org"">www.phentermine-hcl.org/">phentermine</a>">www.phentermine-hcl.org/.../a> [url="www.phentermine-hcl.org"">www.phentermine-hcl.org/"]phentermine[/url] www.phentermine-hcl.org phentermine  997

Tuesday, February 02, 2010 9:47 PM by Standaardtabel

# Install Software

Another great post.

Thanks for the tips and help.

Everyone, bookmark this site.

Friday, February 05, 2010 4:57 AM by Install Software

# Install Software

Another great post.

Thanks for the tips and help.

Everyone, bookmark this site.

Friday, February 05, 2010 6:02 AM by Install Software

Leave a Comment

(required) 
(required) 
(optional)
(required)