I\'m building a linux installer for a Java application, and I end up with an install.jar and a setup.sh that I put in a zip file using ant.
The idea is the user unzi
zip/unzip in modern linux distros will preserve file permissions. But you need to make sure that the zip in windows honours this.