<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>IProgrammable &#187; Windows</title>
	<link>http://www.iprogrammable.com</link>
	<description>Kawalerowicz Consulting News</description>
	<pubDate>Fri, 16 Apr 2010 14:32:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>
	<language>en</language>
			<item>
		<title>Selenium RC and FitNesse as a service on Windows Server 2008</title>
		<link>http://www.iprogrammable.com/2009_11_07/selenium-rc-and-fitnesse-as-a-service-on-windows-server-2008/en/</link>
		<comments>http://www.iprogrammable.com/2009_11_07/selenium-rc-and-fitnesse-as-a-service-on-windows-server-2008/en/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 20:19:16 +0000</pubDate>
		<dc:creator>Marcin Kawalerowicz</dc:creator>
		
		<category><![CDATA[Windows]]></category>

		<category><![CDATA[Continuous Integration]]></category>

		<category><![CDATA[DotNet]]></category>

		<guid isPermaLink="false">http://www.iprogrammable.com/2009_11_07/selenium-rc-and-fitnesse-as-a-service-on-windows-server-2008/</guid>
		<description><![CDATA[If you are working in a team or running a continuous integration process the most comfortable way to run tools like Selenum RC Server or FitNesse is to install them as a windows service. I was doing this earlier on my old Windows Server 2003 by issuing the  instsrv.exe (to install a service) on srvany.exe [...]]]></description>
			<content:encoded><![CDATA[<p>If you are working in a team or running a continuous integration process the most comfortable way to run tools like Selenum RC Server or FitNesse is to install them as a windows service. I was doing this earlier on my old Windows Server 2003 by issuing the  instsrv.exe (to install a service) on srvany.exe (to run anything) - both from Windows Resource Kit. I had to edit the registry to provide what exactly do I wanted to run (java –jar selenium-server.jar or java –jar fitnesse.jar).</p>
<p>But there is no Windows Resource Kit for 2008. You might use the sc.exe and get the old srvany.exe (with compatibility issues according to Microsoft itself). It would work but why bother when there is a <a href="http://iain.cx/src/nssm/">Non-Sucking Service Manager</a>! All you have to do to install a service with this tool is to download it, issue a</p>
<p>nssm.exe install SeleniumRC</p>
<p>and edit this dialog box:</p>
<p><a href="http://www.iprogrammable.com/wp-content/uploads/2009/11/image.png"><img src="http://www.iprogrammable.com/wp-content/uploads/2009/11/image-thumb.png" style="border: 0px none ; display: inline" title="image" alt="image" border="0" height="175" width="340" /></a></p>
<p>Click Install service and you are done. Selenium RC Server is installed. All you have to do is to start it. Voila!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iprogrammable.com/2009_11_07/selenium-rc-and-fitnesse-as-a-service-on-windows-server-2008/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>How to make CruiseControl.NET accept SSL certificate under Windows Server 2008?</title>
		<link>http://www.iprogrammable.com/2009_10_24/how-to-make-cruisecontrolnet-accept-ssl-certificate-under-windows-server-2008/en/</link>
		<comments>http://www.iprogrammable.com/2009_10_24/how-to-make-cruisecontrolnet-accept-ssl-certificate-under-windows-server-2008/en/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 21:44:42 +0000</pubDate>
		<dc:creator>Marcin Kawalerowicz</dc:creator>
		
		<category><![CDATA[Windows]]></category>

		<category><![CDATA[Continuous Integration]]></category>

		<category><![CDATA[DotNet]]></category>

		<guid isPermaLink="false">http://www.iprogrammable.com/2009_10_24/how-to-make-cruisecontrolnet-accept-ssl-certificate-under-windows-server-2008/</guid>
		<description><![CDATA[If you are running CruiseControl.NET under the Local System account and your SVN server certificate was issued by yourself (or by VisualSVN Server) you will quickly run into trouble. Normally if you run any command on your repository you will get this information:
C:\Program Files\svn\bin&#62;svn log https://your_server/svn/your_repository/trunk &#8211;username username &#8211;password password
Error validating server certificate for &#8216;https://your_server:443&#8242;:
- [...]]]></description>
			<content:encoded><![CDATA[<p>If you are running CruiseControl.NET under the Local System account and your SVN server certificate was issued by yourself (or by VisualSVN Server) you will quickly run into trouble. Normally if you run any command on your repository you will get this information:</p>
<p>C:\Program Files\svn\bin&gt;svn log <a href="https://your_server/svn/your_repository/trunk">https://your_server/svn/your_repository/trunk</a> &#8211;username username &#8211;password password<br />
Error validating server certificate for &#8216;<a href="https://your_server:443':">https://your_server:443&#8242;:</a><br />
- The certificate is not issued by a trusted authority. Use the<br />
fingerprint to validate the certificate manually!<br />
- The certificate hostname does not match.<br />
Certificate information:<br />
- Hostname: your_server<br />
- Valid: from Sat, 26 Sep 2009 17:24:27 GMT until Tue, 24 Sep 2019 17:24:27 GMT</p>
<p>- Issuer: your_server<br />
- Fingerprint: 24:8e:f6:ba:c7:a6:3f:69:32:c0:21:92:64:44:62:fe:2c:bb:b4:69<br />
(R)eject, accept (t)emporarily or accept (p)ermanently?</p>
<p>If you accept you will not be bothered again. But CCNet works as a Windows Service. There is no one to make the decision. How to deal with this issue. Well earlier it was easy enough. You had to use one of the security holes and start cmd.exe in interactive mode wit at command (<a href="http://blog.threenine.co.uk/Posts/tabid/93/EntryId/4/CruiseControl-Accept-SSL-Certificate-Local-System-Account.aspx">look here for more details</a>). But with Windows Server 2008 it is not possible you will simply get this:</p>
<p>C:\Users\Administrator&gt;time<br />
The current time is: 23:31:11.59<br />
Enter the new time:</p>
<p>C:\Users\Administrator&gt;at 22:32 /interactive cmd.exe<br />
Warning: Due to security enhancements, this task will run at the time<br />
expected but not interactively.<br />
Use schtasks.exe utility if interactive task is required (&#8217;schtasks /?&#8217;<br />
for details).<br />
Added a new job with job ID = 1</p>
<p>How to deal with this. There is very easy solution. Set the CruiseContril.NET service “Allow to interact with desktop” flag (Start –&gt; Control Panel –&gt; Administrative Tools –&gt; Services –CruiseControl.NET) like this</p>
<p><a href="http://www.iprogrammable.com/wp-content/uploads/2009/10/image1.png"><img src="http://www.iprogrammable.com/wp-content/uploads/2009/10/image-thumb1.png" style="border: 0px none ; display: inline" title="image" alt="image" border="0" width="218" height="244" /></a></p>
<p>Restart the service and wait a while for this windows to appear:</p>
<p><a href="http://www.iprogrammable.com/wp-content/uploads/2009/10/image2.png"><img src="http://www.iprogrammable.com/wp-content/uploads/2009/10/image-thumb2.png" style="border: 0px none ; display: inline" title="image" alt="image" border="0" width="244" height="123" /></a></p>
<p>Select show me the message.</p>
<p>Voila! You have command line as Local System user available. You can now issue the</p>
<p>C:\Program Files\svn\bin&gt;svn log <a href="https://your_server/svn/your_repository/trunk">https://your_server/svn/your_repository/trunk</a> &#8211;username username &#8211;password password<br />
command and accept the SSL certificate permanently.</p>
<p><img src="http://www.iprogrammable.com/wp-content/uploads/2009/10/image3.png" style="border: 0px none ; display: inline" title="Local Service User Accepting SSL SVN certificate fir CruiseControl.NET server" alt="Local Service User Accepting SSL SVN certificate fir CruiseControl.NET server" border="0" width="244" height="186" /></p>
<p>From this time on you CCNet server will not have any problems with accessing your secured repository.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iprogrammable.com/2009_10_24/how-to-make-cruisecontrolnet-accept-ssl-certificate-under-windows-server-2008/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>How to associate a file extension with a given file?</title>
		<link>http://www.iprogrammable.com/2009_01_12/how-to-associate-a-file-extension-with-a-given-file/en/</link>
		<comments>http://www.iprogrammable.com/2009_01_12/how-to-associate-a-file-extension-with-a-given-file/en/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 19:25:59 +0000</pubDate>
		<dc:creator>Marcin Kawalerowicz</dc:creator>
		
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.iprogrammable.com/2009_01_12/how-to-associate-a-file-extension-with-a-given-file/</guid>
		<description><![CDATA[(Windows) You can edit a file type in Explorer (XP: Tools –&#62; Folder options, Vista: Start –&#62; Default Programs). But lets say you want to do it automatically and you have to set an additional parameter to the program you want to start (I have still not figured it out how to define such parameter [...]]]></description>
			<content:encoded><![CDATA[<p>(Windows) You can edit a file type in Explorer (XP: Tools –&gt; Folder options, Vista: Start –&gt; Default Programs). But lets say you want to do it automatically and you have to set an additional parameter to the program you want to start (I have still not figured it out how to define such parameter under Vista). The easiest way is to create a file with *.reg extension that contains this script:</p>
<pre><a href="http://www.iprogrammable.com/wp-content/uploads/2009/01/image.png"><img src="http://www.iprogrammable.com/wp-content/uploads/2009/01/image-thumb.png" title="image" style="border: 0px none ; display: inline" alt="image" border="0" height="257" width="413" /></a></pre>
<p>Red (<font color="#ff0000">cicstarter</font>) – Schell command name</p>
<p>Blue (<font color="#0000ff">startf</font>) – Action name</p>
<p>Brown (<font color="#804000">cicvlm.exe f=\&#8221;%1\&#8221;</font>) – Application path (parameter inside f=)</p>
<p>Green (<font color="#008000">.cic</font>) – File extension</p>
<p>You can manipulate the colored parts to feet your needs. <a href="http://www.iprogrammable.com/wp-content/uploads/2009/01/register_cic.zip" title="Register file extension type">Here is the script</a>. Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iprogrammable.com/2009_01_12/how-to-associate-a-file-extension-with-a-given-file/en/feed/en/</wfw:commentRss>
		</item>
	</channel>
</rss>
