PDA

View Full Version : Problem using a InstallAnywhere variable



macd81o0
12-14-2009, 01:02 PM
Using InstallAnywhere 8.0

I'm trying to use a IA variable coming from Get Password (Panel/Console). The variable is $USER_SUPPLIED_PASSWORD$. I tried to use the variable in a script but I'm only getting the value of "$".

Here is the script that I working with:

dbHost=`hostname`
dbName=rsdb
dbType=SYBASE
dbPort=4100
dbUser=sa
dbPass=$USER_SUPPLIED_PASSWORD$

echo $DBPASS$ > /opt/dbPass.txt

java -cp $NPSCLASSPATH nps/rdbms/db_version_level $dbHost $dbPort $dbName $dbUser $dbPass $dbType

After running the installer, I've checked dbPass.txt file and it only contains a "$". What am I doing wrong?