Yeah, it would be great if we could use Launch4J to create Spark.exe and build MSI with AI Free Edition.
I believe that I have created the ANT tasks and associated configuration files required to build the MSI files using the Free Edition from AdvancedInstaller (http://www.advancedinstaller.com/) to install Spark, both with and without an embedded JRE. How do I get someone to check it? Oh, the MSI installer does not have a Dialog Box popup mentioning a Trail Version.
To build the version with the JRE 1.6.0.14 bundled, all the files from “jre-6u14-windows-i586.exe” need to be available. Installed, this is about 88 MB in size which is probably a bit too much to place in Subversion. Alternatively, the JRE 1.6.0.14 installer can be included or linked to (http://java.sun.com/products/archive/j2se/6u14/index.html), with specific instructions of where to install the JRE, so that the paths match up.
If a version of the JRE other than 1.6.0.14 needs to be bundled, the configuration files used by AdvancedInstaller, i.e. the *.aip files, need to be changed. This is because the configuration files have the name of all of the files to be installed, including the version specific file “/jre/bin/npjpi160_14.dll” file.
To somewhat organize the build files specific to Windows, as well as to the build tool, the following directory structure was created under “build”:
build/
windows/
advanced-installer/
spark-noJRE-template.aip
spark-withJRE-template.aip
jre/
launch4j/
launch4j-spark-template.xml
launch4j-starter-template.xml
So far i have tested this MSI on XP and Win7 32bit. It installs and Spark launches. Except that Spark has a bug on Win7 (not related to MSI) and chat windows cant be opened That is i have tested the manual install with admin rights.
Have tested also the installation via AD Group Policy. Works. Instalaltion took ~20 seconds (P4, 1GB RAM, XP SP3).
After some system update (Debian testing/sid) I get following:
phaoost@warp:~$ spark
Dec 23, 2009 2:44:12 PM org.jivesoftware.spark.util.log.Log warning
WARNING: Exception in Login:
XMPPError connecting to ds82:5222.: remote-server-error(502) XMPPError connecting to ds82:5222.
– caused by: java.net.SocketException: Network is unreachable
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection. java:900)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1415)
at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:859)
at org.jivesoftware.LoginDialog$LoginPanel.access$400(LoginDialog.java:200)
at org.jivesoftware.LoginDialog$LoginPanel$1.construct(LoginDialog.java:607)
at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:131)
at java.lang.Thread.run(Thread.java:619)
Nested Exception:
java.net.SocketException: Network is unreachable
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:525)
at java.net.Socket.connect(Socket.java:475)
at org.jivesoftware.smack.proxy.DirectSocketFactory.createSocket(DirectSocketFacto ry.java:28)
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection. java:888)
at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1415)
at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:859)
at org.jivesoftware.LoginDialog$LoginPanel.access$400(LoginDialog.java:200)
at org.jivesoftware.LoginDialog$LoginPanel$1.construct(LoginDialog.java:607)
at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:131)
at java.lang.Thread.run(Thread.java:619)
Spark tries to authenticate and immediately reports the error the server name invalid.
All other programs are working fine, spark/java reinstall didn’t help. Any solution for that?
this is debian bug, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560044
Any chance of someone posting a new Mac OS X installer anytime soon?
About Spark 2.6.0 beta 2 on ubuntu 9.10
Problems with tray icon, lib windows,… i have done this
http://www.igniterealtime.org/community/message/200804#200804
Hello!
Is there anyone mighty enough to roll some new Spark versions based on the latest SVN trunk. There have been quite a few fixes recently. Thanks in advance!
Maybe cstux will attach a new build. Though the only fix i’m waiting now for is that chat window is not popping up on new messages for me (and for some other people).
I just tried to install the spark “.deb” in Ubuntu 9.10 and its asking for libstdc++5 however that dependency is phased out and uses libstdc++6. I don’t know how to do this but I just wanted to let the team know about this. Thanks again, I’m a Jive-Freak
edit: oh this is already mentioned…sorry about that. I got the libstdc++5 from the debian repository and got it to work. 
Hi,
libstdc++5 is needed by jdic. Actually jdic is only needed for the webbrowser (Fastpath).
I will replace the native webbrowser with 100% java webbrowser.
i have compiled the latest svn with netbeans and i think since the last update of smack i can not login at the first attempt. the second login works. on the clientside the log tells me he gets no response from server. the server tells me Error Caused by: java.lang.Exception: Disallowed character… anybody similar problems?
looks like it went away after i reinstalled java runtime 1.6.0u18, i had installed u13 jdk u18 and now i reinstalled jreu18 and it works now
Issue was fixed in 11671
This is probably another bug that cstux should fix He’s the author of this new spellchecker plugin.
cstux, there is a new info about message window not showing up issue. It seems this depends on how you close active chats (individually or whole window at once). SPARK-1126
I’m looking to deploy Spark .msi throughout our company and wondering if these are truly stable enough to work in a small environment?
Likewise, “spark-noJRE_2.6.0.BETA.20091215.msi” appears to be the only one with a usable installer for GP deployment atm. Is this correct?
No guarantees at all. Who knows what bugs of earlier SVN can be there.
Understood. It’s been a couple years since I’ve worked with Openfire and I’m trying to get a feel for which version people are actively using, and if these Beta versions are stable enough for “actual use”. So far in testing everything has worked well.