PDA

View Full Version : Decompression error 200000002



MarkRiffey
04-14-2020, 05:43 PM
Friedrich,

What flavor of decompression error does this number convey? Based on other errors of this type in the forum, it seems like a file not found. That's odd considering that the installer is trying to install a file that's in the installer.

Could it also indicate that a folder that should have been created (but wasnt) is not available? Doesnt seem likely given that you'd expect an installer error when a \users\username\documents\foldername failed to be created.

Mark

linder
04-15-2020, 12:14 AM
Mark,

IIRC, I have never seen a decompression error 200000002. Do you have a screenshot for me (with the error code that might be displayed before Error 200000002)? I have to check the LSPACK source code to find out what kind of decompression error this is.

Friedrich

linder
04-15-2020, 08:33 AM
Mark,

okay, I have checked the source code.

The UNPACK library tries to create the output file using the CreateFile Windows API. This process returned INVALID_HANDLE_VALUE.

The UNPACK library returned the following to SetupBuilder:

return -200000000 - GetLastError();

Because you received Decompression Error -200000002, I can confirm that GetLastError was ERROR_FILE_NOT_FOUND
2 (0x2) The system cannot find the file specified.

The installer always tries to create the target folder (if it does not exist). Is your path "\users\username\documents\foldername" a fully qualified pathname?

Friedrich

MarkRiffey
04-15-2020, 10:48 AM
Mark,

IIRC, I have never seen a decompression error 200000002. Do you have a screenshot for me (with the error code that might be displayed before Error 200000002)? I have to check the LSPACK source code to find out what kind of decompression error this is.

Friedrich

I've now gotten 2 different messages from him. We've rebuilt the installer - WOMM<g>, and works on other customer machines.

Mark


4986

4987

linder
04-15-2020, 11:05 AM
Hi Mark,

assuming the Users folder is not "write protected":

It's very well possible that this is caused by a false-positive (bug <g>) on this specific machine. Something like... the protection software (real-time) monitors the installer and blocks the create file API. As a result, the API fails and returns an error.

Friedrich

smilingscarf
05-31-2020, 08:33 AM
I was having the same problem, but mine was "write protected". thank you for clearing this up.

MarkRiffey
06-08-2020, 02:50 PM
It turned out that this user's machine was really messed up. His IT guy had to reinstall windows. Turned out that he couldnt save files to a number of folders he should have had access to as an admin - even when run as admin was used. I see this more often than I would expect - where user profiles get torched, but still work. The odd thing about this one is that Windows had just been installed on this box a few days before.

Mark

linder
06-09-2020, 01:43 AM
Hi Mark,

thank you for the update!

Friedrich