Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Registry Entries

Status
Not open for further replies.

macksta

Programmer
Aug 13, 2002
27
NZ
Hey people,

I need to add a registry key to a specific location say HKEY_LOCAL_MACHINE\Software\Quote\Dir (This will be static)
however I want the value to be where the user has choosen to install the application. Is this possible? If so can you explain to me how this works please.

Cheers in advance
Jamie
 
Please note that I am using WISE for windows installer 4.21
 
Figured it out my self the answer is as follows:

To find the directory that a file is stored in use the following syntax [#Filename] e.g. [#db.mdb]
this will write in the path that this file has been stored too.
 
Wise also has a internal variable called [INSTALLDIR] you can use that... check it out in the help, they have plenty of info
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top