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
- :
- INSTALLER_TEMP_DIR not available during install
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 18, 2008
12:43 PM
INSTALLER_TEMP_DIR not available during install
Hi,
In the "install" frame, I am dropping files into the "Installer Temp Directory" then executing a script/batch file. (Also under the "install" frame".)
I am using $INSTALLER_TEMP_DIR$ in my script to point to the files I put there. For example:
#!/bin/sh
echo $INSTALLER_TEMP_DIR$
path_to_my_file=$INSTALLER_TEMP_DIR$/my_file
The problem is that IA 2008vp1 is not replacing this IA variable with the value. All the other IA variables that _I_ created _are_ getting replaced.
Any ideas?
Is this a bug?
In the "install" frame, I am dropping files into the "Installer Temp Directory" then executing a script/batch file. (Also under the "install" frame".)
I am using $INSTALLER_TEMP_DIR$ in my script to point to the files I put there. For example:
#!/bin/sh
echo $INSTALLER_TEMP_DIR$
path_to_my_file=$INSTALLER_TEMP_DIR$/my_file
The problem is that IA 2008vp1 is not replacing this IA variable with the value. All the other IA variables that _I_ created _are_ getting replaced.
Any ideas?
Is this a bug?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 18, 2008
03:51 PM
As a follow-up...
This is a very strange problem. I went through my linux script and inserted a bunch of these:
echo $INSTALLER_TEMP_DIR$
The end result was:
sometimes it was replaced with: echo /tmp/745049.tmp
and sometimes it was left as-is.
I spent almost all day on this problem and was unable to get to the root cause. I ended up putting a line like this at the top of the script:
my_temp_dir=$INSTALLER_TEMP_DIR$
and used $my_temp_dir throughout the rest of the script.
I still don't know the root cause, but at least I'm not going to lose anymore time on it.
This was exhausting... 😞
This is a very strange problem. I went through my linux script and inserted a bunch of these:
echo $INSTALLER_TEMP_DIR$
The end result was:
sometimes it was replaced with: echo /tmp/745049.tmp
and sometimes it was left as-is.
I spent almost all day on this problem and was unable to get to the root cause. I ended up putting a line like this at the top of the script:
my_temp_dir=$INSTALLER_TEMP_DIR$
and used $my_temp_dir throughout the rest of the script.
I still don't know the root cause, but at least I'm not going to lose anymore time on it.
This was exhausting... 😞