Re: Vista - User Directory



DanB wrote:
And thanks David, the manifest looks very important so that the app has the appropriate privileges to access the 'not' VirtualStore.

Actually, it is the opposite. In order to have permission to write to the "forbidden places", you will need an "admin" manifest that will cause a UAC elevation prompt, which you almost certainly don't want (except in the installer). In your app, you should put a "non-admin" manifest that will cause writes to the forbidden places to fail. That way, you will find out if you try to do something in your app that you are not supposed to do. The VirtualStore is only intended for legacy applications that are not being updated. New work should avoid it.

--
David Wilkinson
Visual C++ MVP
.



Relevant Pages

  • Re: Vista problems
    ... applicable to Vista -- earlier OSes ignore it. ... manifest in my EXE change the installation? ... VirtualStore issues can be VERY confusing to troubleshoot. ... if you have an app on Vista that tries to ...
    (borland.public.delphi.non-technical)
  • Re: Vista problems
    ... I am updating my app. ... If I put the manifest in, the VirtualStore is gone, ...
    (borland.public.delphi.non-technical)
  • Re: Vista - User Directory
    ... In order to have permission to write to the "forbidden places", you will need an "admin" manifest that will cause a UAC elevation prompt, which you almost certainly don't want. ... The VirtualStore is only intended for legacy applications that are not being updated. ... I don't want special privileges, I only want to read and write 'my' appData folder. ...
    (microsoft.public.vc.mfc)
  • Re: Win7 VirtualStore Weirdness with Excel 2002 and earlier
    ... for an administrator password to give permission to make the change. ... deleting a file from the logged in user's VirtualStore. ... seeing the new version of the add-in after upgrading, ... the logged in user at the time the add-in was upgraded. ...
    (microsoft.public.excel.programming)
  • Re: Vista problems
    ... an XP manifest in your app. ... That will disable the VirtualStore. ... I'll try this, but why would it work on one Vista (or more then one, as the ... it seems to me that it is an install ...
    (borland.public.delphi.non-technical)