Results 1 to 2 of 2

Thread: Application installed for All Users

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2002
    Location
    London
    Posts
    63

    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?

  2. #2
    Hyperactive Member
    Join Date
    Dec 2006
    Location
    Ubuntu Haters Club
    Posts
    405

    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
  •  



Click Here to Expand Forum to Full Width