Repackage Spark installer with custom settings?

We are going to be deploying Spark/Openfire in our organization, but we’re not using the standard ports for the messaging.

Is there a way I can change the Spark installer with our custom settings, and then repackage it so I can easily distribute it to all of our workstations?

Where would I find info on doing this??

Thanks