Take a look at the Registery class. It has methods to read and write entries in the registery. Getting it into a property in one of your classes will require writing a little code - maybe in a constructor.
HTH. On 12/2/05, Stanislav Peťko <[EMAIL PROTECTED]> wrote: > Hello everyone. > > I have a setup project in VS.NET 2003. I know how to write a registry > key during installation. But I already need the opposite. I need to read > a key from registry and write its value into some property. To be > concrete, I need to read a value from > HKLM\Software\[Manufacturer]\SomeKey and write it to property > [TARGETDIR], before setup wizard's dialog for installation directory is > displayed, so this value is predefined. > > Thanks a lot for any help, Stano > > =================================== > This list is hosted by DevelopMentorŽ http://www.develop.com > > View archives and manage your subscription(s) at http://discuss.develop.com > -- ______________________________ - David Lanouette - [EMAIL PROTECTED]
