|
-
Apr 13th, 2007, 09:58 AM
#1
Thread Starter
Member
Application installed for All Users
I have an C# windows application that is often installed on a Terminal Server.
The person installing it can install it for 'All Users', or just 'This User'.
I need to store and retrieve things from the registry depending on whether the app was installed for All users or not.
How do I find this out in code?
-
Apr 16th, 2007, 08:35 AM
#2
Hyperactive Member
Re: Application installed for All Users
Store a field in the registry with how it was installed? Or create a file on installation containing which method was used.
It's totally down to personal preference (There are of course more ways, they're just the two I'd fight with).
» Twitter: @rudi_visser : Website: www.rudiv.se «
If Apple fixes security flaws, they are heralded as proactive. If Microsoft fixes a security flaw, they finally got around to fixing their buggy OS.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|