PDA

View Full Version : Decompression Error Question



NewsArchive
05-20-2008, 01:38 AM
Hi,

I created an updated install. To test I ran an install on the drive where
the install was created. (not downloaded from internet)

Got a decompression error on a dll.

Ran the install again and all was well.

So what could have caused this?

--
Lynn Howard
www.linkedsoftware.com

NewsArchive
05-20-2008, 01:39 AM
Lynn,

> I created an updated install. To test I ran an install on the drive where
> the install was created. (not downloaded from internet)
>
> Got a decompression error on a dll.
>
> Ran the install again and all was well.
>
> So what could have caused this?

Some "protection" software locked the DLL.

The latest build 2219 should handle such a situation with a reboot (if
"delayed file install" is disabled).

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

"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
05-20-2008, 01:40 AM
Thanks Friedrich,

I don't know what the "protection" software might have been. Maybe the
program I was installing was already running. Could that cause the error?

Lynn

NewsArchive
05-20-2008, 01:40 AM
Hi Lynn,

> Thanks Friedrich,
>
> I don't know what the "protection" software might have been. Maybe the
> program I was installing was already running. Could that cause the error?

No, definitely not. The installer pre-checks (before decompression) if it
can get exclusive access to the existing file. If a file is "in-use" then
this pre-check fails and the installer would ask for a reboot at the end of
the installation to replace it. What happened in your case is, the file was
not in use but a few milliseconds later the CreateFile() Windows API failed
(access denied) when it tried to overwrite an existing file. This can be
caused by a "temporary lock" (virus-scanner, etc.).

But beginning with Build 2219, the installer can handle such a scenario
without causing a decompression error (code comes from SetupBuilder 7).

Does this help?

Friedrich

NewsArchive
05-20-2008, 01:41 AM
Got it!

Thank you Friedrich.

Lynn