alicent
Posts: 1
Joined: Fri Sep 13, 2024 7:38 am
Contact: Website

Error When Building Installer with Digital Signature

Hi,
I'm encountering an issue while trying to build an installer using Advanced Installer. I'm using the Professional version and have integrated a digital signature into the installer build process. However, every time I attempt to build the project, I get the following error:
`Error during digital signing. The system cannot find the file specified. Error code: 0x80070002`
I’m running this on Windows 11, and I’m using a .pfx certificate with a valid timestamp server URL. Has anyone faced a similar issue or know what might be causing this error?
Liviu
Posts: 1365
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Error When Building Installer with Digital Signature

Hello and welcome to our forums,

Can you please verify if an antivirus/anti-malware running in the background may be restricting access to the file?

Also, check if you have an application open which is listing the folder where the files to be included in the setup are located. If the file is being previewed, then this kind of error also may occur.

Can you please reboot the machine and then try to rebuild the project?

Make sure the output folder is not open during the build process. Just make sure that you have the Windows Explorer closed.

You can try adding the output folder to the Windows Defender exception and see if that helps. Here are the details to add an exclusion to Defender: https://support.microsoft.com/en-us/win ... 01afe13b26

Otherwise, can you please send us the .AIP (setup project) file by email to support at advancedinstaller dot com so we can further test and investigate this?

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”