Is there any generic way to find jar lib directory from InstallShield ?

Discussion in 'Java' started by jack, Apr 2, 2004.

  1. jack

    jack Guest

    Dear all,

    We have a InstallShield installation program which will copy jar file
    to jre plugin lib/ext directory.

    But the client machine may various, as well as their plugin. Such as
    c:\program files\java\j2re1.4.2_02\lib\ext
    c:\program files\java\j2re1.4.2_03\lib\ext

    We can't force user to use one certain version JRE, and also user may
    install java plugin in some other directory.

    Is there someway for InstallShield to find which directory to install
    the jar file?

    Thanks in advance.

    Jack
    jack, Apr 2, 2004
    #1
    1. Advertising

  2. jack

    Roedy Green Guest

    On 2 Apr 2004 11:16:01 -0800, (jack) wrote or quoted
    :

    >But the client machine may various, as well as their plugin. Such as
    >c:\program files\java\j2re1.4.2_02\lib\ext
    >c:\program files\java\j2re1.4.2_03\lib\ext


    See http://mindprod.com/jgloss/registry.html

    You could write some C or JNI to poke in the registry to find it.
    However, this is a very standard thing to want to do in an install.

    Can you see the System properties inside the installer? IF not
    perhaps you can have a one shot installer than runs the first time the
    app is fired up.

    see http://mindprod.com/jgloss/properties.html

    --
    Canadian Mind Products, Roedy Green.
    Coaching, problem solving, economical contract programming.
    See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
    Roedy Green, Apr 3, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dhruba Bandopadhyay

    HELP: Installshield-like installers

    Dhruba Bandopadhyay, May 4, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    403
    Vadym Stetsyak
    May 5, 2006
  2. Leo Jay
    Replies:
    2
    Views:
    249
    Bengt Richter
    Jan 9, 2006
  3. Darryl Owens
    Replies:
    1
    Views:
    287
    Robert Miles
    Nov 12, 2012
  4. Darryl Owens
    Replies:
    1
    Views:
    297
  5. Darryl Owens
    Replies:
    7
    Views:
    235
    Dwight Hutto
    Oct 7, 2012
Loading...

Share This Page