When I first wrote the install utility a few MONTHS ago the reaction was lukewarm to say the least (1). So I have decided to write this blog in the hope that someone will notice and proceed with this path. If my installer is not accepted perhaps someone else's will be and the world will be better off with having an easy to install JAMES installer.
1) Using Setupbuilder I wrote a James Installer project by first creating a new project so :
2) After the usual software driven questionnaire (pick installation directory, pick name etc.) the most common error most people make when writing installers with setupbuilder is this one:
the installer writer usually forgets to pick the directories AND the files icon in the bar. If you will recall from the previous post that to install JAMES you need the Java Activation Framework files and the Javamail API files.
3) the next big step was to check for the existence of the JRE in the registry of windows :
4) Some of the configuration for JAMES can be seen here :
5) You may download the installer executable here[1]
6) Running the installer should look like so:
7) It will ask you to approve the Apache License here :
8) pick destination folder
9) installing
10) double check :
11) that is it! that is how installers should be?
What remains is to start the JAMEs server automatically, to give the option of installing it as a service and to check for any previous installs or editions.
P.S. To install JAMES as a windows service:
C:\Tools\james-2.2.0\bin>wrapper -i ..\conf\wrapper.conf
you should see:
wrapper | James Mail Server 2.1 installed.
To remove James as a windows service:
C:\Tools\james-2.2.0\bin>wrapper -r ..\conf\wrapper.conf
you should see:
wrapper | James Mail Server 2.1 removed.
Note: To get more information about the wrapper command, type: C:\Tools\james-2.2.0\bin>wrapper
Sunday, July 20, 2008
Writing Install Utility for JAMES: Java Apache Mail Enterprise Server
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
08
(10)
-
▼
Jul
(10)
- Ruby On Rails Quickly (hopefully)
- Journey to Ruby on Rails
- Writing Install Utility for JAMES: Java Apache Mai...
- How to Install JAMES :JAVA APACHE MAIL ENTERPRISE ...
- How To Import IXF Files into DB2
- How To Reverse Engineer ER Diagram From MySQL in V...
- Creating an Entity Relationship Diagram From MySQL DB
- How to Parse JAMES / SMTP Email Messages in Ruby
- How To Talk To JAMES administration from Ruby On R...
- iText with Ruby on Rails using Ruby Java Bridge
-
▼
Jul
(10)
Total Pageviews
Popular Posts
-
Early men used improvised devices to tell their position on the globe. Following is the Latitude Hook of the Polynesians . It is used to...
-
When you first open visio and go to File ->New->Getting Started-> Software and Database ->Database Model Diagram-> (from Fil...
-
How did early man attempt to discover the circumference of the earth without ever traveling it? This is how it was accomplished by a man ...
-
We hope this and all knowledge is used for the benefit of humankind : to encourage us towards love and kindness and goodness. Men have at...
-
How would one measure the height of a mountain if one only had a quadrant (for measuring angle)? A Quadrant A quadrant is as illustrate...
-
The question of how to tell longitude accurately was contested for a very long time. People had figured out how to tell latitude by use o...
-
I looked online and (in two books) but did not find very good explanations of ternary search trees. Following is what I combined together fr...
-
This was an easy one to do. I volunteered to help some people at the office and they mistakenly thought I was a "DB2 expert" despi...
-
(see discussion ) Step 1 : install JDK 1.5+ and above Step 2: check JAVA_HOME is set Step 3: install the rjb gem gem install rjb -v 1.1....
2 comments:
I like the (James) installer very much. Well done! BTW, I am also using SB.
Carl
I like the SB& script. That you for that.
Mauricio
Post a Comment