I have developed an application in Java Swings. I want to start deploying in my clients computer. If I give out the class files with JRE, the client's can't install. To avoid that, is there any way, I can write an installation script, so that when my client's click an icon and he can be able to install by clicking the instructions in the screen.
Also the following things need to be installed. 1. JRE 2. Class files 3. an exe file short cut in the desktop for the clients to login.
You could try using something as NSIS or InnoSetup. Also, you should start using JAR files instead of loose class files.
The trickiest part of this setup would be the check whether or not Java is already installed, although a registry check (key HKLM\SOFTWARE\JavaSoft\Java Runtime Environment has a value called CurrentVersion) can help you out with that.