Stano, As far as I remember (it has been almost 2 years since I struggled with it :) ), you must be able to do it using custom actions. Some part of your dll must be attributed with setup specific attributes. Before_install, after_install events are in your reach then...
baris On 12/2/05, Stanislav Peťko <[EMAIL PROTECTED]> wrote: > Do you have link to some resources about this? > > Stano > > > Baris Acar wrote: > > >Well, > >As far as I remember you can plug some of your routines in your setup > >project, thus reach any framework class including Registry. > > > >baris > > > >On 12/2/05, Stanislav Peťko <[EMAIL PROTECTED]> wrote: > > > > > >>This is not my case, because I have "setup project" (deployment), not > >>windows application project, so I do not have any class in it and it > >>uses standard setup dialogs. > >> > >>Stano. > >> > >> > >> > >>David Lanouette wrote: > >> > >> > >> > >>>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] > >>> > >>> > >>> > >>> > >>=================================== > >>This list is hosted by DevelopMentorŽ http://www.develop.com > >> > >>View archives and manage your subscription(s) at http://discuss.develop.com > >> > >> > >> > > =================================== > This list is hosted by DevelopMentorŽ http://www.develop.com > > View archives and manage your subscription(s) at http://discuss.develop.com >
