Hi!
I'm writing an uninstaller.
The thing is that when I try modify anything - it doesn't work.
I can verify that a file exists, but not remove it..
For instance, I tried to remove a directory:
r:=DeleteDirectory(x,True);
if r then begin
r := RemoveDirUTF8(x);
end;
I get no errors, but the directory is still there.
I tried running the app with sudo and
'security execute-with-privileges /usr/bin/open '+Application.ExeName, from the app itself (relaunching it).
I have no luck calling things via fpsystem or tprocess either...
Is there some security thing that might prevent me from doing this? Ive tried accessing /Library/XX and /Application/XX
Thanks!