Write to registry key

Got a problem you cannot solve? Try here.
Post Reply
Roostar2004
Posts: 155
Joined: Mon Nov 12, 2007 11:59 am

Write to registry key

Post 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?
Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Post by Alex_Ronquillo »

The $TARGETDIR$ variable contains the install directory at the end of the installation. Write that variable to your desired key.
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Roostar2004
Posts: 155
Joined: Mon Nov 12, 2007 11:59 am

Thanks!

Post by Roostar2004 »

thanks! that worked.
Post Reply