File Virtualization Check

Discussion in 'Microsoft Dot NET' started by wilkinsonr@gmail.com, Aug 14, 2007.

  1. Guest

    Hi All,
    This is the situation. I have a porgram that is in a sub-dir of
    program files that has an auto-updater. This updater needs to over
    write both exe's and data files. If the user is not an admin I can
    prompt for a elevation of rights, however, this may not be required as
    the user may have write permission on the directory. However, if I
    just try writing to the directory, file virtualization kick in and
    fakes it for me.

    So the question is.. Is there any way to find out if file
    virtualization would be or was needed on a file operation, or is there
    a way of telling vista not to virtualize a particular process? I am
    using dotnet 2.0.

    The reason for this odd request is that the application will be put
    onto laptops where the users may not know the admin account details,
    but instead, if they are not admin's, they will be given write access
    to the folder.

    thanks,
    Richard
     
    , Aug 14, 2007
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jane

    check if a file exists on a web server

    Jane, Dec 30, 2003, in forum: Microsoft Dot NET
    Replies:
    3
    Views:
    898
    Russ Green
    Dec 31, 2003
  2. Guest
    Replies:
    0
    Views:
    243
    Guest
    Oct 29, 2004
  3. Guest
    Replies:
    2
    Views:
    489
    Chris Dunaway
    Feb 11, 2005
  4. Kent P. Iler

    Is there a way to check for "exclusive" access to a file?

    Kent P. Iler, Jul 19, 2005, in forum: Microsoft Dot NET
    Replies:
    2
    Views:
    236
    NuTcAsE
    Jul 20, 2005
  5. Guest
    Replies:
    3
    Views:
    361
    Kevin Yu [MSFT]
    Jul 26, 2005
Loading...

Share This Page