Spark 2.6.0 Client - Pre Defining Server Settings For MSI

Hello All,

I’m trying to compile a spark client 2.6.0 into an MSI with predefined server settings. I can’t seem to find the file that holds the settings to tell it what server I’d like it to connect to for everybody.

When I have a successful login with Spark, I notice that it stores the username and server. But when I compile this into an MSI and install it on a fresh computer it erases all of this information. Any help on this issue would be greatly appreciated. I’ve compiled this MSI about 5 times and have searched these forums for the correct answer and couldn’t come up with anything. Thank you in advance.



Set “HOST_NAME = yourserver”



There are many other options you can disable or enable.

You both rock. I appreciate the info. Now I won’t have to copy a central config out to each user’s profile. Much appreciated.


I’m not seeing this path. This is in the Spark install folder? Thanks.

Please disregard this. I looked over the doc again and found my answer. Thanks again guys. Here’s what I found

@trafsta May 12, 2011 11:07 AM (in response to Neon)

look for spark.jar (shoudl be in C:\Program Files\Spark\lib). Rename it to, open in 7zip (google it), go to org\jivesoft\resource and right click the and hit edit, make changes, save, close notepad, and 7zip will ask if you want to save changes, say yes, close 7zip, rename .zip back to .jar and test and you are done.