<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Register DLL &#8211; Calling RegSvr32 without MessageBoxes in PowerShell</title>
	<atom:link href="http://huddledmasses.org/register-dll-calling-regsvr32-without-messageboxes-in-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>http://huddledmasses.org/register-dll-calling-regsvr32-without-messageboxes-in-powershell/</link>
	<description>You can do more than breathe for free...</description>
	<lastBuildDate>Thu, 04 Mar 2010 22:56:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Joel 'Jaykul' Bennett</title>
		<link>http://huddledmasses.org/register-dll-calling-regsvr32-without-messageboxes-in-powershell/comment-page-1/#comment-194271</link>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
		<pubDate>Sat, 13 Sep 2008 02:50:05 +0000</pubDate>
		<guid isPermaLink="false">http://HuddledMasses.org/jaykul/register-dll-calling-regsvr32-without-messageboxes-in-powershell/#comment-194271</guid>
		<description>Peter: what do mean? Yes, of course you can test the return code -- that&#039;s the whole point of this script...</description>
		<content:encoded><![CDATA[<p>Peter: what do mean? Yes, of course you can test the return code &#8212; that&#8217;s the whole point of this script&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Nimmo</title>
		<link>http://huddledmasses.org/register-dll-calling-regsvr32-without-messageboxes-in-powershell/comment-page-1/#comment-193790</link>
		<dc:creator>Peter Nimmo</dc:creator>
		<pubDate>Thu, 11 Sep 2008 17:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://HuddledMasses.org/jaykul/register-dll-calling-regsvr32-without-messageboxes-in-powershell/#comment-193790</guid>
		<description>Ah, but you can test the return code of regsvr32, for example it returns 3 if the file doesn&#039;t exist</description>
		<content:encoded><![CDATA[<p>Ah, but you can test the return code of regsvr32, for example it returns 3 if the file doesn&#8217;t exist</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nic Bedford</title>
		<link>http://huddledmasses.org/register-dll-calling-regsvr32-without-messageboxes-in-powershell/comment-page-1/#comment-149052</link>
		<dc:creator>Nic Bedford</dc:creator>
		<pubDate>Thu, 27 Mar 2008 19:38:10 +0000</pubDate>
		<guid isPermaLink="false">http://HuddledMasses.org/jaykul/register-dll-calling-regsvr32-without-messageboxes-in-powershell/#comment-149052</guid>
		<description>Thanks for the clarification Joel, I guessed I was missing something, but didn&#039;t appreciate the subtlety of actually being able to access the return code :(</description>
		<content:encoded><![CDATA[<p>Thanks for the clarification Joel, I guessed I was missing something, but didn&#8217;t appreciate the subtlety of actually being able to access the return code <img src='http://huddledmasses.org/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel 'Jaykul' Bennett</title>
		<link>http://huddledmasses.org/register-dll-calling-regsvr32-without-messageboxes-in-powershell/comment-page-1/#comment-148590</link>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
		<pubDate>Mon, 24 Mar 2008 20:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://HuddledMasses.org/jaykul/register-dll-calling-regsvr32-without-messageboxes-in-powershell/#comment-148590</guid>
		<description>Calling regsvr32 with the /s silent switch *does not* do anywhere near the same thing -- it just hides the message box entirely -- you would have no idea if it worked or not.  You could, of course, do that in PowerShell:

&lt;code lang=&quot;posh&quot;&gt;
ls *.dll&#124;%{regsvr32 /s $_}&lt;/code&gt;

The script I provided doesn&#039;t have any pop-up MessageBoxes, but it _does_ provide the results, including the appropriate error messages *as console output*, so you would know whether the registration succeeded or not, and if not, why.</description>
		<content:encoded><![CDATA[<p>Calling regsvr32 with the /s silent switch <strong>does not</strong> do anywhere near the same thing &#8212; it just hides the message box entirely &#8212; you would have no idea if it worked or not.  You could, of course, do that in PowerShell:</p>
<div class="posh code posh" style="font-family:monospace;">
<span style="color: #660033;">ls</span> <span style="color: #66cc66;">*</span>.<span style="color: #003366;">dll</span><span style="color: #66cc66;">|%</span><span style="color: #333;">&#123;</span>regsvr32 <span style="color: #66cc66;">/</span>s <span style="color: #660033; font-weight: bold;">$_</span><span style="color: #333;">&#125;</span></div>
<p>The script I provided doesn&#8217;t have any pop-up MessageBoxes, but it <em>does</em> provide the results, including the appropriate error messages <strong>as console output</strong>, so you would know whether the registration succeeded or not, and if not, why.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nic Bedford</title>
		<link>http://huddledmasses.org/register-dll-calling-regsvr32-without-messageboxes-in-powershell/comment-page-1/#comment-148280</link>
		<dc:creator>Nic Bedford</dc:creator>
		<pubDate>Sat, 22 Mar 2008 20:10:17 +0000</pubDate>
		<guid isPermaLink="false">http://HuddledMasses.org/jaykul/register-dll-calling-regsvr32-without-messageboxes-in-powershell/#comment-148280</guid>
		<description>I&#039;m just getting into PowerShell, but this seems like a lot of work compared with the old cmd.exe way of achieving the same thing

C:\&gt; for %i in (*.dll) do regsvr32 /s %i</description>
		<content:encoded><![CDATA[<p>I&#8217;m just getting into PowerShell, but this seems like a lot of work compared with the old cmd.exe way of achieving the same thing</p>
<p>C:\&gt; for %i in (*.dll) do regsvr32 /s %i</p>
]]></content:encoded>
	</item>
</channel>
</rss>
