We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Izpack

Annabelle_s
Annabelle_s asked
on
Medium Priority
494 Views
Last Modified: 2008-02-01
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...
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2004
Commented:
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

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Commented:
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
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.