<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Phil&#039;s Techno Talk &#187; Programming</title>
	<atom:link href="http://www.philstechnotalk.com/category/computers/computer-science/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.philstechnotalk.com</link>
	<description>Computer and Technology Articles</description>
	<lastBuildDate>Tue, 07 Sep 2010 11:52:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creating Program Installers</title>
		<link>http://www.philstechnotalk.com/computers/computer-science/programming/creating-program-installers/</link>
		<comments>http://www.philstechnotalk.com/computers/computer-science/programming/creating-program-installers/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 09:56:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[programm installer]]></category>
		<category><![CDATA[setup creation]]></category>

		<guid isPermaLink="false">http://www.philstechnotalk.com/?p=211</guid>
		<description><![CDATA[Many Setup creation programs are costly or difficult to use.  Thankfully, there are some excellent, free tools that do an excellent job.]]></description>
			<content:encoded><![CDATA[<p>Whether you&#8217;re a professional programmer or a self-taught hobbyist, if you want your Windows software to be taken seriously it needs to have a proper Setup program.  It really does make the difference;  your software will look a lot more professional if the user installs it using the familiar Setup or MSI (Microsoft Installer).</p>
<p>Additionally, when the user wants to remove the software from their computer, an uninstall feature must be provided in the Add or Remove Programs section of the Windows Control panel.</p>
<p>If, as a programmer, you use Microsoft&#8217;s Visual Studio you have the option to create an MSI installation program for your software.   If you&#8217;ve never created an installer before, this can be a little tricky to get to grips with &#8211; there&#8217;s nothing to guide you through the process, or even to tell you what is required of an installer and what it does.</p>
<p>Users of Professional versions of Borland/CodeGear products such as Delphi and C++Builder had the relative luxury of a free copy of InstallShield Express.  This is a special, cut-down version of a wizard-driven setup program creator, which takes you through each stage of the process.  Unfortunately, since these development tools were sold off to Embarcadero, you don&#8217;t get InstallShield Express supplied.  Furthermore, if you work with the lower-cost versions of Delphi/C++ Builder, you didn&#8217;t get it anyway.</p>
<p>One option is to purchase products such as InstallShield, but some of these commercial products can be quite costly &#8211; especially if you&#8217;re writing software as hobby or as a means of generating additional income.</p>
<p>There is, however, the free alternative.  The phrase &#8220;you get what you pay for&#8221; often proves itself to be true when it comes to free software, but I am happy to report that I have found an excellent installation program creator that is not only free, but is easy to use and just works!</p>
<p>The software is Jordan Russell&#8217;s Inno Setup, which you can find and download for free at <a href="http://www.jrsoftware.org" target="_blank"><strong>jrsoftware.org</strong></a>.</p>
<p>Inno Setup runs as a &#8220;wizard&#8221;, prompting you for various aspects and options that should be available within the Setup program.  Simply run the program and answer the questions.  In many cases, you can keep the defaults that the program supplies.  Once you have finished, you can compile the program and your Setup is ready for distribution.  I&#8217;ve used InstallShield Express before, which I thought was incredibly easy to use, but Inno Setup is even easier.</p>
<p>Inno Setup is completely free and it&#8217;s the fully working version.  It doesn&#8217;t insert advertisements in your installer or play any tricks &#8211; it&#8217;s just a decent piece of software that does exactly what you want of it.</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Creating+Program+Installers+http://swsnq.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.philstechnotalk.com/wp-content/plugins/tweet-this/icons/tt-twitter-big3.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.philstechnotalk.com/computers/computer-science/programming/creating-program-installers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Importance of Testing Software Installers</title>
		<link>http://www.philstechnotalk.com/computers/computer-science/programming/the-importance-of-testing-software-installers/</link>
		<comments>http://www.philstechnotalk.com/computers/computer-science/programming/the-importance-of-testing-software-installers/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 09:00:35 +0000</pubDate>
		<dc:creator>Phil Rogers</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[installer]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.philstechnotalk.com/?p=167</guid>
		<description><![CDATA[If you develop software, are you testing your Installer/Uninstaller completely?  A recent experience left my PC popping up an error message every day, for an Uninstalled program!]]></description>
			<content:encoded><![CDATA[<p>In the early days of Windows, people would install software packages on their PC and when they wanted to remove them, it was often simply a case of deleting the folder in which the program had been installed.  There was no concept of a standardised installation and uninstallation process.</p>
<p>The biggest problem with this was that the program might create additional files in other folders.  Typically, an INI file containing settings, which would be stored in the Windows folder.  When the program was deleted from the disk, these additional files were never removed.  After a period of time, PCs were filled with unused, orphaned files, which just wasted disk space.  Thta might not seem like too much of a problem, but when you consider that hard disks were expensive and of quite low capacity (20Mb is a typical example), computers soon began to run out of disk space.</p>
<p>Microsoft recognised this problem and created the Registry in which settings could be stored, and standard installers such as InstallShield appeared on the market.</p>
<p>InstallShield was smart enough to keep a log of files that had been installed, and would therefore know what to uninstall later.  Used properly, the programmer would also tell InstallShield what additional files the program might create at run-time, so they could also be deleted.</p>
<p>Microsoft&#8217;s MSI does very much the same thing as InstallShield.</p>
<p>So if we have these standardised installers that are clever enough to uninstall everything, what is the problem?  Basically, programmers are still not using them correctly.</p>
<p>I recently installed a demonstrattion version of ParetoLogic Data Recovery.  The demo turned out to be pretty useless &#8211; it would find deleted files, but wouldn&#8217;t undelete them.  You have to buy the full version for that, of course.</p>
<p>So I uninstalled the program using the correct Uninstall procedure from the Windows Control Panel.</p>
<p>The next day, my PC popped up a message saying that it couldn&#8217;t find a file which was part of the ParetoLogic software.  I searched the Registry for references to that file and there was nothing there.  Very mysterious.</p>
<p>Every day since then, it has popped up the same message.  This was becoming somewhat annoying, so I searched the entire disk for &#8220;ParetoLogic&#8221;.</p>
<p>Bingo!  It turns out that this program had added itself to the Windows Task Scheduler, but the uninstall procedure had not removed it.  So every time that scheduled task time arose, it couldn&#8217;t find the uninstalled program, hence the error message.</p>
<p>As a programmer myself, I knew what to do to locate and rectify the problem, but the average PC user wouldn&#8217;t.</p>
<p>This is just one example.  There are numerous other programs out there which are as equally untidy when it comes to uninstallation.</p>
<p>So come on software engineers, when you test your software, install it on a clean machine, then uninstall it, then search the hard disk and the Registry for any residue.  Then fix your uninstallers.  It&#8217;s not difficult &#8211; it just takes a little time, but it makes all the difference.</p>
<p>ParetoLogic have now lost a potential customer.  Don&#8217;t lose yours!</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=The+Importance+of+Testing+Software+Installers+http://axztg.th8.us" title="Post to Twitter"><img class="nothumb" src="http://www.philstechnotalk.com/wp-content/plugins/tweet-this/icons/tt-twitter-big3.png" alt="Post to Twitter" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.philstechnotalk.com/computers/computer-science/programming/the-importance-of-testing-software-installers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
