left over files in my ProgramData folder

Got a problem you cannot solve? Try here.
Post Reply
figo
Posts: 27
Joined: Thu May 21, 2009 3:06 am
Contact:

left over files in my ProgramData folder

Post by figo »

Can someone please explain to me why after I perform a uninstall, is there a folder left over in my "C:\\ProgramData" labeled "~0" with the following files in it:

mia.lib
my_install.exe

NOTE:
my_install.exe is the installaware file I generated.

Do I have to manually remove the folder? just seems odd that it the folder is renamed from from the product GUID to "~0".

thanks,

- L
--------

If all else fails, Improvise!

http://www.luiscasillas.com
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Reboot and they will magically disappear :)
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
figo
Posts: 27
Joined: Thu May 21, 2009 3:06 am
Contact:

Post by figo »

MichaelNesmith wrote:Reboot and they will magically disappear :)
So this is normal behavior? just seems odd.
--------

If all else fails, Improvise!

http://www.luiscasillas.com
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Why is it odd? Files that are in use by the uninstaller cannot be deleted while the uninstaller itself is running, so they are removed on the next reboot.

To compensate for the case that the user might want to re-install before rebooting, the folder is also renamed, such that after a re-install and then an eventual reboot, the re-installed files are not accidentally removed.

We've thought of everything :lol:
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
DanStutzman
Posts: 85
Joined: Wed Jun 10, 2009 10:36 am
Location: Philadelphia, PA
Contact:

Post by DanStutzman »

Figo:

If you go into ($Reg_) HKLM\\System\\CurrentControlSet\\Control\\Session Manager look for:

PendingFileRenameOperations REG_MULTI_SZ "$DATA$" or

$Reg_ & \\FileRenameOperationsThis is where Windows stores ON REBOOT Operations, whether it is deleting locked files, deleting temporary caches, etc.

Dan
Post Reply