Application ran into a problem that it couldn't handle - Advanced Installer Community
JRowland
Posts: 11
Joined: Mon Sep 12, 2016 3:18 pm

Application ran into a problem that it couldn't handle

Hi,

I noticed a recent thread about the same error message but the scenario sounded quite different so I thought a new thread would be better.

I have a fairly simple install of a vb.net application that mostly runs fine but I have had reports of this error occurring, "Application ran into a problem that it couldn't handle". Rerunning the install appears to make the problem go away. Do you have any ideas why this might be happening?

Regards,
Jonathan
[Running AI 13.1 although the actual build would have been on whatever was current on 15th Feb 2016]

Extra Note:

[SEH_AV_DEP_BADPTR] ACCESS_VIOLATION (0xc0000005) at address [0x0fffff7a]

Advanced Installer Enhanced UI 12.7.1 build 68466
*** Stack Trace (x86) ***

[0x0fffff7a] -----
[0x5d092e1f] MsiSetOfflineContextW()
[0x5cf5a9cc] MsiGetProductCodeW()
[0x5cfb7daa] MsiGetPropertyW()
[0x00255393] -----
[0x00268449] -----
[0x00278ea6] -----
[0x00278a54] -----
[0x002e26ac] -----
[0x055bf334] -----
[0x02b1aed8] -----
[0x02b1b070] -----
[0x02b1b0a0] -----
[0x3f800000] -----
[0x003b29d8] -----
[0x77ae3431] RtlQueryPerformanceCounter()
[0x7590eb3f] CoTaskMemAlloc()
[0x7590eb0d] CoTaskMemAlloc()
[0x759018e0] CoCreateGuid()
[0x002065fb] -----
[0x002873f5] -----
[0x00285bd2] -----
[0x0021b1ee] -----
[0x761d338a] BaseThreadInitThunk()
[0x001b0000] MODULE_BASE_ADDRESS
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Application ran into a problem that it couldn't handle

Hi Jonathan and welcome to Advanced Installer forums,

Unfortunately, we are not sure when this behavior reproduces. So far, it seems this happens only when our Enhanced User Interface feature is enabled, but it replicates very erratically and we could not isolate the behavior on our test machine. As a workaround you can try to disable the "Enhanced User Interface" in your project and see if the behavior still persist. Please keep in mind that when disabling the EUI you cannot use only the "Classic" theme as the other themes require EUI to be enabled.

Also, would be very useful for us if you can identify a pattern when this behavior replicates or if you can isolate it in a sample. By the way, does the behaviour still persists when using the latest (13.1) version of Advanced Installer? As I can see, the error message appears on the Advanced Installer Enhanced 12.7.1 version.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
JRowland
Posts: 11
Joined: Mon Sep 12, 2016 3:18 pm

Re: Application ran into a problem that it couldn't handle

Dan,

I have checked the project settings and we are using the Classic Theme (default) and the use EUI only on install radio button is ticked in settings. So it looks like we should be able to turn that off easily.

I have not detected a pattern yet, nor have I tried with the current version of AI as we have not had to release a version of the application since that update. Also as it is only intermittent it might take quite a few install before we really know?

Regards,
Jonathan
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Application ran into a problem that it couldn't handle

Hi Jonathan,

There are other controls that you can use on the Classic theme. These controls requires the Enhanced User Interface. Please make sure you are not using none of them (e.g. Check List Control). For details, please check the Enhanced User Interface article.
Also as it is only intermittent it might take quite a few install before we really know
The related error is thrown by our "Enhanced User Interface" feature, but we cannot add a fix for it as long as we cannot isolate the behavior on our test machines.

If there is anything else I can help you with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
JRowland
Posts: 11
Joined: Mon Sep 12, 2016 3:18 pm

Re: Application ran into a problem that it couldn't handle

Dan,

Sorry for the late reply, I have been away from the office for a while.

I looked at the article you referenced and do not use any of the enhanced controls. Might that be helpful for your debugging? as it would seem that whatever is in Classic (default) and related to having Enhanced UI enabled is a slight narrowing of the problem area. The dialogs included are WelcomeDlg, VerifyReadtDlg, ProgressDlg and ExitDlg.

Thanks,
Jonathan
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Application ran into a problem that it couldn't handle

Hello,

In case your project doesn't use and EUI functionality, then you can set the "Use Enhanced User Interface" option to "Never" and you should not encounter anymore the above error.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
JRowland
Posts: 11
Joined: Mon Sep 12, 2016 3:18 pm

Re: Application ran into a problem that it couldn't handle

OK, thanks.
Jonathan

Return to “Common Problems”