Do you plan for the case where somehow the application makes it way onto a
machine via  a means other than Windows Installer?

What will your app do when the stuff you want to do during Setup hasn't been
done?


-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Petko
Sent: Friday, December 02, 2005 7:52 AM
To: [email protected]
Subject: Re: [ADVANCED-DOTNET] Reading registry key and writing it into
propety during installation

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

Reply via email to