Getting at actual install directory for .NET Setup

G

Grant Schenck

I developed a C# application which needs several data files. I want to
install them in a subdirectory of my install directory. In addition, I want
to set some registry strings to point to these files. I can get setup to
install the files fine. I can set the registry string values to the correct
paths if I use something like:

[ProgramFilesFolder][Manufacturer]\[ProductName]\WaveFiles\InvalidInput.wav

However, if, at the time of install, I specify a different directory then
the proposed default then this still sets my registry key to the c:\program
files... directory.

How do I set a registry string value from setup to contain the actual
location my location was installed too?

Thanks!

Grant Schenck
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top