If you find this blog helpful or useful then you can donate by clicking ads on this website.

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: , , ,

38 Comments on How to make installer with izpack

  1. mcdonalds menu says:

    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.

  2. QuickBooks Hosting says:

    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.

  3. mak says:

    Its ridiculous what attention I am through the opposite gender after i shop at GL ONEALS!

  4. john says:

    “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

  5. tom says:

    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

  6. NFL says:

    I have been reading the posts, and i also definitely concur in doing what Tom said.

  7. Quick says:

    I absolutely enjoyed looking through this write-up! I definitely will probably be coming back to read extra intriguing ideas! Many thanks!

  8. Patient says:

    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!

  9. kahlua says:

    It was nice to read your post. Thank you for posting this piece!

  10. seg says:

    Grab your free backlink now on a web directory

  11. casi says:

    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.

  12. Merkur says:

    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!

  13. das says:

    This really answered my issue, thank you!

  14. burning furnace review says:

    desire

  15. test says:

    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!

  16. ACN says:

    It shows how you comprehend this subject. Added this post, is perfect for additional.

  17. shoebuy says:

    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.

  18. fir says:

    Thank you for sharing with us, I believe this website genuinely stands out : D.

  19. Kampagnen says:

    Very interesting, thanks a lot!

  20. hh says:

    I dugg some of you post as I cogitated they were very helpful very helpful

  21. prasath says:

    could you plz tell me how can i start izpack in Linux (Ubuntu)

  22. Reatha Oates says:

    I will definitely come back for more.

  23. Paolo says:

    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

  24. Paolo says:

    Hi…the problem was the izpack5 beta version. I tried izpack 4 version and it work well. Bye

  25. Darcy Zych says:

    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!…

  26. Suhasini says:

    Hi,
    can anyone help me for creating installer for my jar file?
    I am having only jar file with me.

  27. Muzainul Haque Qazi says:

    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

    • Imran says:

      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’

      • Muzainul Haque Qazi says:

        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

  28. Vinay says:

    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.

  29. Ayo says:

    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

  30. jackred says:

    there a GUI frontend to IzPack that simplifies setup making without need of xml coding! It’s DCP Setup Maker
    check it out ;)
    https://sourceforge.net/p/devcompack/

  31. Makarand Sinkar says:

    Hello Imran,

    I am trying to implement MultiVolume Installer using Izpack4.3.5 (and also tried with version 5.0 beta).

    The documentation specifies the configuration settings in the install.xml. Mentioned below is the config setting I implemented.

    I configured the same accordingly. However when I try to execute the run.bat, I get a ClassNotFound exception bcoz the class Multivolume packager seems to be moved in different package installer package and renamed as MultiVolumeInstaller.

    I used the 4.3.5 APIs , changed the path in the install.xml in the Packaging tag. However it is still not working. Giving me Compiler exception with a big stack trace.

    Can you pls help me, I will be extremely grateful to you for the same. Thanks a lot.

    Pls send me some sample code or config file on my mail id sinkar.makarand@gmail.com. Thank you

  32. payday loans says:

    Great article. I appreciate your attention to this subject and I
    learned a lot

Leave a Reply