I have a question regarding an installer project designed to install a Java application.
I have a Jar with a main class that needs to be executed.
In the Java Products section I created a product, but trying to add my Jar to the classpath section ([JAR(s)...] button) or even trying to add it as embedded Jar results in an error which states "Invalid MSI Filename string [.].". A part from this error dialog, the Jar seems to be added anyway, and de project successfully builds.
The problem is that on the target machines the executable fails to invoke the main class, with the following error: "Could not find the main class <classname>". If I unzip the Jar contents in the same folder as the .exe, the class is found and the application works. It really seems the classpath hasn't been properly set.
Do you have any idea about what I may be doing wrong?