IntelliJ Java IDE
The moose likes Swing / AWT / SWT / JFace and the fly likes How to make SelfExtracting Setup EXE file!! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "How to make SelfExtracting Setup EXE file!!" Watch "How to make SelfExtracting Setup EXE file!!" New topic
Author

How to make SelfExtracting Setup EXE file!!

arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 304
Hi Everybody,
First of all I would like to apologise as I know that this question has nothing to do with JRUN but as frustration is too much I thought perhaps this forum may extend some help..
I have made one standAlone application and want to achieve following:-
1. want to make a self extracting setup EXE file like in others do in windows. when a users double click it should start itself installing the application and start showing the prompt screens as required.
2. I also want to check whether the user's system has java iinstall or not.
3. if not would like to install it after asking his permission on some prompt.
4. Would also like to change the classpath automatically.
Perhaps this requires checking registry etc. whihc I don't know..If somebody give some reference sites or clues it would be a great help.
I DONOT WANT TO USE ANY THIRD PARTY SOFTWARE TO ACHIEVE THE ABOVE.
Please help me to write code for it.
Thanks a lot in advance for the help extended
regards,
Arun Mahajan
Michael Szul
Ranch Hand

Joined: Sep 18, 2001
Posts: 57
You might want to check out the book Java Deployment with JNLP and Web Start (author's last name Marinilli). It has a small section in it which builds an installer for CD-ROM deployment and covers most of what you need.
bob morkos
Ranch Hand

Joined: Sep 06, 2001
Posts: 104
A link example:
http://www.esus.com/javaindex/j2se/javawebstart/plugingetstarted.html
Download link: http://java.sun.com/products/javawebstart/

Originally posted by arun mahajan:
Hi Everybody,
First of all I would like to apologise as I know that this question has nothing to do with JRUN but as frustration is too much I thought perhaps this forum may extend some help..
I have made one standAlone application and want to achieve following:-
1. want to make a self extracting setup EXE file like in others do in windows. when a users double click it should start itself installing the application and start showing the prompt screens as required.
2. I also want to check whether the user's system has java iinstall or not.
3. if not would like to install it after asking his permission on some prompt.
4. Would also like to change the classpath automatically.
Perhaps this requires checking registry etc. whihc I don't know..If somebody give some reference sites or clues it would be a great help.
I DONOT WANT TO USE ANY THIRD PARTY SOFTWARE TO ACHIEVE THE ABOVE.
Please help me to write code for it.
Thanks a lot in advance for the help extended
regards,
Arun Mahajan

RAO AP
Greenhorn

Joined: Dec 01, 2001
Posts: 3
Hi You try this.. Even i do Samething.
http://www.installshield.com/downloads/object_presentation.asp?prod=cp&pver=class630pee&lan=english
Hope its help
punna
Daniel Brugger
Greenhorn

Joined: Dec 13, 2001
Posts: 5
if you're going to distribute a professional software, have a look at Zero G's "InstallAnywhere" (www.zerog.com). I'd say this is THE Java installer
hth
Daniel
 
 
subject: How to make SelfExtracting Setup EXE file!!
 
Threads others viewed
Jar to Exe?
How to create exe file?
Can we Avoid Dos Prompt
exe
Security of Java Jar file
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture