Error message: ASN1 bad tag value met - Advanced Installer Community
rgates
Posts: 1
Joined: Fri Oct 30, 2015 4:24 pm

Error message: ASN1 bad tag value met

Problem: I receive the below error when I am creating my install package.

Code: Select all

Checking builds status... done.
Build required.

[ DefaultBuild ]
Building package (en): D:\output.exe 
Preparing files... The digital signing of the custom.dll file failed. Error Message:digisign.exe error. System error code: 2148086027. Error message: ASN1 bad tag value met.

digisign.exe sign /f D:\Certificate.p7b /pvk D:\Key.pvk /d description

Build finished because an error was encountered.
Steps to reproduce: I am able to create the install by Rebuild All with signing disabled under Digital Signature. When I enable signing using a file from disk and use a file from disk for the certificate and private key, I get the above error.

Environment: Windows Server 2008 R2 Standard, Advanced Installer 10.8

This issue is related to http://www.advancedinstaller.com/forums ... hp?t=22942

Please let me know if you need additional information.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Error message: ASN1 bad tag value met

Hello and welcome to Advanced Installer forums,

Have you tested this scenario using the latest version of Advanced Installer?

If your maintenance plan does not cover the latest version of Advanced Installer, then you can try AdvInst in trial mode. During the trial you have access to all the features, without any limits. The setup packages will just include message boxes during the installation, saying they were built with a trial version of Advanced Installer.

Please let us know if the behaviour still persist when the latest version of Advanced Installer is used.

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

Return to “Common Problems”