Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Files in use on uninstall


1 reply to this topic

bababyt

bababyt
  • Members
  • 3 posts

Posted 24 November 2004 - 14:18

Hi all,

I have the following problem:

When some of installed files are running and I try to uninstall the Files in use dialog shows up but is empty.

How to know what are the files which must be closed?
Or how to fill the list

I am using Standard Project in IS Pro 7.1

Thanks

Xitch13

Xitch13
  • Members
  • 134 posts

Posted 01 December 2004 - 18:51

Check your OnFileLocked() it should look like this
CODE

function OnFileLocked(szFile)
begin
return SdExceptions(LOCKED, szFile);
end;


if not, make it so. If it does look like that then your probably getting an empty string for the file that's locked. If that's the case I would set up a log file to check once I see that msg box. That should give you an idea of what file is being removed before this occurs.
There is great chaos under heaven, and the situation is excellent. (Mao Tse Tung)