1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="author" content="Stuart Rackham" />
<meta name="author-email" content="srackham@methods.co.nz" />
<link rel="stylesheet" href="main.css" type="text/css" />
<title>Creating a Windows Installer Wizard for Website Distribution</title>
</head>
<body>
<div id="header">
<img src="header.png" alt="Header" />
</div>
<div id="menu">
<a href="index.html">Overview</a>
<a href="webpages.html">Web Pages</a>
<a href="aap-script.html">A-A-P Script</a>
<a href="execution-environment.html">Execution Environment</a>
<a href="installation-wizard.html">Installation Wizard</a>
<a href="cdrom-creation.html">CD-ROM Creation</a>
<a href="links.html">Links</a>
<a href="feedback.html">Feedback</a>
</div>
<div id="content">
<h1>Creating a Windows Installer Wizard for Website Distribution</h1>
<div id="preamble">
<p>
The website installation wizard was created using the excellent
<a href="links.html">Inno Setup</a> compiler written by Jordan Russell. In
fact I use two Inno Setup add-on programs (both of which I recommend
highly) to create and compile the installation wizard:
</p>
<ol>
<li>
<p>
<a href="links.html">ISTool</a> written by Bjornar Henden.
</p>
</li>
<li>
<p>
<a href="links.html">My Inno Setup Extensions</a> written by Martijn Laan.
</p>
</li>
</ol>
<p>
The Inno Setup compiler script <tt>website-manager.iss</tt> is used to build
the setup wizard and can be found in the <tt>examples/website/install</tt>
<em>AsciiDoc</em> distribution directory.
</p>
<p>
To build the <tt>website-manager-setup.exe</tt> setup wizard follow these
steps:
</p>
<ol>
<li>
<p>
Change the <tt>OutputDir</tt> and <tt>SourceDir</tt> parameters (in the <tt>[Setup]</tt>
section of the <tt>website-manager.iss</tt> Inno Setup script) to suit your
development environment.
</p>
</li>
<li>
<p>
You should also have changed the <tt>FTP_ROOT</tt> definition in the
<a href="aap-script.html"><tt>main.aap</tt></a> file.
</p>
</li>
<li>
<p>
Run the <tt>website-manager.iss</tt> Inno Setup script through the Inno
Setup compiler to create the <tt>website-manager-setup.exe</tt> setup
wizard executable.
</p>
</li>
</ol>
<p>
The compiled setup wizard <tt>website-manager-setup.exe</tt> is around 3.5MB
and when run on a target computer will install:
</p>
<ul>
<li>
<p>
The website source (<em>AsciiDoc</em> and configuration files, CSS
stylesheets, images).
</p>
</li>
<li>
<p>
A-A-P site management script file.
</p>
</li>
<li>
<p>
<em>AsciiDoc</em> and A-A-P applications.
</p>
</li>
<li>
<p>
Stand-alone Python execution environment to execute <em>AsciiDoc</em> and
A-A-P).
</p>
</li>
<li>
<p>
Program icons to allow the user rebuild and publish (upload) the
website.
</p>
</li>
</ul>
<div class="image">
<p>
<img src="wizard.png" alt="Wizard page 1 screenshot" title="Wizard page 1 screenshot" border="0"/>
</p>
</div>
<p>
None of the applications installed by the setup wizard (<em>AsciiDoc</em>,
A-A-P Recipe Executive or Python) will interfere with existing
installations. No application registry entries are written and no
files are installed into the Windows System directories.
</p>
</div>
</div>
<div id="footer">
<p>
Website built using <a href="http://www.methods.co.nz/asciidoc/">AsciiDoc</a>
and <a href="http://www.a-a-p.org/">A-A-P</a><br/>
Last updated 29-Jan-2005 14:47:12 NZDT <br/>
</p>
<p><span class="ahem">This document might look funny (or very plain) to you,
since you're not using a browser which (correctly) supports CSS.</span></p>
</div>
</body>
</html>
|