<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://itbloggen.se/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Working with SharePoint : MAPILab Statistics, activate</title><link>http://itbloggen.se/cs/blogs/sharepointer/archive/tags/MAPILab+Statistics/activate/default.aspx</link><description>Tags: MAPILab Statistics, activate</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP1 (Build: 31106.3070)</generator><item><title>Installing SharePoint solutions using a batch file</title><link>http://itbloggen.se/cs/blogs/sharepointer/archive/2009/06/03/installing-mapilab-statistics-for-sharepoint-using-a-batch-file.aspx</link><pubDate>Tue, 02 Jun 2009 22:54:00 GMT</pubDate><guid isPermaLink="false">c4d5937e-68fd-46bf-8592-cdf35d8a73c1:202474</guid><dc:creator>Sharepointer</dc:creator><slash:comments>465</slash:comments><description>&lt;p&gt;&lt;a href="http://itbloggen.se/cs/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sharepointer/MAPIbatch.GIF"&gt;&lt;/a&gt;I&amp;#39;m currently comparing some different reporting and statistics applications for MOSS and WSS and thought I would share some thoughts on that. I&amp;#39;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: &lt;a href="http://www.mapilab.com/download/crm/?MAPILabSharePointStatistics"&gt;http://www.mapilab.com/download/crm/?MAPILabSharePointStatistics&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;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. &lt;/p&gt;
&lt;p&gt;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&amp;#39;re going to install the solution one time only, there&amp;#39;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. &lt;/p&gt;
&lt;p&gt;Create a batch file with the following stsadm commands: &lt;/p&gt;
&lt;p&gt;&lt;span style="color:black;"&gt;&lt;span style="font-size:12pt;"&gt;1&lt;sup&gt;st&lt;/sup&gt; row - &lt;/span&gt;&lt;strong&gt;stsadm -o addsolution -filename MAPILabSharePointStatistics.wsp &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2&lt;sup&gt;nd&lt;/sup&gt; row - &lt;strong&gt;stsadm -o deploysolution -name MAPILabSharePointStatistics.wsp &amp;ndash;allowgacdeployment &amp;ndash;immediate&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;3&lt;sup&gt;rd&lt;/sup&gt; row - &lt;strong&gt;stsadm -o displaysolution -name MAPILabSharePointStatistics.wsp&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;4&lt;sup&gt;th&lt;/sup&gt; row - add a PAUSE to have the process paused and make sure that the solution has been deployed properly. Hit any key to continue.&lt;br /&gt;&lt;br /&gt;5&lt;sup&gt;th&lt;/sup&gt; row -&lt;strong&gt;stsadm &amp;ndash;o copyappbincontent&lt;/strong&gt; (This row copies some files to the Config folder in the 12-Hive.)&lt;br /&gt;&lt;br /&gt;6&lt;sup&gt;th&lt;/sup&gt; row - &lt;strong&gt;stsadm -o activatefeature -name MLSiteActions &amp;ndash;url&lt;/strong&gt; &lt;strong&gt;http://moss01 &lt;/strong&gt;(change the URL to match your environment)&lt;br /&gt;&lt;br /&gt;When combined the batch file should look like this: &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://itbloggen.se/cs/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sharepointer/MAPIbatch.GIF"&gt;&lt;img src="http://itbloggen.se/cs/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/sharepointer/MAPIbatch.GIF" border="0" alt="" /&gt;&lt;/a&gt;&lt;a href="http://itbloggen.se/cs/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/sharepointer/MAPIbatch.GIF"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;More on the MAPILab Statistics application is coming to this blog soon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://itbloggen.se/cs/aggbug.aspx?PostID=202474" width="1" height="1"&gt;</description><category domain="http://itbloggen.se/cs/blogs/sharepointer/archive/tags/stsadm/default.aspx">stsadm</category><category domain="http://itbloggen.se/cs/blogs/sharepointer/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://itbloggen.se/cs/blogs/sharepointer/archive/tags/activate/default.aspx">activate</category><category domain="http://itbloggen.se/cs/blogs/sharepointer/archive/tags/MAPILab+Statistics/default.aspx">MAPILab Statistics</category><category domain="http://itbloggen.se/cs/blogs/sharepointer/archive/tags/batch/default.aspx">batch</category><category domain="http://itbloggen.se/cs/blogs/sharepointer/archive/tags/bat/default.aspx">bat</category><category domain="http://itbloggen.se/cs/blogs/sharepointer/archive/tags/deploy/default.aspx">deploy</category><category domain="http://itbloggen.se/cs/blogs/sharepointer/archive/tags/add/default.aspx">add</category></item></channel></rss>