Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

Replace file in folder inside Program Files

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 05-31-2007   #1 (permalink)
Fernando
Guest


 

Replace file in folder inside Program Files

I developed an MS Access Application which I deploy as an mde in a directory
inside Program Files.

When I update the application I generally just replace the MDE on the user's
computers, but one of our users with Vista Home Premium cannot get the
updates. Any time I replace the file, it still opens the original file that
was created the first time.

I have set the permissions to allow myself full control of this directory
and every file in it, but no lock.

Any suggestions?

Thank you,

My System SpecsSystem Spec
Old 05-31-2007   #2 (permalink)
Jimmy Brush
Guest


 

Re: Replace file in folder inside Program Files

Hello,

If you tried to replace this file *before* changing permissions, a
duplicate file will have been created inside
c:\users\%username%\AppData\local\virtualstore\program files\ that
will be used instead of the file in the real location.

If you delete that copy, it should load the new data.

NOTE: Any changes the application has made to the file will be inside
the duplicate file, and not the original - you should inspect these
files closely for differences, as you may need to merge them.

- JB

On Thu, 31 May 2007 14:27:02 -0700, Fernando
<Fernando@discussions.microsoft.com> wrote:

>I developed an MS Access Application which I deploy as an mde in a directory
>inside Program Files.
>
>When I update the application I generally just replace the MDE on the user's
>computers, but one of our users with Vista Home Premium cannot get the
>updates. Any time I replace the file, it still opens the original file that
>was created the first time.
>
>I have set the permissions to allow myself full control of this directory
>and every file in it, but no lock.
>
>Any suggestions?
>
>Thank you,

My System SpecsSystem Spec
Old 06-01-2007   #3 (permalink)
Jesper
Guest


 

Re: Replace file in folder inside Program Files

I'd add that you should read Mark Russinovich's article on UAC, which
documents this feature:
http://www.microsoft.com/technet/tec...C/default.aspx.
It will help you understand how this behavior works.
---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/047...otectyourwi-20


"Jimmy Brush" wrote:

> Hello,
>
> If you tried to replace this file *before* changing permissions, a
> duplicate file will have been created inside
> c:\users\%username%\AppData\local\virtualstore\program files\ that
> will be used instead of the file in the real location.
>
> If you delete that copy, it should load the new data.
>
> NOTE: Any changes the application has made to the file will be inside
> the duplicate file, and not the original - you should inspect these
> files closely for differences, as you may need to merge them.
>
> - JB
>
> On Thu, 31 May 2007 14:27:02 -0700, Fernando
> <Fernando@discussions.microsoft.com> wrote:
>
> >I developed an MS Access Application which I deploy as an mde in a directory
> >inside Program Files.
> >
> >When I update the application I generally just replace the MDE on the user's
> >computers, but one of our users with Vista Home Premium cannot get the
> >updates. Any time I replace the file, it still opens the original file that
> >was created the first time.
> >
> >I have set the permissions to allow myself full control of this directory
> >and every file in it, but no lock.
> >
> >Any suggestions?
> >
> >Thank you,

>

My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Program Files folder switched to Pictures Folder type... ontherebound Vista file management 5 04-16-2008 02:29 PM
change permission on all files inside a folder or hundreds of file inside a folder Anthony B Vista security 2 12-28-2007 04:26 AM
Problem deleting vista RC windows folder and program files folder Rob Holmes Vista account administration 0 08-08-2007 02:42 PM
Files merge when I replace a folder? just bob Vista file management 2 04-05-2007 04:44 PM
Spyware .exe program won't save or run into Program Files folder Little Lil Vista General 3 03-20-2007 06:14 PM


Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51