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?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
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:
    966
    Russ Green
    Dec 31, 2003
  2. Guest
    Replies:
    0
    Views:
    385
    Guest
    Oct 29, 2004
  3. Guest
    Replies:
    2
    Views:
    562
    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:
    318
    NuTcAsE
    Jul 20, 2005
  5. Guest
    Replies:
    3
    Views:
    467
    Kevin Yu [MSFT]
    Jul 26, 2005
  6. Sarah Woodfield
    Replies:
    3
    Views:
    574
    Mauro Giuliano
    Oct 28, 2005
  7. Vikram

    Check file is being used by another process

    Vikram, Oct 26, 2005, in forum: Microsoft Dot NET
    Replies:
    1
    Views:
    444
  8. lh
    Replies:
    1
    Views:
    795
    Nick Malik [Microsoft]
    Jan 15, 2006
Loading...