setting targetpath in registry for setup project

dunesand

Member
Joined
Dec 2, 2003
Messages
23
Location
Cambridge, UK
How do you retrieve the install path that the user entered for your application, and then insert that path into a registry entry?

[TARGETPATH] reprensent the value, but putting in this in a string will set the value to a literal "[TARGETPATH]" rather than something like "C:\\Program Files\\My App\\"

I need it at install time because my project is a service, and called the enviroment.currentdirectory property returns the system32 directory.

Thanks for your time.
Dan. :cool:
 
Back
Top