Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javapackager - how to force install path

user2309547Feb 9 2018 — edited Feb 9 2018

I'm using javapackager to create self extracting executables with a jre bundled internally, javapackager has a dependency on Inno Setup 5, which I have installed.

We need the self extracting installation exe to install the app in a specific drive/folder location.

Thus far, I have not been able to find a way to pass that parm to javapackager and subsequently to Inno.

Inno does provide configuration files (.iss) that have a name value pair for that  ,DefaultDirName, when using Inno as a standalone compiler/packager.

Interestingly, a .iss file is generated as a result of javapackager’s invocation to Inno, examination of this config provides some good insight into which parms are passed from javapackager to Inno. These are created in tmp folders, but are not reused in subsequent calls to javapackager, I was hoping they were, as that would be a suitable workaround.

If there were a way to pass an .iss file or if there is a parm to pass this DefaultDirName value to javapackager, please let me know.

regards

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 9 2018
Added on Feb 9 2018
0 comments
972 views