Page 1 of 1

Appending value to variables

Posted: Sat Jan 28, 2006 12:50 am
by jed
I need to read a path from the registry into a variable. Then I need to modify that string and add another path.

I have tried a number of things but can't seem to get it to work and the help just covers the basic waying of setting variables.

One way I tried was:

Read Registry Key XXX into MYVARIABLE
Set Variable MYVARIABLE to $MYVARIABLE$;$TARGETDIR$
Write Registry Key XXX, $MYVARIABLE$


I am using InstallAware 2005se.

Also why is it that when I copy script into notepad that it is in a strange format?

thanks,
JED

Posted: Sat Jan 28, 2006 8:09 am
by MichaelNesmith
It seems to me your method is correct - this is how variables are appended. So what is actually going wrong?

Also is the registry entry a multi string type?