Izpack

I am using Izpack for creating an installer (http://www.izforge.com/izpack/) . When I try to install from the jar file created by Izpack software, it shows the destinations directory by default as

C:\Program Files\Application

The user can change this but i want to show a different default directory. How to do this...
Annabelle_sAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TimYatesCommented:
According to the documentation for izpack;

------------
2.4.6 TargetPanel
    This panel allows the user to select the installation path. It can be customized with the following resources (they are text files containing the path) :

        • TargetPanel.dir.f where f stands for the family (mac, macosx, windows,unix)
        • TargetPanel.dir : the directory name, instead of the software to in-stall name
        • TargetPanel.dir.d where d is a ”dynamic” name, as returned by the JavaTM virtual machine. You should write the name in lower- case and replace the spaces with underscores. For instance, you mightwant a different setting for Solaris and GNU/Linux which are both Unix-like systems. The resources would be TargetPanel.dir.sunos, TargetPanel.dir.linux. You should have a Unix-resource in case it wouldn’t work though.
-------------

http://izforge.com/izpack/izpack-doc.pdf
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
fargoCommented:
Hi,

I am not very much familier with it, but you can very well define a INSTALL_PATH in the xml configuration file for the targets.
Search for this variable and set according to your needs.

BTW, in my opinion, let it be taken according to the OS [default settings].

regards,
fargo
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.