so here is a what I want to do:
1. Create an jar file from my java classes.
2. Create an external application to bundle the installer (ant or nsis)
3. During the creation of the installer, I want to insert a file with a randomly generated key into the JAR file as a resource.
4. During execution of the jar file, I want to be able to retrieve this key file, and know that it might not be there sometimes.
what is the best way to do this?