Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Security > Replace file in folder inside Program Files

Reply
Thread Tools Display Modes

Replace file in folder inside Program Files

 
 
Fernando
Guest
Posts: n/a

 
      05-31-2007
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,
 
Reply With Quote
 
 
 
 
Jimmy Brush
Guest
Posts: n/a

 
      06-01-2007
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\pro gram 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
<> 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,

 
Reply With Quote
 
Jesper
Guest
Posts: n/a

 
      06-01-2007
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\pro gram 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
> <> 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,

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Program Files folder switched to Pictures Folder type... ontherebound Windows Vista File Management 4 04-16-2008 07:07 PM
change permission on all files inside a folder or hundreds of file inside a folder Anthony B Windows Vista Security 3 12-28-2007 11:08 PM
Problem deleting vista RC windows folder and program files folder Rob Holmes Windows Vista Administration 0 08-08-2007 07:42 PM
Files merge when I replace a folder? just bob Windows Vista File Management 2 04-05-2007 09:44 PM
Spyware .exe program won't save or run into Program Files folder Little Lil Windows Vista General Discussion 3 03-20-2007 10:14 PM



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 52 53 54 55 56 57 58 59