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
- :
- Environment Variables and Modify Text File
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
‎Jun 30, 2009
03:25 PM
Environment Variables and Modify Text File
Hello. I'm have an action setup to modify a text file for a Linux build, which is simply acting as a launcher for my application. In it, I have something like the following:
setenv PROJ_DIR /home/userA/install
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${PROJ_DIR}/lib
When the installer runs, the part that is red is removed. But when I am configuring the installer, in the Modify Text File - Single File action I have deselected the "Substitute InstallAnywhere variables in file" checkbox. What am I doing wrong? Thanks!
setenv PROJ_DIR /home/userA/install
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${PROJ_DIR}/lib
When the installer runs, the part that is red is removed. But when I am configuring the installer, in the Modify Text File - Single File action I have deselected the "Substitute InstallAnywhere variables in file" checkbox. What am I doing wrong? Thanks!
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 30, 2009
04:34 PM
Perhaps use $DOLLAR$ for literal dollar signs you want to remain, so IA doesn't interpret the expression between $ as a variable?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 27, 2010
10:14 AM
Hey,
I am facing the similar problem.
I have property called,IDM_PASSOWRD=$PASSWORD_VALUE$.during runtime my contains is like this idm$123$.After modifying the actual values its coming like idm only.How can i get the actual password value.
Please its very urgent.
I am facing the similar problem.
I have property called,IDM_PASSOWRD=$PASSWORD_VALUE$.during runtime my contains is like this idm$123$.After modifying the actual values its coming like idm only.How can i get the actual password value.
Please its very urgent.
