Reply to Thread

Post a reply to the thread: 0002:0005 error during install

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 02-28-2019, 02:03 PM
    MarkRiffey

    Re: 0002:0005 error during install

    Quote Originally Posted by linder View Post
    I have added your compiler warning idea to the ToDo list. BTW, perhaps we can add an option to automatically code-sign the support file(s). Thank you for your suggestion.

    Friedrich

    That would be quite handy and might save everyone time and trouble. Thank you.

    Mark
  • 02-27-2019, 12:47 PM
    linder

    Re: 0002:0005 error during install

    Hi Mark,

    IMO, it does not resolve this specific "0002:0005" loader issue. Because something "blocked" the Windows API LoadLibrary action on this machine, the LSUNPACK decompression function was not available and the setup.exe did not continue with the "support file" processing. So your own (unsigned) DLLs could not trigger any false-positive action.

    But you are absolutely right. Unsigned "support file" DLLs are definitely candidates for a false-positive nightmare. I have added your compiler warning idea to the ToDo list. BTW, perhaps we can add an option to automatically code-sign the support file(s). Thank you for your suggestion.

    Friedrich
  • 02-27-2019, 09:20 AM
    MarkRiffey

    Re: 0002:0005 error during install


    Yep, I had already lived vicariously through others using those 3 posts
  • 02-27-2019, 09:19 AM
    MarkRiffey

    Re: 0002:0005 error during install

    Quote Originally Posted by linder View Post
    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
  • 02-27-2019, 09:19 AM
    MarkRiffey

    Re: 0002:0005 error during install

    Quote Originally Posted by linder View Post
    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>
  • 02-27-2019, 03:46 AM
    linder
  • 02-27-2019, 03:29 AM
    linder

    Re: 0002:0005 error during install

    Mark,

    what about Windows Defender? Is it enabled and active on this machine?

    Friedrich
  • 02-27-2019, 03:28 AM
    linder

    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
  • 02-26-2019, 10:41 AM
    MarkRiffey

    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
  • 02-26-2019, 10:40 AM
    MarkRiffey

    Re: 0002:0005 error during install

    Quote Originally Posted by linder View Post
    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
This thread has more than 10 replies. Click here to review the whole thread.

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •