Appending value to variables

Got a problem you cannot solve? Try here.
jed
Posts: 15
Joined: Tue Mar 22, 2005 3:24 am

Appending value to variables

Postby jed » Sat Jan 28, 2006 12:50 am

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

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Sat Jan 28, 2006 8:09 am

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?
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 109 guests