PDA

View Full Version : Installer Behavior on Load Error



st09
12-10-2018, 10:01 AM
In the release notes for SetupBuilder 2018 Version 10 Build 6074, the following is listed:



CHANGE: Installer: When SetupBuilder failed to extract its temporary system files to the temp directory (either because of an anti-virus or permissions issues), it reported the error with a popup, but did not have a return code of non-zero to indicate an error. For automated installations there were no way to know that it encountered an error. It returns a non-zero exit code in this case now.


However, this does not appear to be the behavior. If the temp directory is not accessible, the following dialog appears, and the return code from the installer is zero.

4826

linder
12-10-2018, 03:30 PM
Hello,

is this with the /S command line switch? We are busy testing our new remote deploy feature and we need a completely silent installer, even if there is a "loader" error. In our tests (with the /S switch set) it never displayed a dialog.

I have opened a ticked and we'll try to simulate a locked temp directory scenario.

Friedrich

linder
12-10-2018, 03:43 PM
I have checked the source code and it seems to me that some error codes always "reset" to 0. Item in review! Thank you for bringing this to our attention.

Friedrich

linder
12-15-2018, 08:23 AM
Hello,

we have fixed it now. Am I allowed to send you a small demo setup.exe?

Thanks,
Friedrich

st09
12-20-2018, 08:30 AM
Hello Friedrich,

Thank you for addressing this. Yes, you may send me a demo executable. Do you have patches to the libraries as well?

Regards,
Seth

linder
12-21-2018, 09:54 AM
Seth,

too late <g>. The new build 6100 was already code-complete. Could you please test the stub behaviour? If it does not work as expected, I'll send you a new private build.

Friedrich

st09
12-21-2018, 01:10 PM
Friedrich,

Is there supposed to be an attachment? I see none.

Seth

linder
12-23-2018, 06:10 AM
Seth,

you should have received a build 6100 update notification (via e-mail and web update).

Friedrich

st09
12-28-2018, 09:39 AM
Friedrich,

The behavior in latest build (6106) looks good.

Thanks!
Seth