Page 1 of 1

Write to registry key

Posted: Mon Nov 26, 2007 11:10 am
by Roostar2004
I need to know to get installaware to write the install directory to a registry key. I can not use a hard coded path as users will be installing this in more then just the default location. Do you know of a way that I get installaware to pull in the install directory location?

Posted: Mon Nov 26, 2007 12:31 pm
by Alex_Ronquillo
The $TARGETDIR$ variable contains the install directory at the end of the installation. Write that variable to your desired key.

Thanks!

Posted: Mon Nov 26, 2007 4:21 pm
by Roostar2004
thanks! that worked.