|
#1
|
|||
|
|||
|
Hi,there
I've some trouble with uninstalling. After uninstall process all the files that i've installed are removed properly, except one: %Yukle%\%ProductName% (C:\program files\metron\Metron&M_V8) That folder can't be removed by the uninstall process and i can't figure out what the problem is. |
|
#2
|
||||
|
||||
|
is it a folder or file that can't be removed?
You could use File.DeleteOnReboot() for any files that are still in use. |
|
#3
|
|||
|
|||
|
It's not a file. It's just main installation folder. My project file has been attached to my previous send if it's gonna be help you.
|
|
#4
|
||||
|
||||
|
if the folder is "in use" (by explorer, your exe, etc) you can't delete it.
Add in your "post uninstall" section: Code:
if Folder.DoesExist( SessionVar.Expand("%Yukle%\\%ProductName%") ) then
File.DeleteOnReboot( SessionVar.Expand("%Yukle%\\%ProductName%") );
end
|
|
#5
|
|||
|
|||
|
Thank you so much. I'll try this
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -6. The time now is 07:58 PM.








Linear Mode
