Help to make installer with izpack
——————————————
Link below contains a detailed pdf to make installer.
http://www.imrantariq.com/blog/?attachment_id=112
Here is the brief summary.
Download izpack from http://izpack.org/downloads/
run IzPack-install.jar. there should be jdk installed on your pc.
After installation open folder where it is installed.
normally its in C:Program FilesIzPack
go to bin folder
make install.xml file. Sample file is given below.
:::::::::::::::::::::::::::::
install.xml
:::::::::::::::::::::::::::::
<?xml version=”1.0″ encoding=”iso-8859-1″ standalone=”yes” ?>
<!–
A sample installation file.
Use it as a base for your own installers
To compile it :
- go in the bin directory where you installed IzPack
- call “compile ../sample/install.xml -b ../sample”
–>
<installation version=”1.0″>
<!–
The info section.
The meaning of the tags should be natural …
–>
<info>
<appname>Test installer</appname>
<appversion>1.0</appversion>
<authors>
<author name=”Imran Tariq” email=”m.imran.tariq@gmail.com”/>
</authors>
<url>http://www.imran.com/</url>
</info>
<!–
The gui preferences indication.
Sets the installer window to 640×480. It will not be able to change the size.
–>
<guiprefs width=”660″ height=”480″ resizable=”yes”>
<modifier key=”allXGap” value=”0″/>
<modifier key=”allYGap” value=”0″/>
<modifier key=”useHeadingPanel” value=”yes”/>
<modifier key=”useButtonIcons” value=”yes”/>
<modifier key=”useHeadingForSummary” value=”yes”/>
<modifier key=”headingImageOnLeft” value=”yes”/>
<modifier key=”headingLineCount” value=”1″/>
<modifier key=”headingFontSize” value=”1.5″/>
<modifier key=”headingBackgroundColor” value=”0x00ffffff”/>
<modifier key=”headingPanelCounter” value=”text”/>
<modifier key=”headingPanelCounterPos” value=”inHeading”/>
</guiprefs>
<!–
The locale section.
Asks here to include the English and French langpacks.
–>
<locale>
<langpack iso3=”eng” />
</locale>
<!–
The resources section.
The ids must be these ones if you want to use the LicencePanel and/or the InfoPanel.
–>
<resources>
<res id=”HTMLLicencePanel.licence” src=”license.html”/>
<res id=”InfoPanel.info” src=”Readme.txt”/>
<res id=”SummaryPanel.info” src=”Summry.txt”/>
</resources>
<!–
The panels section.
We indicate here which panels we want to use. The order will be respected.
–>
<panels>
<panel classname=”HelloPanel”/>
<panel classname=”HTMLLicencePanel”/>
<panel classname=”SimpleFinishPanel”/>
</panels>
<!–
The packs section.
We specify here our packs.
–>
<packs>
<pack name=”Base” required=”yes” preselected=”yes”>
<description>The base files</description>
<file src=”Readme.txt” targetdir=”$INSTALL_PATH”/>
<file src=”Licence.txt” targetdir=”$INSTALL_PATH”/>
</pack>
</packs>
</installation>
::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::
Make sure that the resources specified in the <resources> tag are available in the bin folder.
To compile it. Open command prompt. Go to bin folder and run this command. In my case path to bin directory is: C:Program FilesIzPackbin
Type c: and press enter. Then type cd C:Program FilesIzPackbin and pres enter then type compile install.xml -b . -o install.jar -k standard and press enter.
:::::::::::::::::::::
c:
cd C:Program FilesIzPackbin
compile install.xml -b . -o install.jar -k standard
:::::::::::::::::::::
It will make install.jar in the bin directory.
Open it and your simple installer is ready.
*****************************
Link below contains a detailed pdf to make installer.
http://www.imrantariq.com/blog/?attachment_id=112
Tags: installer, installer with izpack, izpack, java
nice
That is a interesting article incidentally. My goal is to go on and bookmark the next few paragraphs for my sister to think about afterwards tomorrow. Carry on the fine work.
After read several the posts with your site now, we appreciate to your website of blogging. I tag it to my top picks website list and are checking back soon. Please visit my web page at the same time and tell me your opinion.
Its ridiculous what attention I am through the opposite gender after i shop at GL ONEALS!
“I’ve gone ahead and bookmarked http://www.imrantariq.com/blog/?p=89 at Digg.com so my friends can see it too. I simply used How to make installer with izpack | Imran Tariq's Blog as the entry title in my Digg.com bookmark, as I figured if it is good enough for you to title your blog post that, then you probably would like to see it bookmarked the same way
Hi, first-class post. I am pondering this topic, so many thanks for sharing. I’ll likely be arrival back to you. Keep up to date the respectable work
I have been reading the posts, and i also definitely concur in doing what Tom said.
I absolutely enjoyed looking through this write-up! I definitely will probably be coming back to read extra intriguing ideas! Many thanks!
It really is perfect a chance to cook some plans for the future and it is time for you to be happy. Ive see this post in case I can I would like to suggest you few interesting things or advice. Maybe you could write next articles making reference to the next few paragraphs. I want to read even more aspects of it!
It was nice to read your post. Thank you for posting this piece!
Grab your free backlink now on a web directory
Substantially, the article is really the best on this laudable topic. I concur with your conclusions and will eagerly look forward to your future updates.Just saying thanx will not just be enough, for the wonderful lucidity in your writing.
A very informationrmative article and lots of really honest and forthright comments made! This certainly got me thinking a lot about this issue so nice one a lot for posting!
This really answered my issue, thank you!
desire
This blog post is excellent, probably because of how well the subject was developped. I like some of the comments too though I would prefer we all stay on the suject in order add value to the subject!
It shows how you comprehend this subject. Added this post, is perfect for additional.
Hey i am for the primary time here. I found this board and I in finding It really helpful & it helped me out much. I’m hoping to provide one thing again and aid others such as you helped me.
Thank you for sharing with us, I believe this website genuinely stands out : D.
Very interesting, thanks a lot!
I dugg some of you post as I cogitated they were very helpful very helpful
could you plz tell me how can i start izpack in Linux (Ubuntu)
Install it and go through the steps here http://www.imrantariq.com/blog/?p=89#comment-311.
I will definitely come back for more.
Hi, I tried ti istall izpack in my winndows 7 64 bit by when i try to execute the compile install.xml -b . -o install.jar -k standard it doesn’t work: it show me thi message:”IZPACK_HOME is set incorrectly or Izpack could not be located. Please set IZPACK
_HOME.” my IZPACK_HOME is “C:\Program Files (x86)\IzPack” can someone help me?
TNK
Hi…the problem was the izpack5 beta version. I tried izpack 4 version and it work well. Bye
That’s good.
Incredible, amazing blog layout! How much time are you blogging regarding? you’re making blogging and site-building look straightforward. The entire search of your respective website is excellent, along with the written content!…
Hi,
can anyone help me for creating installer for my jar file?
I am having only jar file with me.
Hi,
Can you plz let me know how to add external executable jar files into the installer, and these jar files should execute at the time of installing the main installer, as i wanted to install db at the time of installation….
plz help me
Hi,
You need to pack DB server installer along-with installer files. Then you need to write script that will run that DB installer and installs DB. You need to care all the possible problems like ‘where to install db server C drive or D. Is it already installed etc’
now i wanted to know that how can i pack the db server installer along with my installer file..m using izpack installer but m stuck at this point…can you help me….
thanks in advance
Please help me create an installer for a war file..
I get this error after i follow the above steps,
Invalid byte 1 of 1-byte UTF-8 sequence
Please Help.
I followed all the instructions above, but no exe jar file was created in the bin directory, even though on the cmd prompt it showed that it was being created
below you