Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

using TARGETDIR in registry key


1 reply to this topic

lacto

lacto
  • Members
  • 1 posts

Posted 05 March 2003 - 23:29

I need to add a registry entry for a file that exists in the TARGETDIR (Application Folder).  That is , I have a file called foo.txt that will be installed in my Application Directory, for example c:\myinstalldir\foo.txt and I need to create a registry entry that uses this path and file as the value.  The problem is that it can't be hardcoded because it needs to match whatever the install directory is.  Is this possible?

Dagostini

Dagostini
  • Members
  • 13 posts

Posted 22 April 2003 - 20:58

Yes. Try [INSTALLDIR]foo.txt in the value field in the registry table.