Archive: Removal of entries from System Volume Information folder


Removal of entries from System Volume Information folder
Hi.
After uninstallation of my app, i noticed there are still several files in the C:\System Volume Information\_restore... sub-folders. Now we cant directly access System Volume Information. we cant hard code it coz the folder names will change from PC to PC, for eg. the _restore {changeable values} folder.

So how do i delete these entries?

i appreciate your time and help.


Maybe you simply shouldn't remove them...System Volume Information is used to save the data used for System Restore functionality.

What if a customer accidentally uninstalls you application and would like to recover it by using System Restore?

If you succeed deleting your files from System Volume Information during uninstall, the customer wouldn't be able to recover...


Point taken.

But after complete uninstall, if there are still traces of the program in the sys restore folder, it means that the app hasnt truly been completely uninstalled right?

So how to go around that problem?


No, the app has been uninstalled completely even if there are traces in System Restore.

Think of it as if someone copied a file from the installation directory and stored it somewhere else - you can't control it, and no one would expect you to know if that happened (let alone where the copy is stored afterwards).

An uninstaller should remove everything the corresponding installer added (with some exceptions, of course, but it should never remove MORE than it added). You didn't add the file to System Restore in the installer, and therefore, you shouldn't delete it in the uninstaller.