A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Windows Vista File Management
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Windows Vista File Management Issues or questions in relation to Vista's file management. (microsoft.public.windows.vista.file_management)

Deleted files re-appear in VISTA



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old February 23rd 07, 04:14 PM posted to microsoft.public.windows.vista.file_management
will f
external usenet poster
 
Posts: 14
Default Deleted files re-appear in VISTA

Hi.

I've encountered some very strange behavior while troubleshooting an app,
and would like some help.

I did a complete uninstall of the program. The uninstall removed the
programs directory structure - as it should have.
It deleted the C:\Program Files\My Company\My App Name folder.

I then manually re-created the directory structure, C:\Program Files\My
Company\My App Name.
Then, I re-installed the program.

When I browsed to the C:\Program Files\My Company\My App Name folder in
Windows Explorer, there were files that I previously deleted from the folder
that were not part of the installation. The files that magically re-appeared
were files that would have been created by the program at run-time - not
during installation. The files were the same as those that were previously
in the folder before the uninstall.

Where did they come from? The uninstall removed the directory and its
contents. I then recreated the folder manually, and could see that the
folder was empty. I did not run the program after installing it, so I did
not perform any operations that would have created the files that were
previously deleted.

Does VISTA cache files that I delete and then restore them? I didn't send
the files to my recycle bin - I permanently (or so I thought) deleted them.
Is there something I can turn off to prevent VISTA from making file
maintenance decisions for me?

Thank you.

- Bill F


  #2 (permalink)  
Old February 23rd 07, 04:34 PM posted to microsoft.public.windows.vista.file_management
will f
external usenet poster
 
Posts: 14
Default Deleted files re-appear in VISTA

This gets even more bizzaro. I deleted the MDB file that the app uses for
data. Not recycle bin, but permanently deleted it. The file does not appear
in Windows Explorer. Get this, though. When I open the program, it behaves
as if it is there.



"will f" wrote in message
...
Hi.

I've encountered some very strange behavior while troubleshooting an app,
and would like some help.

I did a complete uninstall of the program. The uninstall removed the
programs directory structure - as it should have.
It deleted the C:\Program Files\My Company\My App Name folder.

I then manually re-created the directory structure, C:\Program Files\My
Company\My App Name.
Then, I re-installed the program.

When I browsed to the C:\Program Files\My Company\My App Name folder in
Windows Explorer, there were files that I previously deleted from the
folder that were not part of the installation. The files that magically
re-appeared were files that would have been created by the program at
run-time - not during installation. The files were the same as those that
were previously in the folder before the uninstall.

Where did they come from? The uninstall removed the directory and its
contents. I then recreated the folder manually, and could see that the
folder was empty. I did not run the program after installing it, so I did
not perform any operations that would have created the files that were
previously deleted.

Does VISTA cache files that I delete and then restore them? I didn't send
the files to my recycle bin - I permanently (or so I thought) deleted
them. Is there something I can turn off to prevent VISTA from making file
maintenance decisions for me?

Thank you.

- Bill F



  #3 (permalink)  
Old February 23rd 07, 05:16 PM posted to microsoft.public.windows.vista.file_management
Keith Miller MVP
external usenet poster
 
Posts: 505
Default Deleted files re-appear in VISTA

Have you looked under:

"C:\Users\UserName\AppData\Local\VirtualStor e"?


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]

"will f" wrote in message
...
This gets even more bizzaro. I deleted the MDB file that the app uses for
data. Not recycle bin, but permanently deleted it. The file does not
appear
in Windows Explorer. Get this, though. When I open the program, it behaves
as if it is there.



"will f" wrote in message
...
Hi.

I've encountered some very strange behavior while troubleshooting an app,
and would like some help.

I did a complete uninstall of the program. The uninstall removed the
programs directory structure - as it should have.
It deleted the C:\Program Files\My Company\My App Name folder.

I then manually re-created the directory structure, C:\Program Files\My
Company\My App Name.
Then, I re-installed the program.

When I browsed to the C:\Program Files\My Company\My App Name folder in
Windows Explorer, there were files that I previously deleted from the
folder that were not part of the installation. The files that magically
re-appeared were files that would have been created by the program at
run-time - not during installation. The files were the same as those that
were previously in the folder before the uninstall.

Where did they come from? The uninstall removed the directory and its
contents. I then recreated the folder manually, and could see that the
folder was empty. I did not run the program after installing it, so I did
not perform any operations that would have created the files that were
previously deleted.

Does VISTA cache files that I delete and then restore them? I didn't send
the files to my recycle bin - I permanently (or so I thought) deleted
them. Is there something I can turn off to prevent VISTA from making file
maintenance decisions for me?

Thank you.

- Bill F




  #4 (permalink)  
Old February 23rd 07, 06:38 PM posted to microsoft.public.windows.vista.file_management
will f
external usenet poster
 
Posts: 14
Default Deleted files re-appear in VISTA

Keith,

Many thanks. Deleting the files from the Virtual Store dir was the trick. My
app wasn't actually using the directories layed down by the app's installer.
I've begun reading up on this Virtual Store business, and I'm not sure what
i think of it. If my user account has administrative credentials, then I'd
like to assume that whatever I run will run under the same creds.

This is going to confuse a lot of people, I think. I'll be taking support
calls from people who don't know whether they're running their app as
administrator or not, so I won't know which directories to direct them to,
etc. I also support an app where peer-to-peer users share their local
Program Files\App\Data folder so other users can share data. I can see that
if they do this, the remote users will be accessing a different file than
the one actually used by the local user in her Virtual Store dir.

I'm anticipating a lot of confised users calling our support techs.

Thanks again.

- will f

"Keith Miller MVP" wrote in message
...
Have you looked under:

"C:\Users\UserName\AppData\Local\VirtualStor e"?


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]

"will f" wrote in message
...
This gets even more bizzaro. I deleted the MDB file that the app uses for
data. Not recycle bin, but permanently deleted it. The file does not
appear
in Windows Explorer. Get this, though. When I open the program, it
behaves
as if it is there.



"will f" wrote in message
...
Hi.

I've encountered some very strange behavior while troubleshooting an
app, and would like some help.

I did a complete uninstall of the program. The uninstall removed the
programs directory structure - as it should have.
It deleted the C:\Program Files\My Company\My App Name folder.

I then manually re-created the directory structure, C:\Program Files\My
Company\My App Name.
Then, I re-installed the program.

When I browsed to the C:\Program Files\My Company\My App Name folder in
Windows Explorer, there were files that I previously deleted from the
folder that were not part of the installation. The files that magically
re-appeared were files that would have been created by the program at
run-time - not during installation. The files were the same as those
that were previously in the folder before the uninstall.

Where did they come from? The uninstall removed the directory and its
contents. I then recreated the folder manually, and could see that the
folder was empty. I did not run the program after installing it, so I
did not perform any operations that would have created the files that
were previously deleted.

Does VISTA cache files that I delete and then restore them? I didn't
send the files to my recycle bin - I permanently (or so I thought)
deleted them. Is there something I can turn off to prevent VISTA from
making file maintenance decisions for me?

Thank you.

- Bill F






  #5 (permalink)  
Old February 23rd 07, 09:58 PM posted to microsoft.public.windows.vista.file_management
Keith Miller MVP
external usenet poster
 
Posts: 505
Default Deleted files re-appear in VISTA

One thing that might be useful in handling those calls:

If you type:

shell:local appdata

in either a 'Run...' dialog or the 'Start Search' box on the Start menu, it
will open an Explorer window to that users 'AppData' folder, the parent of
VirtualStore.


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]

"will f" wrote in message
...
Keith,

Many thanks. Deleting the files from the Virtual Store dir was the trick.
My app wasn't actually using the directories layed down by the app's
installer. I've begun reading up on this Virtual Store business, and I'm
not sure what i think of it. If my user account has administrative
credentials, then I'd like to assume that whatever I run will run under
the same creds.

This is going to confuse a lot of people, I think. I'll be taking support
calls from people who don't know whether they're running their app as
administrator or not, so I won't know which directories to direct them to,
etc. I also support an app where peer-to-peer users share their local
Program Files\App\Data folder so other users can share data. I can see
that if they do this, the remote users will be accessing a different file
than the one actually used by the local user in her Virtual Store dir.

I'm anticipating a lot of confised users calling our support techs.

Thanks again.

- will f

"Keith Miller MVP" wrote in message
...
Have you looked under:

"C:\Users\UserName\AppData\Local\VirtualStor e"?


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]

"will f" wrote in message
...
This gets even more bizzaro. I deleted the MDB file that the app uses
for
data. Not recycle bin, but permanently deleted it. The file does not
appear
in Windows Explorer. Get this, though. When I open the program, it
behaves
as if it is there.



"will f" wrote in message
...
Hi.

I've encountered some very strange behavior while troubleshooting an
app, and would like some help.

I did a complete uninstall of the program. The uninstall removed the
programs directory structure - as it should have.
It deleted the C:\Program Files\My Company\My App Name folder.

I then manually re-created the directory structure, C:\Program Files\My
Company\My App Name.
Then, I re-installed the program.

When I browsed to the C:\Program Files\My Company\My App Name folder in
Windows Explorer, there were files that I previously deleted from the
folder that were not part of the installation. The files that magically
re-appeared were files that would have been created by the program at
run-time - not during installation. The files were the same as those
that were previously in the folder before the uninstall.

Where did they come from? The uninstall removed the directory and its
contents. I then recreated the folder manually, and could see that the
folder was empty. I did not run the program after installing it, so I
did not perform any operations that would have created the files that
were previously deleted.

Does VISTA cache files that I delete and then restore them? I didn't
send the files to my recycle bin - I permanently (or so I thought)
deleted them. Is there something I can turn off to prevent VISTA from
making file maintenance decisions for me?

Thank you.

- Bill F







  #6 (permalink)  
Old February 24th 07, 12:55 AM posted to microsoft.public.windows.vista.file_management
Dave Wood [MS]
external usenet poster
 
Posts: 159
Default Deleted files re-appear in VISTA

Remember that the main use for the virtual store directories is to avoid
breaking legacy apps that relied on having write access to locations that
only admins have access to. The hope is that in the future the number of
apps that need to do this will diminish ...

"will f" wrote in message
...
Keith,

Many thanks. Deleting the files from the Virtual Store dir was the trick.
My app wasn't actually using the directories layed down by the app's
installer. I've begun reading up on this Virtual Store business, and I'm
not sure what i think of it. If my user account has administrative
credentials, then I'd like to assume that whatever I run will run under
the same creds.

This is going to confuse a lot of people, I think. I'll be taking support
calls from people who don't know whether they're running their app as
administrator or not, so I won't know which directories to direct them to,
etc. I also support an app where peer-to-peer users share their local
Program Files\App\Data folder so other users can share data. I can see
that if they do this, the remote users will be accessing a different file
than the one actually used by the local user in her Virtual Store dir.

I'm anticipating a lot of confised users calling our support techs.

Thanks again.

- will f

"Keith Miller MVP" wrote in message
...
Have you looked under:

"C:\Users\UserName\AppData\Local\VirtualStor e"?


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]

"will f" wrote in message
...
This gets even more bizzaro. I deleted the MDB file that the app uses
for
data. Not recycle bin, but permanently deleted it. The file does not
appear
in Windows Explorer. Get this, though. When I open the program, it
behaves
as if it is there.



"will f" wrote in message
...
Hi.

I've encountered some very strange behavior while troubleshooting an
app, and would like some help.

I did a complete uninstall of the program. The uninstall removed the
programs directory structure - as it should have.
It deleted the C:\Program Files\My Company\My App Name folder.

I then manually re-created the directory structure, C:\Program Files\My
Company\My App Name.
Then, I re-installed the program.

When I browsed to the C:\Program Files\My Company\My App Name folder in
Windows Explorer, there were files that I previously deleted from the
folder that were not part of the installation. The files that magically
re-appeared were files that would have been created by the program at
run-time - not during installation. The files were the same as those
that were previously in the folder before the uninstall.

Where did they come from? The uninstall removed the directory and its
contents. I then recreated the folder manually, and could see that the
folder was empty. I did not run the program after installing it, so I
did not perform any operations that would have created the files that
were previously deleted.

Does VISTA cache files that I delete and then restore them? I didn't
send the files to my recycle bin - I permanently (or so I thought)
deleted them. Is there something I can turn off to prevent VISTA from
making file maintenance decisions for me?

Thank you.

- Bill F







  #7 (permalink)  
Old February 24th 07, 03:01 AM posted to microsoft.public.windows.vista.file_management
Keith Miller MVP
external usenet poster
 
Posts: 505
Default Deleted files re-appear in VISTA

"Keith Miller MVP" wrote in message
...

will open an Explorer window to that users 'AppData' folder, the parent of


should be:

....to that user's 'AppData'...

  #8 (permalink)  
Old February 26th 07, 12:02 AM posted to microsoft.public.windows.vista.file_management
cquirke (MVP Windows shell/user)
external usenet poster
 
Posts: 775
Default Deleted files re-appear in VISTA

On Fri, 23 Feb 2007 17:55:54 -0800, "Dave Wood [MS]"

Remember that the main use for the virtual store directories is to avoid
breaking legacy apps that relied on having write access to locations that
only admins have access to. The hope is that in the future the number of
apps that need to do this will diminish ...


In particular, no-one should be writing data under "Program Files"
anymore. That's been bad practice for over 5 years now!

Data locations should always be user-redirectable, kept free of
infectable code, and if they have to default somewhere, then either
(My )Documents for general files that are open to arbitrary apps, or
AppData for data that only one app can ever use.

For multi-user access, there's AllUsers (i.e. Shared data), which is
now Public. I guess if you use %Labels% you'd be OK, preferably to
populate an install-time default the user can override.



--------------- ---- --- -- - - - -

Saws are too hard to use.
Be easier to use!
--------------- ---- --- -- - - - -

 




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

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



All times are GMT. The time now is 02:09 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.