Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - Replace file in folder inside Program Files

Reply
 
Old 05-31-2007   #1 (permalink)
Fernando


 
 

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


 
 

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


 
 

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
Reply

Thread Tools


Similar Threads
Thread Forum
Programs - Replace System Program without Modifying System Files or Permissions Tutorials
change permission on all files inside a folder or hundreds of file inside a folder Vista security
Problem deleting vista RC windows folder and program files folder Vista account administration
Files merge when I replace a folder? Vista file management
Spyware .exe program won't save or run into Program Files folder Vista General


Vista Forums 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 Ltd

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