He gets the following error when he tries to install:
Product: MyProgram -- Error 1330: Cabinet file c:\users\username\AppData\Roaming\MyCompany\MyProgram\install\disk1.cab has an invalid digital signature. Error 266 was returned by WinVerifyTrust.
My user's helpdesk had this to say:
"During the install the cab file gets extracted from the original executable installer file. This particular file (the .cab) does not have a valid certificate. (But the original executable installer file does)"
I'm running Advanced Installer 11.8.
I have the "Enable signing" option checked on the digital signature tab of Advanced Installer 11.8. I'm using a certificate from disk (a pfx file that is valid until 2018).
I did not check use SHA256 as digest algorithm.
At the bottom of the Digital Signature tab I have the following information showing which files will be signed:
Code: Select all
Files configured for signing
Output files of default build:
Files from project
There is no mention of disk1.cab getting signed.
The Installer's .exe appears to be correctly signed.
Does anyone know why disk1.cab is not being signed properly (or why it fails the digital signature test when the Windows Installer tries to extract the cab from the installer executable)?