[Qt-interest] Windows 7 and VirtualStore woes

David Ching dc at remove-this.dcsoft.com
Thu Sep 10 23:21:58 CEST 2009


"Oliver Demetz" <forenbeitraege at oliverdemetz.de> wrote in message 
news:4AA92F89.6030602 at oliverdemetz.de...
> This leads to the fact that the access to the "VERSION" file is *not* 
> redirected to the virtualStore. Thus, both programs use different files.
>
> What is the standard way to solve this problem?
>
> Remark: the best, easiest and simplest way of downgrading to
>         good-old windows xp  is unfortunately impossible in my case ;-)
>

As others have said, an app can't reliably write to the Program Files folder 
anymore.  The standard way of caching the version is to do it in the Setup 
program (the one that installed the app to Program Files in the first 
place).  Make it write the VERSION, and since it is running elevated (i.e. 
with Admin privilege), it will go into the real c:\program files\... folder.

-- David 




More information about the Qt-interest-old mailing list