<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>Minimalist setup script for MSMQ unattended installation</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx</link><description>Just spotted a really neat trick posted on the microsoft.public.msmq.setup newsgroup. Hans-Jürgen Philippi found a way to to create a single batch file that contains the SYSOCMGR.EXE command line as well as the information that would normally be passed</description><dc:language>en-GB</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Minimalist setup script for MSMQ unattended installation</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx#9326700</link><pubDate>Fri, 16 Jan 2009 13:28:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9326700</guid><dc:creator>tobsen</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;do you know if the windows XP needed when installing via your unattended script? I've currently no means to test it myself :-/&lt;/p&gt;</description></item><item><title>re: Minimalist setup script for MSMQ unattended installation</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx#9326787</link><pubDate>Fri, 16 Jan 2009 13:42:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9326787</guid><dc:creator>JohnBrea</dc:creator><description>&lt;p&gt;Hi Tobias,&lt;/p&gt;
&lt;p&gt;Did you mean to ask &amp;quot;do you know if the windows XP CDROM/DVD is needed&amp;quot;?&lt;/p&gt;
&lt;p&gt;The files for MSMQ are pre-loaded on Windows XP Professional machines so no need for the original media.&lt;/p&gt;
&lt;p&gt;Windows XP Home does not support MSMQ.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;John &lt;/p&gt;
</description></item><item><title>re: Minimalist setup script for MSMQ unattended installation</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx#9395575</link><pubDate>Wed, 04 Feb 2009 15:40:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9395575</guid><dc:creator>tobsen</dc:creator><description>&lt;p&gt;&amp;quot;Did you mean to ask&amp;quot; Yes, exactly. Thanks a lot.&lt;/p&gt;</description></item><item><title>re: Minimalist setup script for MSMQ unattended installation</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx#9506200</link><pubDate>Wed, 25 Mar 2009 06:04:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9506200</guid><dc:creator>CrackerJack</dc:creator><description>&lt;p&gt;This is a great &amp;quot;trick&amp;quot; and one I am using with the additional condition of only doing the install if MSMQ is not already installed. The following DOS batch script works fine on XP Pro desktops:&lt;/p&gt;
&lt;p&gt;;@ECHO OFF&lt;/p&gt;
&lt;p&gt;;ECHO &amp;quot;Try Stopping MSMQ Service&amp;quot;&lt;/p&gt;
&lt;p&gt;;NET STOP MSMQ&lt;/p&gt;
&lt;p&gt;;REM May already have been stopped, so just try a Starting it now&lt;/p&gt;
&lt;p&gt;;NET START MSMQ&lt;/p&gt;
&lt;p&gt;;IF ERRORLEVEL 2 GOTO Install&lt;/p&gt;
&lt;p&gt;;ECHO &amp;quot;Installed/Restarted - OK&amp;quot;&lt;/p&gt;
&lt;p&gt;;GOTO Finished&lt;/p&gt;
&lt;p&gt;;:Install&lt;/p&gt;
&lt;p&gt;;ECHO &amp;quot;Not Installed - NOTOK&amp;quot;&lt;/p&gt;
&lt;p&gt;;ECHO &amp;quot;Installing MSMQ now...&amp;quot;&lt;/p&gt;
&lt;p&gt;;sysocmgr.exe /i:sysoc.inf /u:checkMSMQ.bat&lt;/p&gt;
&lt;p&gt;;ECHO &amp;quot;Installed &amp;amp; Started&amp;quot;&lt;/p&gt;
&lt;p&gt;;GOTO Finished&lt;/p&gt;
&lt;p&gt;[Components]&lt;/p&gt;
&lt;p&gt;msmq_Core = ON&lt;/p&gt;
&lt;p&gt;msmq_LocalStorage = ON&lt;/p&gt;
&lt;p&gt;msmq_ADIntegrated = OFF&lt;/p&gt;
&lt;p&gt;msmq_TriggersService = OFF&lt;/p&gt;
&lt;p&gt;msmq_HTTPSupport = OFF&lt;/p&gt;
&lt;p&gt;msmq_RoutingSupport = OFF&lt;/p&gt;
&lt;p&gt;msmq_MQDSService = OFF&lt;/p&gt;
&lt;p&gt;;:Finished &lt;/p&gt;
&lt;p&gt;Thanks and Cheers,&lt;/p&gt;
&lt;p&gt;CrackerJack&lt;/p&gt;</description></item><item><title>re: Minimalist setup script for MSMQ unattended installation</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx#9506968</link><pubDate>Wed, 25 Mar 2009 12:54:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9506968</guid><dc:creator>JohnBrea</dc:creator><description>&lt;p&gt;Hi CrackerJack, &lt;/p&gt;
&lt;p&gt;Thanks for sharing.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;John Breakwell (MSFT)&lt;/p&gt;
</description></item><item><title>RtcQmsAgent fails to start on OCS 2007 R2 server - and causes KB 967831 (April 2009 update for Front End Server components) install to fail</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx#9578357</link><pubDate>Thu, 30 Apr 2009 07:33:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9578357</guid><dc:creator>Aaron Tiensivu's Blog</dc:creator><description>&lt;p&gt;If you are not planning on using the Office Communications Server Monitoring Agent, which is fairly common assumption in lab environments, you likely never planned on installing MSMQ or knew that you had to. Unfortunately, the OCS 2007 R2 setup program&lt;/p&gt;</description></item><item><title>re: Minimalist setup script for MSMQ unattended installation</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx#9586527</link><pubDate>Mon, 04 May 2009 23:27:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9586527</guid><dc:creator>Casper42</dc:creator><description>&lt;p&gt;You guys keep putting the name of the batch file in the code. &amp;nbsp;If you rename the batch file and forget to change the SYSOCMGR line, the script is going to fail.&lt;/p&gt;
&lt;p&gt;If you change this line:&lt;/p&gt;
&lt;p&gt;;sysocmgr.exe /i:sysoc.inf /u:checkMSMQ.bat&lt;/p&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;p&gt;;sysocmgr.exe /i:sysoc.inf /u:%0&lt;/p&gt;
&lt;p&gt;it will still work and the .bat/.cmd filename is now Dynamic.&lt;/p&gt;
&lt;p&gt;%0 (%ZERO) always spits out the name of the batch file that is actively being run, which in this case is also your SYSOC INF.&lt;/p&gt;
&lt;p&gt;Thanks for a GREAT trick BTW with the ;&lt;/p&gt;
&lt;p&gt;I am a batch scripting nerd and I never knew this so it was a great find when I stumbled across this page.&lt;/p&gt;
&lt;p&gt;-Caper42&lt;/p&gt;</description></item><item><title>re: Minimalist setup script for MSMQ unattended installation</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx#9586570</link><pubDate>Mon, 04 May 2009 23:37:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9586570</guid><dc:creator>JohnBrea</dc:creator><description>&lt;p&gt;Nice tip - thanks, Casper42.&lt;/p&gt;
</description></item><item><title>re: Minimalist setup script for MSMQ unattended installation</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx#9877515</link><pubDate>Thu, 20 Aug 2009 23:58:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9877515</guid><dc:creator>Casper42</dc:creator><description>&lt;p&gt;Just FYI - this same trick works with Security INF Files.&lt;/p&gt;
&lt;p&gt;Example&lt;/p&gt;
&lt;p&gt;;secedit /configure /db %computername%.sdb /cfg %0 /overwrite /log %computername%.log /quiet&lt;/p&gt;
&lt;p&gt;;GOTO :EOF&lt;/p&gt;
&lt;p&gt;[Unicode]&lt;/p&gt;
&lt;p&gt;Unicode=yes&lt;/p&gt;
&lt;p&gt;[Version]&lt;/p&gt;
&lt;p&gt;signature=&amp;quot;$CHICAGO$&amp;quot;&lt;/p&gt;
&lt;p&gt;Revision=1&lt;/p&gt;
&lt;p&gt;[System Access]&lt;/p&gt;
&lt;p&gt;;----------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;;Account Policies - Password Policy&lt;/p&gt;
&lt;p&gt;;----------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;MinimumPasswordAge =30&lt;/p&gt;
&lt;p&gt;MaximumPasswordAge =90&lt;/p&gt;
&lt;p&gt;MinimumPasswordLength =8&lt;/p&gt;
&lt;p&gt;PasswordComplexity =1&lt;/p&gt;
&lt;p&gt;PasswordHistorySize =24&lt;/p&gt;
&lt;p&gt;etc etc etc&lt;/p&gt;
&lt;p&gt;Oh and if you didnt notice, I used GOTO :EOF&lt;/p&gt;
&lt;p&gt;On XP/2003 and higher, this will always go to the end of the file and thus you don't need to add the jump tag like ;:FINISHED at the end of the INF section.&lt;/p&gt;</description></item><item><title>re: Minimalist setup script for MSMQ unattended installation</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx#9895802</link><pubDate>Wed, 16 Sep 2009 14:27:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9895802</guid><dc:creator>Whozfoxy</dc:creator><description>&lt;p&gt;worked like a charm. Sorted out my OCS2007 installation, and able to continue with the process. thank you.&lt;/p&gt;</description></item><item><title>re: Minimalist setup script for MSMQ unattended installation</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx#9895817</link><pubDate>Wed, 16 Sep 2009 15:30:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9895817</guid><dc:creator>JohnBrea</dc:creator><description>&lt;p&gt;More kudos for Hans-J&amp;#252;rgen Philippi :-)&lt;/p&gt;
</description></item><item><title>re: Minimalist setup script for MSMQ unattended installation</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx#9932810</link><pubDate>Fri, 04 Dec 2009 22:29:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9932810</guid><dc:creator>toast</dc:creator><description>&lt;p&gt;I am being asked for the CD-ROM on XP Pro SP3 machines when I run the batch file. &amp;nbsp;If I give it a path to the i386 folder when asked, it works fine. &amp;nbsp;I can manually do the install and it never asks.&lt;/p&gt;
&lt;p&gt;Please help!&lt;/p&gt;</description></item><item><title>re: Minimalist setup script for MSMQ unattended installation</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx#9933060</link><pubDate>Sun, 06 Dec 2009 01:41:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9933060</guid><dc:creator>JohnBrea</dc:creator><description>&lt;p&gt;Hi Toast,&lt;/p&gt;
&lt;p&gt;You should not need the CD-ROM for this. Are these clean-install machines or ones that have been used for a while? Are any clean-up tools run on them that remove &amp;quot;unwanted&amp;quot; files? Do you use the default Windows installation directory or something different?&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;John Breakwell (MSFT) &lt;/p&gt;
</description></item><item><title>re: Minimalist setup script for MSMQ unattended installation</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx#9933476</link><pubDate>Mon, 07 Dec 2009 15:02:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9933476</guid><dc:creator>toast</dc:creator><description>&lt;p&gt;We don't run any disk cleanup on these pcs. &amp;nbsp;Default Windows install folder. &amp;nbsp;I am only asked for the CD when installed using the batch file. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I want to run via the batch file so I can advertise it to the pcs and run it with the user logged in to prevent a tech (with admin rights) from logging in.&lt;/p&gt;
&lt;p&gt;It would be nice to do it this way to prevent the wrong items being mistakenly selected by a tech. &amp;nbsp;It would also save time per pc.&lt;/p&gt;
&lt;p&gt;I need to deploy this tomorrow, btw. :)&lt;/p&gt;</description></item><item><title>re: Minimalist setup script for MSMQ unattended installation</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx#9933506</link><pubDate>Mon, 07 Dec 2009 15:47:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9933506</guid><dc:creator>JohnBrea</dc:creator><description>&lt;p&gt;Hi Toast,&lt;/p&gt;
&lt;p&gt;I've just tested the script and it works as designed.&lt;/p&gt;
&lt;p&gt;1 &amp;nbsp;Load up a test Windows XP machine that doesn't have MSMQ installed; run NET START MSMQ and receive error &amp;quot;The service name is invalid&amp;quot;.&lt;/p&gt;
&lt;p&gt;2 &amp;nbsp;Paste the script into a text file on the desktop called MSMQINSTALL.BAT and save.&lt;/p&gt;
&lt;p&gt;3 &amp;nbsp;Run MSMQINSTALL.BAT from command prompt&lt;/p&gt;
&lt;p&gt;4 &amp;nbsp;Watch the dialogue boxes as setup runs&lt;/p&gt;
&lt;p&gt;5 &amp;nbsp;When completed, run NET START MSMQ and receive response &amp;quot;The requested service has already been started&amp;quot;.&lt;/p&gt;
&lt;p&gt;On one of your problem machines, before you run the script do you see all the MQ files in the Windows\System32 directory? Should be 24 files (from MQAD.DLL through MQUTIL.DLL). I assume you do as you say you can install MSMQ manually.&lt;/p&gt;
&lt;p&gt;If this is urgent then I would recommend raising a support case with Microsoft.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;John Breakwell&lt;/p&gt;
</description></item><item><title>re: Minimalist setup script for MSMQ unattended installation</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx#9933512</link><pubDate>Mon, 07 Dec 2009 15:54:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9933512</guid><dc:creator>toast</dc:creator><description>&lt;p&gt;Well I created my package and sent it to a test pc and it works just fine! &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don't know what was missing earlier...&lt;/p&gt;
&lt;p&gt;Thanks for all your help. ;)&lt;/p&gt;</description></item><item><title>re: Minimalist setup script for MSMQ unattended installation</title><link>http://blogs.msdn.com/johnbreakwell/archive/2007/06/19/minimalist-setup-script-for-msmq-unattended-installation.aspx#9933517</link><pubDate>Mon, 07 Dec 2009 16:03:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9933517</guid><dc:creator>JohnBrea</dc:creator><description>&lt;p&gt;Hi Toast,&lt;/p&gt;
&lt;p&gt;That's good news.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;John Breakwell (MSFT)&lt;/p&gt;
</description></item></channel></rss>