jstart
Posts: 18
Joined: Fri Apr 17, 2015 10:48 am

Windows installer crash

Advanced Installer v12.3.1.
Source code: .NET4, VS2010 SP1, compiled as x64.
Target: Windows 2012 R2 (no updates) and Exchange 2013 CU5.

I'm trying to see if I can get a repro with a simple installer package, rather than sending our complete product which will require Exchange 2013 CU5 and AD Schema Update prior to install.

Sometimes Windows Installer crashes when installing / uninstalling our product on Windows 2012r2, on both single server (Win2012r2 DC and Exchange 2013cu5) and ‘complex’ server environments.
The frequency of crashes varies from 1 in 2 up to the record today of 1 in 16 install / uninstall operations.
When it crashes, pressing OK on the crash dialog allows it to continue and it appears to successfully install or remove our product.
No exceptions are logged in our custom action logs.
Nothing ‘bad’ is logged in the full MSI logging.
An error is recorded in the Application log (Windows Logs, Event Viewer), but it doesn't contain anything useful....:
Faulting application name: MsiExec.exe, version: 5.0.9600.16384, time stamp: 0x52158c02
Faulting module name: ntdll.dll, version: 6.3.9600.16384, time stamp: 0x52159015
Exception code: 0xc0000005
Fault offset: 0x00025e7e
Faulting process id: 0x38c0
Faulting application start time: 0x01d149610c12d362
Faulting application path: C:\Windows\syswow64\MsiExec.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: 62ce1427-b554-11e5-80bb-00155d013572
Faulting package full name:
Faulting package-relative application ID:
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Windows installer crash

Hello James,

Thank you for the sent files. I was able indeed to replicate the Windows Installer error with your setup package. In order to further investigate this would you be able to send us the AIP (project file) to support at advancedinstaller dot com so we can also investigate its settings?

It will be very useful for us if you could isolate the behavior in a small buildable sample (AIP + its referenced files) and send it us so we can fully investigate on our side.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
TheBeardedDev
Posts: 3
Joined: Wed Sep 07, 2016 5:28 pm

Re: Windows installer crash

Is there any update on this?
We see this quite frequently with installs and uninstalls on server 2012.
This bug of yours is currently blocking our release from going out.
There are several threads about this issue and no statements of intent to fix.

When will this be fixed?!
jstart
Posts: 18
Joined: Fri Apr 17, 2015 10:48 am

Re: Windows installer crash

Hi TheBeardedDev - here is my private email conversation with AI, most recent at the top:

Hello James,

This seems to be an Advanced Installer issue related with our service failure operation support. We'll try to fix this in a future version of AI, but I'm afraid I cannot give you any ETA for the fix.

Thank you for your understanding.

All the best,
Daniel
---------------------------
Hi Daniel,

Any conclusion to this issue?

Thanks,

James.
-----Original Message-----
From: Daniel Radu [mailto:support@advancedinstaller.com]
Sent: 07 April 2016 08:56
To: James Start
Subject: Re: Windows installer crash

Hello James,

We'll keep you posted with the progress on this issue.

I don't think the issue is related with the .Net version, but as soon as we will have a conclusion we will get back to you.

All the best,
Daniel
---------------------------
Hi Daniel,

I've removed the service failure operation and done 20 install/uninstall cycles with NO crashes!!!!

This is going to be a bit of an issue - I removed a large chunk of 'horrid' code from one of our custom actions which called WMI (Windows Management Instrumentation) to set the service recovery option after we moved to using AI which supplied this feature.

Let me know how the investigation proceeds - does it have something to do with the version of .NET present?

Many thanks,

James.
-----Original Message-----
From: Daniel Radu [mailto:support@advancedinstaller.com]
Sent: 06 April 2016 17:11
To: James Start
Subject: Re: Windows installer crash

Hello James,

Thank you for the sent AIP file and for your feedback. Based on your AIP project I managed to replicate the issue in a sample project. However, I'm afraid I cannot say for sure why this odd Windows Installer crash occurs randomly. I only can make a supposition that the crash is somehow caused by our service failure operation support. So, as a workaround you can try to remove your configured service failure operation from "Services" page and see if this helps.

I've created a task in our bug tracking system so we can further investigate this and we'll get back to you as soon as we have a resolution.

Thank you for your understanding.

All the best,
Daniel
---------------------------
Hi Daniel,

Some further information for you regarding our product:
We ship two versions of our product, one for Exchange 2010 SP3 and one for Exchange 2013 CU5+.
They share virtually all the same source code.
However, we build each 'version' using different VS2010 SP1 solutions, so that they target different versions of .NET:
our product for Exchange 2010 SP3 targets .NET3.5, our product for Exchange 2013 CU5
targets .NET4.
We have two different AIP to target the different versions, but they should be kept in step.

We have not seen the crash on Windows 2008 R2 + Exchange 2010 SP3 (.NET3.5).
The crash as originally mentioned in the bug is seen on Windows 2012 R2 + Exchange 2013 CU5 (.NET4).
I'm not sure about Windows 2012.

Thanks,

James.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Windows installer crash

Hello,

I'm afraid that the issue related with our service failure operation support is still in a pending state on our bug tracking system. We will update this thread as soon as the fix will be out.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Windows installer crash

Hello,

This was fixed in version 13.6 of Advanced Installer released on February 15th, 2017.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”