AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Vista's Virtual Store - Updating game's files

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
TL



Joined: 01 Nov 2006
Posts: 20

PostPosted: Mon Oct 19, 2009 11:45 am    Post subject: Vista's Virtual Store - Updating game's files Reply with quote

I have a AHK executables that were placed in an old game's installation directory on a Vista machine: C:\Program Files (x86)\<game name>.
If the AHK executables are run without Admin permissions they don't seem to utilize Vista's Virtual Store. For example:

One AHK executable saves the current configuration file by creating a "backup" directory and doing a FileMove. It then does a "Loop, Read, <current file>, <new file>" to create a new version of the configuration file. A file create error occurs. Shouldn't the file be created in the user's Virtual Store?

Other AHK executables copy files from a temporary directory into the install directory (overwriting existing files). Shouldn't Vista be placing the files in the Virtual Store and the then the game starts using those versions the next time the game is run?

TL
Back to top
View user's profile Send private message
tank



Joined: 21 Dec 2007
Posts: 3700
Location: Louisville KY USA

PostPosted: Mon Oct 19, 2009 1:18 pm    Post subject: Reply with quote

Vista file virtual store [UAC]
_________________

We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group