<?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>Everyday Coder &#187; Scripting</title>
	<atom:link href="http://everydaycoder.com/category/coding/scripting/feed" rel="self" type="application/rss+xml" />
	<link>http://everydaycoder.com</link>
	<description>The rants and raves of a programmer in the trenches.</description>
	<lastBuildDate>Wed, 24 Sep 2008 04:20:27 +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>Windows Installer for Java</title>
		<link>http://everydaycoder.com/2006/08/25/windows-installer-for-java.html</link>
		<comments>http://everydaycoder.com/2006/08/25/windows-installer-for-java.html#comments</comments>
		<pubDate>Fri, 25 Aug 2006 13:24:00 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Installer]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://everydaycoder.themossbunch.com/?p=7</guid>
		<description><![CDATA[I have to admit, that I always avoided installers for my Java apps. The last project I worked on was a big one. One that, of course, required a fancy installer for Windows (the only supported platform). Management (not the dev team) dictated that we must use the Wise installer. This seemed all well and [...]]]></description>
			<content:encoded><![CDATA[<p>I have to admit, that I always avoided installers for my Java apps. The last project I worked on was a big one. One that, of course, required a fancy installer for Windows (the only supported platform). Management (not the dev team) dictated that we must use the Wise installer. This seemed all well and good until I noticed the cost. WOW! Something as simple as copying a few files to the right place really costs that much? I was speechless.</p>
<p>Before that big project, I generally had to install on *nix, Mac, <em>and</em> Windows. Most of those projects simply required the user to unzip a zip file. I've been recently working on internal management projects in which <a href="http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/contents.html">Java Web Start</a> is the installation method of choice. That works really well if your target audience already has Java installed.</p>
<p>My current project actually needs a bonafide Windows installer, as it will be distributed on CD and ship with its own JRE. I was given free reign this time (no management mandates). I did a little research and ran across the <a href="http://nsis.sourceforge.net/">Nullsoft Scriptable Install System (NSIS)</a>. This is the same installer that WinAmp and many other OSS Windows apps use. <a href="http://nsis.sourceforge.net/License">It's licensed</a> as completely free, even for corporate use.</p>
<p>The scripting language for NSIS is a bit cryptic if you've never done assembly before. But, the plethora of example scripts on their <a href="http://nsis.sourceforge.net/Developer_Center">Wiki</a> and in the examples covered everything I needed. More importantly, it just works.</p>
<p>As a side note, there are also examples of making a native launcher for your Java application using NSIS. That means that you can distribute a native EXE with your app that will launch your main class.</p>
]]></content:encoded>
			<wfw:commentRss>http://everydaycoder.com/2006/08/25/windows-installer-for-java.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
