When the target machine has no internet connection My installer is showing the error message :\users\username\AppData\Roaming\MyCompany\MyProgram\install\disk1.cab has an invalid digital signature. Could you please advice a work around for this issue
Still I am not able to resolve this issue, I am not able to install certificate as i am getting this error before copying the .cer file by installer. So i cant use a script to install certificate.
Is there any method to disable digital signature checking in system without network?
In my previous builds I was not getting this error. Is there any particular reason like system upgrade or something to get this error now?
Is there any method to copy the cer file at the first step of install?
Or is it possible to install certificate using some custom action in the initial step. Could you please help to fix this issue
There is no way of skipping the digital signature check when your setup package is signed. Most likely this happens because the authority that issued your certificate file is not in the Windows predefined Trusted Authorities list which comes with the OS on the offline machines.
It is not possible to deploy your certificate on target machine within the same setup signed with the certificate file.
The only way to overcome this issue is to either make sure the certificate chain of your digital signature and countersignature is already installed on target machine before installation or to block the installation on machine without Internet connection. You can configure such a launch condition from "Launch Conditions" page -> "System" tab.