| View previous topic :: View next topic |
| Author |
Message |
Della
Joined: 19 Jul 2005 Posts: 43
|
Posted: Tue Mar 09, 2010 5:44 pm Post subject: placing a file in CurrentUser-AppData-Local-VirtualStore... |
|
|
Hello again… I think this is going to be an easy one for you.
I understand the principle of using the conditions to determine windows 7 or Vista…
I am not sure how to install a file into the “Current User account” location. (I may be referencing this worng but I think you know what I mean if not let me know)
I am trying to install into the following locations a particular file. (Actually I am over writing a file in that location.)
XP
Program files - > AwareComm - > 0 - > 0-5
Vista
Current user account - > AppData - > Local - > VirtualStore - > Program files - > AwareComm - > 0 - > 0-5
Windows 7
Current user account - > AppData - > Local - > VirtualStore - > Program Files (x86) - > AwareComm - > 0 - > 0-5
I keeping looking in the “Files to install” and looking in the Basic properties and advanced properties… ie destination
But how do I get it to know the current user account. OR am I in the wrong place ?
As always thank you for your assistance. |
|
| Back to top |
|
 |
Thraex Support
Joined: 25 Jan 2004 Posts: 2482
|
Posted: Thu Mar 11, 2010 6:50 pm Post subject: Re: placing a file in CurrentUser-AppData-Local-VirtualStore |
|
|
If you update to the unofficial 2.27.20 update (http://www.thraexsoftware.com/download/aiw22720.exe) you will be able to use <LocalAppData> (or <RoamingAppData> or <CommonAppData>) variable to install files to user specific or otherwise safe location. These variables work in any OS starting from Windows 2000.
The directory you mentioned (VirtualStore) is not appropriate location to be storing data. This directory is something Vista/7 automatically uses for non-Vista/7 compatible applications that try to write under program files. It would be much better to make your application Vista/7 compatible by adding the appropriate manifest to your application and writing data under one of the directories identified by the AppData variables mentioned earlier. |
|
| Back to top |
|
 |
|