cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
chbiki
Level 6

Uninstall Component/files after reboot

Hi !
my project is a msi basic.
i need help: some files are in use during uninstallation and it can´t be deleted after reboot, even if the appropriate component dosent be set as permanent.

Please help me !
Labels (1)
0 Kudos
(5) Replies
chbiki
Level 6

can anyone help me please ?!!!
0 Kudos
chbiki
Level 6

is there really any solution for this problem ? is this so complex ?
0 Kudos
RobertDickau
Flexera Alumni

Could you post more details? Is the FilesInUse dialog box or reboot prompt displayed during uninstallation? Are the files marked as shared, and perhaps left on the system for that reason?
0 Kudos
arsirantala
Level 5

There is a program called movefile, with it you can schedule delete operation for files which are locked. Of course this is not an ideal way to resolve this kind of problem, but its one way.

http://www.microsoft.com/technet/sysinternals/FileAndDisk/pendmoves.mspx
0 Kudos
chbiki
Level 6

thank you both for the answer !
the .dll was marked as shared, after set it to not shared it goes now.
The issue now is: my setup must delete the registry entry (in SharedDll) if it found it on the system, is there a way to do this ?
Thank you very much !
0 Kudos