PDA

View Full Version : InUse Files issue



NewsArchive
07-02-2009, 01:33 AM
Hello,

Using latest build of SetupBuilder on our own WIN2003 Server.

It says Checking for Inuse Files. The CPU for the SetupBuilder installer
goes to 98% and stays there forever. Have to end the task.

Can't get past this screen.

Help.

-Robert

NewsArchive
07-02-2009, 01:33 AM
> Using latest build of SetupBuilder on our own WIN2003 Server.
>
> It says Checking for Inuse Files. The CPU for the SetupBuilder installer
> goes to 98% and stays there forever. Have to end the task.
>
> Can't get past this screen.
>
> Help.

So the latest SB7 build?

IIRC, nothing changed in this feature for 18+ months now. What happens if
you recompile the same script in the previous version?

Friedrich

NewsArchive
07-02-2009, 01:33 AM
Hello,

I found what it is. If the installer user does not have access to all of
the objects it is checking for in-use, it goes to 98% CPU and freezes
forever.

I was signed on as administrator but the administrator did not have access
to the files (ie: HR/Payroll) ... so it was an executive account which
needed to be logged in.

So, I think there's a SB bug with access on those objects.

-Robert

NewsArchive
07-02-2009, 01:35 AM
> I found what it is. If the installer user does not have access to all
> of the objects it is checking for in-use, it goes to 98% CPU and freezes
> forever.
>
> I was signed on as administrator but the administrator did not have access
> to the files (ie: HR/Payroll) ... so it was an executive account which
> needed to be logged in.
>
> So, I think there's a SB bug with access on those objects.

If it "hangs", then a Windows API call does not return. I don't think that
there is anything we can do here.

The installer uses the CreateFile() Windows API to handle in-use file
checking. In your case, the CreateFile() does not return (and the program
seems to "hang").

For example, if you are doing this in your Clarion application:

CODE
x# = CreateFile(yada)
MESSAGE('I am back...')

If the CreateFile() API does not return, you can't do anything to fix it.
No way to set some kind of "timeout".

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
07-02-2009, 01:36 AM
Hi,

Interesting it kept the CPU at 98% - Okdoke.

-Robert