Winamp & Shoutcast Forums installer for java application.

 31st March 2012, 09:18 #1 punitjain Junior Member   Join Date: Mar 2012 Posts: 6 installer for java application. i have a standalone java application. how can i create installer for that??
 31st March 2012, 09:39 #2 MSG Major Dude   Join Date: Oct 2006 Posts: 1,892 By creating an nsi script and compiling it with makensisw. Edit: Sorry for the wisecrack response, but your question is extremely inspecific and therefore cannot be answered. To learn NSIS, you can start by examining NSIS\Examples\Example1.nsi and Example2.nsi. You'll need to learn what ever command does and why they are used, you can use the command reference for this: http://nsis.sourceforge.net/Docs/Chapter4.html Once you understand those two examples, you'll be well underway to creating your own installer.
 31st March 2012, 11:48 #3 Brummelchen Major Dude   Join Date: May 2003 Posts: 681 start here http://nsis.sourceforge.net/Java_Launcher http://nsis.sourceforge.net/Java_Lau...E_installation http://www.seas.gwu.edu/~drum/java/l...r/install.html More: http://www.google.com/search?q=nsis+...&oe=utf-8&aq=t Please use the guide from nsis to learn this language.
 31st March 2012, 12:59 #4 punitjain Junior Member   Join Date: Mar 2012 Posts: 6 Thank you very much for your quick response.. the last links helps me, i downloaded the zip file and execute and test that, that works perfect. but in my project i have many source and class files and are dependent to each other. what i did is: i changed the .class and .java files from NSISExampleApplication to myApplicationName(which has main method) of createInstaller1.nsi script which i download(the zip folder). and i compile and run that, it installed but when i run that installed application it showing me error "could not find mainClass myApplicationName". can you help me in this also? do i need to give references to all of my dependent class and java files.(dependent to myApplicationName).?? Thank you..
 31st March 2012, 15:57 #5 Brummelchen Major Dude   Join Date: May 2003 Posts: 681 you need to modify section with setoutpath $instdir file /r "path\to\my\files\*.* Please take the tutorials and the documentation for basic elements of nsis http://nsis.sourceforge.net/Docs/Chapter2.html#2.3.3 http://nsis.sourceforge.net/Docs/  31st March 2012, 16:18 #6 punitjain Junior Member Join Date: Mar 2012 Posts: 6 it works thank you very much. it's just awesome. i am doing it like this: SetOutPath$INSTDIR file "C:\Documents and Settings\punit\Desktop\NSISExampleApplication1\*.*" can you tell me one more thing, if i have some database dependencies, i mean i m using apache derby(embedded database), can i attach that also with this installer?? i mean the jar files/ plugins of apache derby, can i include?? so at the time of installation of the software database should also installed.. Thank you.
 31st March 2012, 16:58 #7 Brummelchen Major Dude   Join Date: May 2003 Posts: 681 sorry, no indianer howling here. you need to respect apaches license if you want to inlcude its files.
31st March 2012, 17:20   #8
punitjain
Junior Member

Join Date: Mar 2012
Posts: 6
Quote:
 sorry, no indianer howling here. you need to respect apaches license if you want to inlcude its files.
if possible can you please elaborate, how??

 Winamp & Shoutcast Forums installer for java application.