We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

neverhett
Posts: 6
Joined: Tue Mar 05, 2013 10:46 pm

problem with installer package, DLL required missing..

Hi all,

I have found success in using the trial version of Advanced Installer to build windows-based installers for our Java application. Recently, we purchased a Java license in order to release the installer to some customers for beta testing. Unfortunately, on one of our in-house computers running Windows 7 64bit, we receive the following error when attempting to run the installer

Upon research of this issue, it appears there are a multiple possible issues that could cause this, however the only variable in our situation is that we moved from the Trial version of Advanced Installer to the licensed Java version 10.1. I found this thread with a similar issue, but none of the replies allowed me to solve this issue from occurring on our machine.

We currently only receive this issue on the one aforementioned machine, and it is easily resolved by setting the compatibility mode of the installer to Windows XP (Service Pack 3), however we would like the installation process for our customers to be as easy as possible.

Any help with this issue much appreciated and I look forward to your responses.

Thanks.
neverhett
Posts: 6
Joined: Tue Mar 05, 2013 10:46 pm

Re: problem with installer package, DLL required missing..

Update: I attempted a solution I had not yet seen to resolve the issue, but still no luck. Under Digital Signature > Signature Properties > Timestamp URL, the installer was set to "http://timestamp.verisign.com/scripts/timstamp.dll" which returns "No data received" when I try to visit it in the browser, so I changed this option to the other option in the dropdown, "http://timestamp.comodoca.com/authenticode" which at least returns data.

Again I am still having the "required .DLL missing" issue and the only variable that I can think of in the installation settings is that we've switched from trial to a licensed java version of advanced installer.

Any thoughts?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: problem with installer package, DLL required missing..

Hi,

This error usually appears when a DLL custom action fails to execute correctly. It may not be created or configured correctly or may not have sufficient privileges to run.

Can you please give us more details about your scenario (maybe exemplify). Do you use any DLL custom action in your application?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
neverhett
Posts: 6
Joined: Tue Mar 05, 2013 10:46 pm

Re: problem with installer package, DLL required missing..

Hello,

Thank you for your response! Here are some updates in response to your reply:

We have been utilizing a custom action and accompanying search to detect if the target computer contains an installed version of our old software (installed on the target computer using our old installation process), and ask the user if they would like to automatically remove the old software before proceeding with the new installation. This action has traditionally worked for us and again we have not received this .DLL error until just recently (the custom action has been in for almost the entire duration of our trial). I made sure to check the boxes allowing the installation to continue if the custom actions fail.

As mentioned previously, the installer, built as we deem ideal, runs perfectly on most machines, and on others halts upon executing it with the aforementioned error, unable to proceed. In the latter case, running the installer as "Administrator" solves this issue, as well as changing the compatibility mode to Windows XP (Service Pack 3). As a test, I created two more identical installers, one of which provides the installer with Administrator access, the other of which had no custom actions whatsoever. The Administrator access installer performs as expected, successfully with a prompt upon double clicking asking for access. The custom action one performs as the original installer did, displaying the same error but working when run as Administrator or with XP compatibility. This leads me to believe the .DLL error we are getting is not related to custom actions, as they no longer exist in our installer in the previous case, but we continue to receive the error.

We have some clients who will most likely not have administrator access on the target computer, so we'd like to come up with another workaround for our installer, preferably with the custom action and accompanying search mentioned above. Please let me know if you'd like any additional information.

Thank you for your continued assistance.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: problem with installer package, DLL required missing..

Hi,

It seems that the error is encountered because of the elevation (it is displayed only when the custom action has not sufficient privileges to run). Can you please select the "When the system is being modified (deferred)" and "Run under the LocalSystem account with full privileges (no impersonation)" options for your custom action and see if the behavior persists?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”