Error signing EXE package on Windows Server 2012 R2 - Advanced Installer Community
atomicdb
Posts: 3
Joined: Tue Jan 06, 2015 3:05 pm

Error signing EXE package on Windows Server 2012 R2

When I try to build an installer project that has signing enabled and whose package type is set to a single EXE setup on Windows Server 2012 R2, I get the following error:
[SEH_AV_READ_BADPTR] ACCESS_VIOLATION (Oxc0000005) at address [0x012e59dc]

Advanced Installer 11.8 build 62156
*** Stack Trace (x86) ***

[0x012e59dc] -----
[0x012e0000] MODULE_BASE_ADDRESS

Please see the attached image files ("AI build error.png" and "AI build error II.png") for more details about the error.

I am using Advanced Installer 11.8, as you can see, but I have tested it with version 11.7.1 and I get the same error. It is also important to note that I only get this error when trying to build the installer project on Windows Server 2012 R2; if I do build it on Windows 8.1, every thing goes well. Also, if you disable signing or change the package type to single MSI, the error DOES NOT take place.
Attachments
Screen snapshot of error details.
Screen snapshot of error details.
AI build error II.png (22.64 KiB) Viewed 6284 times
Screen snapshot when error takes place.
Screen snapshot when error takes place.
AI build error.png (22.61 KiB) Viewed 6284 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error signing EXE package on Windows Server 2012 R2

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

I've tested the build scenario, but I cannot replicate the issue. Can you replicate the issue in a new project? If so, can you try to iterate a detailed step by step test case which we can follow?

It would be very useful if you could isolate the error in a buildable sample (.aip + its referred files) and send it us to support at advancedinstaller dot com so we can test and investigate on our side.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
atomicdb
Posts: 3
Joined: Tue Jan 06, 2015 3:05 pm

Re: Error signing EXE package on Windows Server 2012 R2

Just to let you know that I have sent the requested information via e-mail.
Oh, I just noticed that I have used a different e-mail address (from the one configured in my forum account) to send the reply e-mail message. Please, let you know if you get it. Otherwise, I shall re-send it using the correct e-mail account.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error signing EXE package on Windows Server 2012 R2

Hello,

We received your mail and its attached resources. We have tested the scenario and indeed we can replicate the behavior only when using the test certificate you've sent us. This seems to be an Advanced Installer issue. I've opened a ticket in our bug tracking system to further investigate this issue and we'll try to add a fix in a future version of Advanced Installer. We'll notify you when a fix will be out.

It seems this happens only when using a certificate (imported in the Local Certificates store of the current user) for which the system cannot found its issuer. As a workaround, as you already found, you should also import under "Trusted Root Certification Authorities" store of the current user the certificate of the authority issuer of your certificate file. Also, as another solution, you can use our "Use file from disk" option from "Digital Signature" page and manually pick the certificate file you want to be used for signing.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
atomicdb
Posts: 3
Joined: Tue Jan 06, 2015 3:05 pm

Re: Error signing EXE package on Windows Server 2012 R2

Dear Daniel,

Thank you very much for your response.
jusher
Posts: 195
Joined: Thu Dec 22, 2011 12:00 pm

Re: Error signing EXE package on Windows Server 2012 R2

This saved me posting as I am experiencing a similar problem.

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

Re: Error signing EXE package on Windows Server 2012 R2

Hello,

We'll update this thread as soon as a fix will be out.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error signing EXE package on Windows Server 2012 R2

Hello,

An improvement has been added in version 12.1 of Advanced Installer released on May 19th, 2015.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”