This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Problem with $prop.user.dir$
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 01, 2011
02:15 AM
Problem with $prop.user.dir$
Hi,
I am using IA 2011. In the "vriables" tab under "Project" tab a short description of various variables is given. Here in IA 2011 the description of $prop.user.dir$ is given as "Contains Java system property $J(user.dir)" and $J(user.dir) refers to the user's current directory. But when I am using the variable $prop.user.dir$ it is not pointing to the user's current dir, it points to some temp dir (I think its installer's temp dir).
Can anyone please help me to understand the issue.
Thanks alot for spending your precious time.
I am using IA 2011. In the "vriables" tab under "Project" tab a short description of various variables is given. Here in IA 2011 the description of $prop.user.dir$ is given as "Contains Java system property $J(user.dir)" and $J(user.dir) refers to the user's current directory. But when I am using the variable $prop.user.dir$ it is not pointing to the user's current dir, it points to some temp dir (I think its installer's temp dir).
Can anyone please help me to understand the issue.
Thanks alot for spending your precious time.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 01, 2011
09:00 AM
You said that $prop.user.dir$ refers to the user's current directory. So the installer is resolving it to install temp dir as it is executed from there ("user.dir" is the directory in which the Java virtual machine was invoked)
What kind of variable do you need ?
$EXTRACTOR_DIR$/$INSTALLER_LAUNCH_DIR$ resolves to the location of the executable
$prop.user.home$ resolves to the user home directory
--Jerome
What kind of variable do you need ?
$EXTRACTOR_DIR$/$INSTALLER_LAUNCH_DIR$ resolves to the location of the executable
$prop.user.home$ resolves to the user home directory
--Jerome
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 02, 2011
05:58 AM
I think $INSTALLER_LAUNCH_DIR$ should solve my problem.
Thanks for your reply.
Thanks for your reply.