0002:0005 error during install
Yep, I've seen the FAQ on this topic:)
My guess is that this failure (the load failure / access denied) is happening when the installer tries to dynamically load our Clarion DLL (which does some license checking). The results of this attempt do not change despite the user disabling their AV. We do have a fairly recently updated code signing cert, so that could be a tangent as well.
Even with Webroot and Windows Defender disabled, the 0002:0005 error persists.
What other escape routes out of this situation are there, outside of complete removal of the AV tools or delivering a ZIP? Obviously, neither are particularly desirable.
Thanks in advance,
Mark
Re: 0002:0005 error during install
Hi Mark,
do you have a screenshot available? And is there any error code after the "0002:0005" error?
Because the code signing cert is new (and does not have any reputation), I would suggest to build a reputation first. I can send you our "reputation builder" project file if you want.
IMO, the protection software "locks" the temporary folder actions in your case.
Friedrich
Re: 0002:0005 error during install
By the way, error "0002:" indicates that it comes from the STUB loader. The second part "0005" is GetLastError() ERROR_ACCESS_DENIED (Access is denied).
The STUB loader unpacked the decompression library LSUNPACK into the temporary Windows folder (this succeeded in your case). Otherwise, we would have seen a "0001:" error. After the unpacking process it used "LoadLibrary" to load the LSUNPACK library. This failed with ERROR_ACCESS_DENIDED. In other words, the protection software blocked the LoadLibrary Windows API action.
Friedrich
1 Attachment(s)
Re: 0002:0005 error during install
Quote:
Originally Posted by
linder
Hi Mark,
do you have a screenshot available? And is there any error code after the "0002:0005" error?
Because the code signing cert is new (and does not have any reputation), I would suggest to build a reputation first. I can send you our "reputation builder" project file if you want.
IMO, the protection software "locks" the temporary folder actions in your case.
Friedrich
Projection project - worth a try.
No additional error code.
Here's the screenshot:
Attachment 4870
Re: 0002:0005 error during install
BTW, even removing the AV software (webroot - a particularly aggressive tool from what I can see) - the install fails with the same error.
Mark
Re: 0002:0005 error during install
Yes, I see. Definitely the "Access denied" error I mentioned.
1. setup.exe starts
2. setup writes LSUNPACK decompression library into the temporary Windows folder (SUCCESS!)
3. setup uses the LoadLibrary Windows API to load the successfully created LSUNPACK library (FAILS!). This load process fails with ERROR_ACCESS_DENIDED in your case.
So "something" on this machine locks the component in the temporary Windows folder. It's a typical "false-postive".
Friedrich
Re: 0002:0005 error during install
Mark,
what about Windows Defender? Is it enabled and active on this machine?
Friedrich
Re: 0002:0005 error during install
Re: 0002:0005 error during install
Quote:
Originally Posted by
linder
Yes, I see. Definitely the "Access denied" error I mentioned.
1. setup.exe starts
2. setup writes LSUNPACK decompression library into the temporary Windows folder (SUCCESS!)
3. setup uses the LoadLibrary Windows API to load the successfully created LSUNPACK library (FAILS!). This load process fails with ERROR_ACCESS_DENIDED in your case.
So "something" on this machine locks the component in the temporary Windows folder. It's a typical "false-postive".
Friedrich
Dev was not signing these dlls prior to yesterday. That has been corrected. Will be interesting to see if that resolves it. Might be worth adding a warning to your compile-time process that unsigned dynamically loaded dlls could fail to load at runtime. Not that we would know<g>
Re: 0002:0005 error during install
Quote:
Originally Posted by
linder
Mark,
what about Windows Defender? Is it enabled and active on this machine?
Friedrich
Supposedly it was disabled as well, but I have my doubts on that:)