Persistent error messages - Advanced Installer Community

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!

Jebrew
Posts: 53
Joined: Thu Jan 18, 2007 8:53 pm

Persistent error messages

When attempting to setup a package for a 64-bit system, I need to call into a native 64-bit executable. It's not a dll, but rather just an exe that needs to be run. The problem is that when I setup a custom action that uses this binary, I get error messages about there being do disk in the drive followed by a large stack trace:

Exception - ACCESS_VIOLATION (0xc0000005) at address 0x12f22c7c3a32ab.
*** Stack Trace ***
[0x7c3a32ab] std::_Mutex::_Unlock()
[0x7c3aed1e] std::basic_string<unsigned short,std::char_traits<unsigned short>,std::allocator<unsigned short> >::compare()
[0x00638e9d]
[0x004f972e]
[0x004f74dd]
[0x00702e79]
[0x77d48734] GetDC()
[0x77d48816] GetDC()
[0x77d4b89b] GetParent()
[0x77d4b903] SetMessageW()
[0x0041d5fa]
[0x00702e79]
[0x77d48734] GetDC()
[0x77d48816] GetDC()
[0x77d4b89b] GetParent()
[0x77d4b903] SetMessageW()
[0x773eaff1] Ordinal414()
[0x77407392] Ordinal384()
[0x7740963e] Ordinal384()
[0x7740a4cb] Ordianl384()
[0x7740ab7f] Ordianl384()
[0x77d48734] GetDC()
[0x77d48816] GetDC()
[0x77d4c63f] IsWindowUnicode()
[0x77d4c665] CallWindowProcW()
[0x00471f86]
[0x77d48734] GetDC()
[0x77d48816] GetDC()
[0x77d489cd] GetWindowLongW()
[0x77d48a10] DispatchMessageW()

sometimes I hit ok and I can continue on as though nothing happened. It even lets me build the package and it works just fine. Though sometimes it crashes AI, and still other times it gets stuck in an infinite loop wherein any action performed in AI results in the popup of the stacktrace and the last command (open a menu, change an item, close the window...) is ignored. When I get stuck in the loop I have to kill the program via Task Manager.
Is there a workaround for this problem, and is there a fix coming for it soon? Our product is going to have a release of an update using AI and our build machine is frequently choking on this issue causing a big slow down in our QA testing. Please help.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Could you please give me more details about how we can reproduce this? Can this be reproduced only with that EXE? If so in order to investigate the problem please send the EXE and the AIP files (if not contain any confidential informations) or a small similar test case to support at advancedinstaller dot com.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Jebrew
Posts: 53
Joined: Thu Jan 18, 2007 8:53 pm

Sure thing gigi. I've got the .NET 2.0 installer for IA-64 setup as a custom action. Since the .NET detection for the prerequisites doesn't detect the correct version if it has been uninstalled, I've put it in as something that's installed later using the custom action.

The offending executable can be found: here

Also, if you need help fixing the problem with detecting the .NET version detection, you may want to have your programmers check out this article.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

In your previous post I see that you get a Stack Trace error. How exactly you get this error? How can we reproduce it (step by step)?

Also note that to install other package as custom action (you can use "New Attached Custom Action") you need to add it under "InstallExecuteSequence->InstallFinalize" with "Asynchronous execution, do not wait for return" as "Execution Properties".
Also, if you need help fixing the problem with detecting the .NET version detection, you may want to have your programmers check out this article.
In the next version of Advanced Installer scheduled for release at the beginning of the next week the Bootstrapper will offer support to add an EXE as detection for a prerequisite. Depending on the return of this EXE the prerequisite will be installed or not.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Jebrew
Posts: 53
Joined: Thu Jan 18, 2007 8:53 pm

Next week for the detection on the prerequisites? Excellent, just in time!

Step by step to get the stack trace is:
1. In custom actions, select "New Attached Custom Action"
2. For your custom action select the ia-64 .Net installer (actually, it seems to happen with most ia-64 native executables for me, though not all).
3. If you do not immediately get an error stating that there is no disk in the drive (though which drive is anyone's guess), then save/build, exit and re-open the .aip project.
4. De-select (if selected) and re-select the custom action. When the action is selected, you should get the message about there being no disk in the drive followed by (when you ignore the disk not present message) the stack trace.

There's another, larger stack trace that I can get, though at the moment I can't remember the steps, but it's resulting from the same basic problem and contains mostly the same information. The fail point seems to be the same, there's just a few more of the SetMessageW() GetParent() GetDC() series as well as a few other calls at the bottom of the trace.
If all else fails, I can whip up a demo install that should cause the problem for you. I'll let you download the ia-64 installer though since it's a good 60MB.

Thanks,
Jebrew
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

I cannot reproduce that error on my machine. Have you tried to reproduce that on other computer? Also please tell me what version of Advanced Installer you use?

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Jebrew
Posts: 53
Joined: Thu Jan 18, 2007 8:53 pm

Okay, well, it seems that with the ia64 stuff it happens consistently only on my machine. However, I've had a similar problem with the x86 .net installer on another machine. Both systems are running 4.7.2, my machine is a Win XP sp2 box and the other machine is a Win 2000 sp4 box. I've got screenshots of all the stack trace boxes I've seen so far and how I got them if you'd like.
Jebrew
Posts: 53
Joined: Thu Jan 18, 2007 8:53 pm

hrmm...okay, it seems to happen if I have a custom action that is in use somewhere in my dialogs, then change the location of the executable used in the custom action. Sorry if this is getting really convoluted.

Return to “Common Problems”